MCPcopy Create free account

hub / github.com/LMCache/LMCache / functions

Functions13,371 in github.com/LMCache/LMCache

Functionmock_zmq_context
Create a mock ZMQ context.
tests/v1/cache_controller/conftest.py:436
Functionmock_zmq_socket
Create a mock ZMQ socket.
tests/v1/cache_controller/conftest.py:423
Functionmonitor
(mock_manager)
tests/v1/test_health_monitor.py:94
Functionmove
(req: MoveRequest)
lmcache/v1/api_server/__main__.py:325
Methodmove
Move kv chunks of instance-worker(s).
lmcache/v1/cache_controller/controllers/kv_controller.py:135
Functionmulti_layer_block_kv_transfer
Python fallback implementation of block-based multi-layer KV transfer. Signature intentionally mirrors the C++ binding so callers can invoke
lmcache/python_ops_fallback.py:1097
Functionmulti_layer_block_kv_transfer
MUSA block-based multi-layer KV transfer. This function intentionally mirrors ``lmcache.c_ops`` and ``python_ops_fallback`` so upper layers c
lmcache/v1/platform/musa/ops.py:28
Functionmulti_layer_kv_transfer_unilateral
Python fallback for multi_layer_kv_transfer_unilateral Handles SGLang MHA format where K and V paged buffers are stored separately:
lmcache/python_ops_fallback.py:679
Functionmulti_tensor_layout
Create a MemoryLayoutDesc with multiple tensor shapes.
tests/v1/distributed/test_l1_memory_manager.py:106
Methodmy_func
()
tests/v1/mp_observability/test_register_gauge.py:68
Methodname
(self)
tests/v1/test_health_monitor.py:54
Methodname
(self)
tests/v1/test_health_monitor.py:68
Methodname
(self)
tests/v1/test_health_monitor.py:320
Methodname
Return the subcommand name. Returns: The string ``"mock"``.
lmcache/cli/commands/mock.py:19
Methodname
Return the subcommand name. Returns: The string ``"kvcache"``.
lmcache/cli/commands/kvcache.py:70
Methodname
Return the subcommand name. Returns: The string ``"server"``.
lmcache/cli/commands/server.py:17
Methodname
Return the subcommand name. Returns: The string ``"coordinator"``.
lmcache/cli/commands/coordinator.py:22
Methodname
(self)
lmcache/cli/commands/describe.py:309
Methodname
(self)
lmcache/cli/commands/ping.py:78
Methodname
(self)
lmcache/cli/commands/quota/__init__.py:16
Methodname
(self)
lmcache/cli/commands/quota/set_command.py:19
Methodname
(self)
lmcache/cli/commands/quota/list_command.py:15
Methodname
(self)
lmcache/cli/commands/quota/delete_command.py:19
Methodname
(self)
lmcache/cli/commands/quota/get_command.py:19
Methodname
(self)
lmcache/cli/commands/query/__init__.py:16
Methodname
(self)
lmcache/cli/commands/query/kvcache_command.py:14
Methodname
(self)
lmcache/cli/commands/query/engine_command.py:17
Methodname
(self)
lmcache/cli/commands/trace/__init__.py:20
Methodname
(self)
lmcache/cli/commands/trace/info_command.py:18
Methodname
(self)
lmcache/cli/commands/trace/replay_command.py:30
Methodname
(self)
lmcache/cli/commands/bench/__init__.py:17
Methodname
(self)
lmcache/cli/commands/bench/l2_adapter_bench/__init__.py:18
Methodname
(self)
lmcache/cli/commands/bench/server_bench/__init__.py:18
Methodname
(self)
lmcache/cli/commands/tool/__init__.py:16
Methodname
(self)
lmcache/cli/commands/tool/cache_simulator/__init__.py:17
Methodname
Get the thread name.
lmcache/v1/periodic_thread.py:144
Functionnixl_tmp_path
Per-test scratch dir, honoring ``LMCACHE_TEST_TMPDIR``.
tests/v1/test_nixl_storage.py:72
Functionno_engine_client
Client with no engine on ``app.state`` — exercises the 503 path.
tests/v1/multiprocess/test_http_quota_endpoints.py:49
Methodnodes
Return the underlying list (mutated in place).
lmcache/lmcache_frontend/app.py:56
Functionnon_lazy_config
Create a config that does not use lazy allocation.
tests/v1/distributed/test_l1_memory_manager.py:86
Methodnoop
()
lmcache/integration/vllm/vllm_multi_process_adapter.py:438
Functionnoop_handler
Dummy handler for NOOP requests. Takes no arguments and returns a simple string response.
tests/v1/multiprocess/test_mq_handler_helpers.py:24
Methodnotify
Signal the notifier (idempotent if already signaled).
lmcache/v1/platform/event_notifier.py:61
Methodnotify
(self)
lmcache/v1/platform/event_notifier.py:118
Methodnotify_fileno
Return the fd to write to for signaling. For eventfd this is the same as ``fileno()``. For pipes this is the *write* end (``fileno()
lmcache/v1/platform/event_notifier.py:73
Methodnotify_fileno
(self)
lmcache/v1/platform/event_notifier.py:121
Methodnotify_fileno
(self)
lmcache/v1/platform/event_notifier.py:199
Methodnum_blocks
(self)
lmcache/v1/gpu_connector/kv_format/specs/nb_nl_two_bs_nh_hs.py:29
Methodnum_blocks
(self)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_nb_two_bs_nh_hs.py:29
Methodnum_blocks
(self)
lmcache/v1/gpu_connector/kv_format/specs/two_x_nl_x_nb_bs_nh_hs.py:29
Methodnum_blocks
(self)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_nb_nh_bs_two_hs.py:32
Methodnum_blocks
(self)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_nbbs_one_hs.py:30
Methodnum_blocks
(self)
lmcache/v1/gpu_connector/kv_format/specs/nb_nl_two_nh_bs_hs.py:31
Methodnum_blocks
(self)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_two_nb_nh_bs_hs.py:30
Methodnum_blocks
(self)
lmcache/v1/gpu_connector/kv_format/specs/two_x_nl_x_nbbs_nh_hs.py:29
Methodnum_blocks
(self)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_two_nb_bs_nh_hs.py:29
Methodnum_blocks
(self)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_nb_two_nh_bs_hs.py:31
Methodnum_blocks
(self)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_nb_bs_hs.py:29
Methodnum_blocks_per_chunk
Returns: The number of vllm blocks in a LMCache data chunk
lmcache/integration/vllm/vllm_multi_process_adapter.py:894
Methodnum_groups
Number of :class:`KernelGroupInfo` entries. Zero if ``kv_caches`` had no layers at construction time.
lmcache/v1/kv_layer_groups.py:442
Methodnum_heads
(self, layer_idx: int = 0)
lmcache/v1/gpu_connector/kv_format/specs/nb_nl_two_bs_nh_hs.py:38
Methodnum_heads
(self, layer_idx: int = 0)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_nb_two_bs_nh_hs.py:38
Methodnum_heads
(self, layer_idx: int = 0)
lmcache/v1/gpu_connector/kv_format/specs/two_x_nl_x_nb_bs_nh_hs.py:38
Methodnum_heads
(self, layer_idx: int = 0)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_nb_nh_bs_two_hs.py:41
Methodnum_heads
(self, layer_idx: int = 0)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_nbbs_one_hs.py:43
Methodnum_heads
(self, layer_idx: int = 0)
lmcache/v1/gpu_connector/kv_format/specs/nb_nl_two_nh_bs_hs.py:40
Methodnum_heads
(self, layer_idx: int = 0)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_two_nb_nh_bs_hs.py:39
Methodnum_heads
(self, layer_idx: int = 0)
lmcache/v1/gpu_connector/kv_format/specs/two_x_nl_x_nbbs_nh_hs.py:42
Methodnum_heads
(self, layer_idx: int = 0)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_two_nb_bs_nh_hs.py:38
Methodnum_heads
(self, layer_idx: int = 0)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_nb_two_nh_bs_hs.py:40
Methodnum_heads
(self, layer_idx: int = 0)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_nb_bs_hs.py:38
Methodnum_kernel_groups
Number of :class:`KernelGroupInfo` entries. Zero if ``kv_caches`` had no layers at construction time.
lmcache/v1/kv_layer_groups.py:423
Methodnum_layers
Number of layers in this group.
lmcache/v1/kv_layer_groups.py:209
Methodnum_layers
(self)
lmcache/v1/gpu_connector/kv_format/specs/nb_nl_two_bs_nh_hs.py:26
Methodnum_layers
(self)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_nb_two_bs_nh_hs.py:26
Methodnum_layers
(self)
lmcache/v1/gpu_connector/kv_format/specs/two_x_nl_x_nb_bs_nh_hs.py:26
Methodnum_layers
(self)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_nb_nh_bs_two_hs.py:29
Methodnum_layers
(self)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_nbbs_one_hs.py:27
Methodnum_layers
(self)
lmcache/v1/gpu_connector/kv_format/specs/nb_nl_two_nh_bs_hs.py:28
Methodnum_layers
(self)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_two_nb_nh_bs_hs.py:27
Methodnum_layers
(self)
lmcache/v1/gpu_connector/kv_format/specs/two_x_nl_x_nbbs_nh_hs.py:26
Methodnum_layers
(self)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_two_nb_bs_nh_hs.py:26
Methodnum_layers
(self)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_nb_two_nh_bs_hs.py:28
Methodnum_layers
(self)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_nb_bs_hs.py:26
Methodnum_layers
Returns the number of layers in the model.
lmcache/v1/platform/base_cache_context.py:165
Methodnum_layers
(self)
lmcache/v1/platform/cuda/cache_context.py:618
Methodnum_object_groups
Number of :class:`ObjectGroupInfo` entries.
lmcache/v1/kv_layer_groups.py:436
Methodnum_tokens
(self)
lmcache/v1/platform/cuda/cache_context.py:622
Methodobject_groups
List of :class:`ObjectGroupInfo`, one per object group.
lmcache/v1/kv_layer_groups.py:431
Methodoffload
Perform offload for the given hashes and block IDs. Args: hashes: The hashes to offload. slot_mapping: The s
lmcache/v1/offload_server/abstract_server.py:15
Methodoffload_server
Get the offload server instance.
lmcache/v1/manager.py:138
Methodon_body
(chunk, offset, **kwargs)
lmcache/v1/distributed/l2_adapters/s3_l2_adapter.py:877
Methodon_body
(chunk, offset, **kwargs)
lmcache/v1/storage_backend/connector/s3_connector.py:314
Methodon_complete
(key)
tests/v1/storage_backend/test_bigtable_integration.py:193
Methodon_complete
(_key: CacheEngineKey)
benchmarks/storage_backend_io/storage_backend_io_benchmark.py:319
Methodon_discontinuity
()
tests/v1/cache_controller/test_registry_tree.py:1051
Methodon_done
(error=None, status_code=None, **kwargs)
lmcache/v1/distributed/l2_adapters/s3_l2_adapter.py:881
Methodon_done
(error=None, **kwargs)
lmcache/v1/storage_backend/connector/s3_connector.py:195
Methodon_evict
(self, backend: "StorageBackendInterface", keys: List[CacheEngineKey])
lmcache/v1/storage_backend/storage_backend_listener.py:18
Methodon_finished
(result, text)
tests/cli/commands/bench/engine_bench/test_request_sender.py:351
← previousnext →8,001–8,100 of 13,371, ranked by callers