MCPcopy Create free account

hub / github.com/Lightning-AI/LitServe / functions

Functions984 in github.com/Lightning-AI/LitServe

Methodpredict
(self, batch)
tests/unit/test_openai_embedding.py:158
Methodpredict
(self, inputs)
tests/perf_test/bert/server.py:32
Methodpredict
(self, x)
tests/perf_test/stream/stream_speed/server.py:11
Methodpredict
(self, inputs)
tests/e2e/openai_embedding_with_batching.py:13
Methodpredict
(self, x)
tests/e2e/default_async_streaming.py:24
Methodpredict
(self, x)
tests/e2e/default_single_streaming.py:11
Methodprocess
(self, key, value)
tests/unit/test_litapi.py:257
Methodprocess
(self, key, value)
tests/unit/test_logger.py:27
Methodprocess
(self, key, value)
tests/unit/test_logger.py:99
Methodprocess
(self, key, value)
tests/unit/test_logger.py:154
Methodprocess_image
(image_data)
tests/parity_fastapi/ls-server.py:37
Methodprocess_requests
()
src/litserve/loops/streaming_loops.py:217
Methodprocess_requests
()
src/litserve/loops/simple_loops.py:224
Methodput
(self, item)
tests/conftest.py:377
Functionpytest_collection_modifyitems
Auto-mark tests based on their file path.
tests/conftest.py:29
Methodqueues
(self, manager)
tests/unit/test_transport.py:20
Methodrcv
()
src/litserve/middlewares.py:44
Methodreceive_task
()
tests/unit/test_transport.py:184
Methodrun
(self, lit_server: "LitServer")
src/litserve/loggers.py:143
Methodrun
Main loop that processes batches of requests.
src/litserve/loops/continuous_batching_loop.py:215
Functionrun_python_script
(filename)
tests/parity_fastapi/main.py:27
Methodschedule_task
( self, lit_api: LitAPI, lit_spec: Optional[LitSpec], request_queue: Queue,
src/litserve/loops/continuous_batching_loop.py:184
Methodsend
(self, item: Any, consumer_id: int)
src/litserve/transport/zmq_transport.py:25
Methodsend
(self, item: Any, consumer_id: int)
src/litserve/transport/process_transport.py:14
Methodsend
(self, item, consumer_id, block=True, timeout=None)
tests/unit/test_loops.py:124
Methodsend
(self, item, consumer_id=0, block=False, timeout=None)
tests/unit/test_loops.py:314
Functionsend_request
Function to send a single request and measure the response time.
tests/parity_fastapi/benchmark.py:42
Functionsend_request
Function to send a single request and measure the response time.
tests/perf_test/bert/utils.py:44
Methodserialize_image
Serialize a PIL Image into a base64 string. Args: image (Any): The image object to serialize. _info: Metadata
src/litserve/schema/image.py:48
Functionserver_for_api_worker_test
(simple_litapi)
tests/unit/test_lit_server.py:251
Methodsession_manager
(self)
src/litserve/mcp.py:423
Methodset_logger_queue
(self, queue: Queue)
src/litserve/server.py:268
Methodsetup
(self, device)
src/litserve/test_examples/openai_embedding_spec_example.py:7
Methodsetup
(self, device)
src/litserve/test_examples/openai_spec_example.py:21
Methodsetup
(self, device)
src/litserve/test_examples/simple_example.py:5
Methodsetup
(self, device)
src/litserve/test_examples/simple_example.py:39
Methodsetup
(self, device)
src/litserve/test_examples/simple_example.py:90
Methodsetup
(self, server: "LitServer")
src/litserve/specs/openai_embedding.py:169
Methodsetup
(self, server: "LitServer")
src/litserve/specs/openai.py:424
Methodsetup
(self, device)
tests/conftest.py:44
Methodsetup
(self, device)
tests/conftest.py:58
Methodsetup
(self, device)
tests/conftest.py:76
Methodsetup
(self, device)
tests/simple_server.py:21
Methodsetup
(self, device)
tests/simple_server_diff_port.py:19
Methodsetup
(self, device)
tests/integration/test_async.py:23
Methodsetup
(self, device)
tests/parity_fastapi/ls-server.py:26
Methodsetup
(self, device)
tests/unit/test_loops.py:242
Methodsetup
(self, device)
tests/unit/test_litapi.py:28
Methodsetup
(self, device)
tests/unit/test_litapi.py:50
Methodsetup
(self, device)
tests/unit/test_litapi.py:294
Methodsetup
(self, device)
tests/unit/test_simple.py:33
Methodsetup
(self, device)
tests/unit/test_simple.py:53
Methodsetup
(self, device)
tests/unit/test_simple.py:59
Methodsetup
(self, device)
tests/unit/test_simple.py:249
Methodsetup
(self, device)
tests/unit/test_lit_server.py:148
Methodsetup
(self, device)
tests/unit/test_lit_server.py:563
Methodsetup
(self, device)
tests/unit/test_lit_server.py:584
Methodsetup
(self, device)
tests/unit/test_lit_server.py:663
Methodsetup
(self, device)
tests/unit/test_lit_server.py:739
Methodsetup
(self, device)
tests/unit/test_lit_server.py:801
Methodsetup
(self, device)
tests/unit/test_failed_workers.py:12
Methodsetup
(self, device)
tests/unit/test_form.py:23
Methodsetup
(self, device)
tests/unit/test_form.py:75
Methodsetup
(self, device)
tests/unit/test_compression.py:26
Methodsetup
(self, device)
tests/unit/test_auth.py:25
Methodsetup
(self, device)
tests/unit/test_torch.py:36
Methodsetup
(self, device)
tests/unit/test_specs.py:36
Methodsetup
(self, device)
tests/unit/test_specs.py:121
Methodsetup
(self, device)
tests/unit/test_specs.py:261
Methodsetup
(self, device)
tests/unit/test_specs.py:332
Methodsetup
(self, device)
tests/unit/test_specs.py:357
Methodsetup
(self, device)
tests/unit/test_specs.py:383
Methodsetup
(self, device)
tests/unit/test_specs.py:405
Methodsetup
(self, device)
tests/unit/test_specs.py:447
Methodsetup
(self, device)
tests/unit/test_specs.py:458
Methodsetup
(self, device)
tests/unit/test_multiple_endpoints.py:14
Methodsetup
(self, device)
tests/unit/test_batch.py:50
Methodsetup
(self, device)
tests/unit/test_pydantic.py:30
Methodsetup
(self, device)
tests/perf_test/bert/server.py:18
Methodsetup
(self, device)
tests/perf_test/stream/stream_speed/server.py:5
Methodsetup
(self, device)
tests/e2e/openai_embedding_with_batching.py:7
Methodsetup
(self, device)
tests/e2e/default_async_streaming.py:18
Methodsetup
(self, device)
tests/e2e/default_single_streaming.py:5
Functionshutdown_api_key
()
tests/unit/test_simple.py:204
Methodshutdown_api_key_auth
(self, shutdown_api_key: str = Depends(oauth2_scheme))
src/litserve/server.py:1501
Methodshutdown_endpoint
()
src/litserve/server.py:1019
Functionside_effect
(name, *args, **kwargs)
tests/unit/test_cli.py:135
Functionsimple_batched_stream_api
()
tests/conftest.py:124
Functionsimple_litapi
()
tests/conftest.py:104
Functionsimple_stream_api
()
tests/conftest.py:119
Functionsimple_stream_cls
()
tests/conftest.py:114
Methodspec
(self)
src/litserve/api.py:432
Methodstep
Process one token generation step for all active sequences.
src/litserve/loops/continuous_batching_loop.py:294
Methodstep
(self, prev_outputs: Optional[list[Output]])
tests/unit/test_loops.py:894
Methodstream
(self)
src/litserve/api.py:355
Methodstream
(self)
src/litserve/specs/base.py:41
Methodstream
(self)
src/litserve/specs/openai.py:366
Functionsync_func
()
tests/unit/test_loops.py:983
Functionsync_gen
()
tests/unit/test_loops.py:1010
Functionsync_testclient
(lit_server)
tests/conftest.py:136
← previousnext →601–700 of 984, ranked by callers