MCPcopy Create free account

hub / github.com/LMCache/LMCache / functions

Functions13,371 in github.com/LMCache/LMCache

Functionvalkey_config
Config for ValkeyConnector testing.
tests/v1/storage_backend/test_valkey_connector.py:165
Functionvalkey_url
URL for testing.
tests/v1/storage_backend/test_valkey_connector.py:159
Functionwait_at_barrier
()
tests/v1/multiprocess/test_affinity_pool.py:73
Methodwait_event
Make this stream wait until *event* completes. Args: event: The event this stream should wait for.
lmcache/v1/platform/cpu/stub_cpu_device.py:151
Methodwait_for_layer_load
Block until the KV for a specific layer is loaded into vLLM's paged buffer. This is called from within attention layer to ensure
lmcache/integration/vllm/lmcache_mp_connector.py:741
Methodwait_for_layer_load
Block until the KV for a specific layer is loaded into vLLM's paged buffer. This is called from within attention layer to ensure
lmcache/integration/vllm/lmcache_mp_connector_0201.py:609
Methodwait_for_layer_load
Block until the KV for a specific layer is loaded into vLLM's paged buffer. This is called from within attention layer to ensure
lmcache/integration/vllm/lmcache_mp_connector_0180.py:580
Methodwait_for_layer_load
Block until the KV for a specific layer is loaded into vLLM's paged buffer. This is called from within attention layer to ensure
lmcache/integration/vllm/lmcache_connector_v1_085.py:48
Methodwait_for_layer_load
Block until the KV for a specific layer is loaded into vLLM's paged buffer. This is called from within attention layer to ensure
lmcache/integration/vllm/lmcache_connector_v1.py:72
Methodwait_for_layer_load
Blocking until the KV for a specific layer is loaded into vLLM's paged buffer. This interface will be useful for layer-by-layer pipel
lmcache/integration/vllm/vllm_v1_adapter.py:969
Methodwait_for_layer_load
No-op — server synchronizes via CUDA IPC events.
lmcache/integration/tensorrt_llm/tensorrt_mp_adapter.py:433
Methodwait_for_layer_load
No-op — cross-layer loads complete in :meth:`start_load_kv`.
lmcache/integration/tensorrt_llm/tensorrt_adapter.py:328
Methodwait_for_save
Block until all the save operations is done. This is called as the forward context exits to ensure that the async saving from
lmcache/integration/vllm/lmcache_mp_connector.py:775
Methodwait_for_save
Block until all the save operations is done. This is called as the forward context exits to ensure that the async saving from
lmcache/integration/vllm/lmcache_mp_connector_0201.py:643
Methodwait_for_save
Block until all the save operations is done. This is called as the forward context exits to ensure that the async saving from
lmcache/integration/vllm/lmcache_mp_connector_0180.py:614
Methodwait_for_save
Block until all the save operations is done. This is called as the forward context exits to ensure that the async saving from
lmcache/integration/vllm/lmcache_connector_v1_085.py:84
Methodwait_for_save
Block until all the save operations is done. This is called as the forward context exits to ensure that the async saving from
lmcache/integration/vllm/lmcache_connector_v1.py:108
Methodwait_for_save
Send ``STORE`` requests for each pending save.
lmcache/integration/tensorrt_llm/tensorrt_mp_adapter.py:441
Methodwait_for_save
Store newly computed KV blocks from GPU to LMCache's CPU cache. Waits on the forward-pass stream, runs ``engine.store`` for each requ
lmcache/integration/tensorrt_llm/tensorrt_adapter.py:336
Methodwait_for_tasks
()
benchmarks/multi_round_qa/utils.py:64
Methodwait_for_tasks
()
benchmarks/rag/utils.py:72
Methodwait_prefetch_status
Block until the prefetch task for ``handle`` has a result, or timeout. L1-only prefetches (``prefetch_request_id == -1``) have no L2
lmcache/v1/distributed/storage_manager.py:610
Methodwait_stream
(self, _stream: object)
tests/v1/test_musa_connector.py:105
Functionwalk
(query: list[int], chunk_size: int)
tests/v1/multiprocess/test_optimized_lookup_v3.py:169
Methodwarmup
(self)
tests/cli/commands/bench/engine_bench/workloads/test_base_workload.py:136
Methodwarmup
Send one warmup request per session with ``max_tokens=1``.
lmcache/cli/commands/bench/engine_bench/workloads/multi_round_chat.py:242
Methodwarmup
Send each document once with ``max_tokens=1`` to populate KV cache.
lmcache/cli/commands/bench/engine_bench/workloads/long_doc_qa.py:214
Methodwarmup
Run pass 1: send each prefix once sequentially to populate cache. Before pass 1 starts, sends a single short throwaway request to amo
lmcache/cli/commands/bench/engine_bench/workloads/prefix_suffix_tuner.py:542
Methodwarmup
No warmup for random-prefill.
lmcache/cli/commands/bench/engine_bench/workloads/random_prefill.py:115
Methodwarmup
Send a single dummy warmup request to prime the engine.
lmcache/cli/commands/bench/engine_bench/workloads/long_doc_permutator.py:333
Functionworker
()
tests/v1/storage_backend/test_pd_backend_async.py:304
Methodworker
()
tests/cli/commands/trace/test_stats.py:117
Methodworker
(thread_id: int)
tests/cli/commands/bench/engine_bench/test_progress.py:184
Methodworker
(thread_id: int)
tests/v1/test_address_manager.py:904
Methodworker
(thread_idx)
tests/v1/test_device_id_race.py:112
Methodworker
()
tests/v1/cache_controller/test_locks.py:337
Methodworker
()
tests/v1/native_storage_ops/test_pattern_matcher.py:350
Methodworker
()
tests/v1/native_storage_ops/test_ttl_lock.py:373
Methodworker
()
tests/v1/distributed/test_l1_memory_manager.py:512
Methodworker
(idx: int)
tests/v1/distributed/test_l2_adapter_base.py:260
Methodworker
(thread_id)
tests/v1/distributed/test_l1_manager.py:1638
Methodworker
(tid: int)
tests/v1/multiprocess/test_session.py:167
Methodworker
Heartbeat background thread worker function
lmcache/lmcache_frontend/heartbeat.py:161
Methodworker
(thread_id: int, latencies: list[float], stop: threading.Event)
benchmarks/microbenchmark/ttl_lock_benchmark.py:186
Functionworker_binary
()
tests/v1/shm_allocator/test_shm_allocator.py:140
Methodworker_client
Create a test client with mocked worker manager.
tests/v1/internal_api_server/test_lookup_api.py:69
Methodworker_id
Get the kv worker id.
lmcache/integration/vllm/vllm_multi_process_adapter.py:1218
Methodworker_id
(self)
lmcache/v1/cache_controller/full_sync_sender.py:109
Methodworker_socket
(self, zmq_context, controller_urls)
tests/v1/internal_api_server/test_worker_info_api.py:64
Methodworker_store
(worker_id: int)
tests/v1/distributed/test_object_key_parallel.py:696
Methodworld_size
Get the kv world size.
lmcache/integration/vllm/vllm_multi_process_adapter.py:669
Methodworld_size
Get the kv world size.
lmcache/integration/vllm/vllm_multi_process_adapter.py:1213
Methodworld_size
Return the number of server ranks.
lmcache/v1/rpc/transport.py:56
Methodworld_size
(self)
lmcache/v1/rpc/zmq_transport.py:140
Functionwrapped_exists_many
( lookup_keys, lock=False, *,
tests/v1/distributed/test_dax_l2_adapter.py:396
Functionwrapper
(*args, **kwargs)
lmcache/utils.py:697
Functionwrapper
(self, *args, **kwargs)
lmcache/v1/memory_management.py:41
Functionwrapper
(self: "L1Manager", *args, **kwargs)
lmcache/v1/distributed/l1_manager.py:78
Functionwrapper
(*args: Any, **kwargs: Any)
lmcache/v1/storage_backend/hipfile_shim.py:37
Functionwrapper
(*args: Any, **kwargs: Any)
lmcache/v1/mp_observability/trace/decorator.py:133
Methodwrapper
(self, *args, **kwargs)
lmcache/v1/storage_backend/connector/audit_connector.py:87
Methodwrite
(self, fd: int, buffer: memoryview, length: int, start: int = 0)
lmcache/v1/storage_backend/connector/hf3fs_connector.py:521
Methodwriter
(thread_id: int)
tests/cli/commands/bench/engine_bench/test_stats.py:237
Methodwriter
()
tests/cli/commands/bench/engine_bench/test_stats.py:394
Methodwriter
()
tests/v1/native_storage_ops/test_ttl_lock.py:317
Methodwriter
(worker_id: int)
tests/v1/distributed/test_quota_manager.py:98
Methodwriter
()
tests/v1/multiprocess/test_session.py:206
Functionxops
()
tests/benchmarks/test_xpu_kernels_microbench.py:32
Methodzmq_benchmark
Create benchmark instance
tests/tools/test_controller_zmq_benchmark.py:230
Functionzmq_context
Fixture that provides a ZMQ context for the test module.
tests/v1/multiprocess/test_cache_server.py:283
Methodzmq_context
(self)
tests/v1/internal_api_server/test_worker_info_api.py:31
← previous13,301–13,371 of 13,371, ranked by callers