Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LMCache/LMCache
/ functions
Functions
13,371 in github.com/LMCache/LMCache
⨍
Functions
13,371
◇
Types & classes
2,044
↳
Endpoints
181
Function
mock_zmq_context
Create a mock ZMQ context.
tests/v1/cache_controller/conftest.py:436
Function
mock_zmq_socket
Create a mock ZMQ socket.
tests/v1/cache_controller/conftest.py:423
Function
monitor
(mock_manager)
tests/v1/test_health_monitor.py:94
Function
move
(req: MoveRequest)
lmcache/v1/api_server/__main__.py:325
Method
move
Move kv chunks of instance-worker(s).
lmcache/v1/cache_controller/controllers/kv_controller.py:135
Function
multi_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
Function
multi_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
Function
multi_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
Function
multi_tensor_layout
Create a MemoryLayoutDesc with multiple tensor shapes.
tests/v1/distributed/test_l1_memory_manager.py:106
Method
my_func
()
tests/v1/mp_observability/test_register_gauge.py:68
Method
name
(self)
tests/v1/test_health_monitor.py:54
Method
name
(self)
tests/v1/test_health_monitor.py:68
Method
name
(self)
tests/v1/test_health_monitor.py:320
Method
name
Return the subcommand name. Returns: The string ``"mock"``.
lmcache/cli/commands/mock.py:19
Method
name
Return the subcommand name. Returns: The string ``"kvcache"``.
lmcache/cli/commands/kvcache.py:70
Method
name
Return the subcommand name. Returns: The string ``"server"``.
lmcache/cli/commands/server.py:17
Method
name
Return the subcommand name. Returns: The string ``"coordinator"``.
lmcache/cli/commands/coordinator.py:22
Method
name
(self)
lmcache/cli/commands/describe.py:309
Method
name
(self)
lmcache/cli/commands/ping.py:78
Method
name
(self)
lmcache/cli/commands/quota/__init__.py:16
Method
name
(self)
lmcache/cli/commands/quota/set_command.py:19
Method
name
(self)
lmcache/cli/commands/quota/list_command.py:15
Method
name
(self)
lmcache/cli/commands/quota/delete_command.py:19
Method
name
(self)
lmcache/cli/commands/quota/get_command.py:19
Method
name
(self)
lmcache/cli/commands/query/__init__.py:16
Method
name
(self)
lmcache/cli/commands/query/kvcache_command.py:14
Method
name
(self)
lmcache/cli/commands/query/engine_command.py:17
Method
name
(self)
lmcache/cli/commands/trace/__init__.py:20
Method
name
(self)
lmcache/cli/commands/trace/info_command.py:18
Method
name
(self)
lmcache/cli/commands/trace/replay_command.py:30
Method
name
(self)
lmcache/cli/commands/bench/__init__.py:17
Method
name
(self)
lmcache/cli/commands/bench/l2_adapter_bench/__init__.py:18
Method
name
(self)
lmcache/cli/commands/bench/server_bench/__init__.py:18
Method
name
(self)
lmcache/cli/commands/tool/__init__.py:16
Method
name
(self)
lmcache/cli/commands/tool/cache_simulator/__init__.py:17
Method
name
Get the thread name.
lmcache/v1/periodic_thread.py:144
Function
nixl_tmp_path
Per-test scratch dir, honoring ``LMCACHE_TEST_TMPDIR``.
tests/v1/test_nixl_storage.py:72
Function
no_engine_client
Client with no engine on ``app.state`` — exercises the 503 path.
tests/v1/multiprocess/test_http_quota_endpoints.py:49
Method
nodes
Return the underlying list (mutated in place).
lmcache/lmcache_frontend/app.py:56
Function
non_lazy_config
Create a config that does not use lazy allocation.
tests/v1/distributed/test_l1_memory_manager.py:86
Method
noop
()
lmcache/integration/vllm/vllm_multi_process_adapter.py:438
Function
noop_handler
Dummy handler for NOOP requests. Takes no arguments and returns a simple string response.
tests/v1/multiprocess/test_mq_handler_helpers.py:24
Method
notify
Signal the notifier (idempotent if already signaled).
lmcache/v1/platform/event_notifier.py:61
Method
notify
(self)
lmcache/v1/platform/event_notifier.py:118
Method
notify_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
Method
notify_fileno
(self)
lmcache/v1/platform/event_notifier.py:121
Method
notify_fileno
(self)
lmcache/v1/platform/event_notifier.py:199
Method
num_blocks
(self)
lmcache/v1/gpu_connector/kv_format/specs/nb_nl_two_bs_nh_hs.py:29
Method
num_blocks
(self)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_nb_two_bs_nh_hs.py:29
Method
num_blocks
(self)
lmcache/v1/gpu_connector/kv_format/specs/two_x_nl_x_nb_bs_nh_hs.py:29
Method
num_blocks
(self)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_nb_nh_bs_two_hs.py:32
Method
num_blocks
(self)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_nbbs_one_hs.py:30
Method
num_blocks
(self)
lmcache/v1/gpu_connector/kv_format/specs/nb_nl_two_nh_bs_hs.py:31
Method
num_blocks
(self)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_two_nb_nh_bs_hs.py:30
Method
num_blocks
(self)
lmcache/v1/gpu_connector/kv_format/specs/two_x_nl_x_nbbs_nh_hs.py:29
Method
num_blocks
(self)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_two_nb_bs_nh_hs.py:29
Method
num_blocks
(self)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_nb_two_nh_bs_hs.py:31
Method
num_blocks
(self)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_nb_bs_hs.py:29
Method
num_blocks_per_chunk
Returns: The number of vllm blocks in a LMCache data chunk
lmcache/integration/vllm/vllm_multi_process_adapter.py:894
Method
num_groups
Number of :class:`KernelGroupInfo` entries. Zero if ``kv_caches`` had no layers at construction time.
lmcache/v1/kv_layer_groups.py:442
Method
num_heads
(self, layer_idx: int = 0)
lmcache/v1/gpu_connector/kv_format/specs/nb_nl_two_bs_nh_hs.py:38
Method
num_heads
(self, layer_idx: int = 0)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_nb_two_bs_nh_hs.py:38
Method
num_heads
(self, layer_idx: int = 0)
lmcache/v1/gpu_connector/kv_format/specs/two_x_nl_x_nb_bs_nh_hs.py:38
Method
num_heads
(self, layer_idx: int = 0)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_nb_nh_bs_two_hs.py:41
Method
num_heads
(self, layer_idx: int = 0)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_nbbs_one_hs.py:43
Method
num_heads
(self, layer_idx: int = 0)
lmcache/v1/gpu_connector/kv_format/specs/nb_nl_two_nh_bs_hs.py:40
Method
num_heads
(self, layer_idx: int = 0)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_two_nb_nh_bs_hs.py:39
Method
num_heads
(self, layer_idx: int = 0)
lmcache/v1/gpu_connector/kv_format/specs/two_x_nl_x_nbbs_nh_hs.py:42
Method
num_heads
(self, layer_idx: int = 0)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_two_nb_bs_nh_hs.py:38
Method
num_heads
(self, layer_idx: int = 0)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_nb_two_nh_bs_hs.py:40
Method
num_heads
(self, layer_idx: int = 0)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_nb_bs_hs.py:38
Method
num_kernel_groups
Number of :class:`KernelGroupInfo` entries. Zero if ``kv_caches`` had no layers at construction time.
lmcache/v1/kv_layer_groups.py:423
Method
num_layers
Number of layers in this group.
lmcache/v1/kv_layer_groups.py:209
Method
num_layers
(self)
lmcache/v1/gpu_connector/kv_format/specs/nb_nl_two_bs_nh_hs.py:26
Method
num_layers
(self)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_nb_two_bs_nh_hs.py:26
Method
num_layers
(self)
lmcache/v1/gpu_connector/kv_format/specs/two_x_nl_x_nb_bs_nh_hs.py:26
Method
num_layers
(self)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_nb_nh_bs_two_hs.py:29
Method
num_layers
(self)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_nbbs_one_hs.py:27
Method
num_layers
(self)
lmcache/v1/gpu_connector/kv_format/specs/nb_nl_two_nh_bs_hs.py:28
Method
num_layers
(self)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_two_nb_nh_bs_hs.py:27
Method
num_layers
(self)
lmcache/v1/gpu_connector/kv_format/specs/two_x_nl_x_nbbs_nh_hs.py:26
Method
num_layers
(self)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_two_nb_bs_nh_hs.py:26
Method
num_layers
(self)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_nb_two_nh_bs_hs.py:28
Method
num_layers
(self)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_nb_bs_hs.py:26
Method
num_layers
Returns the number of layers in the model.
lmcache/v1/platform/base_cache_context.py:165
Method
num_layers
(self)
lmcache/v1/platform/cuda/cache_context.py:618
Method
num_object_groups
Number of :class:`ObjectGroupInfo` entries.
lmcache/v1/kv_layer_groups.py:436
Method
num_tokens
(self)
lmcache/v1/platform/cuda/cache_context.py:622
Method
object_groups
List of :class:`ObjectGroupInfo`, one per object group.
lmcache/v1/kv_layer_groups.py:431
Method
offload
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
Method
offload_server
Get the offload server instance.
lmcache/v1/manager.py:138
Method
on_body
(chunk, offset, **kwargs)
lmcache/v1/distributed/l2_adapters/s3_l2_adapter.py:877
Method
on_body
(chunk, offset, **kwargs)
lmcache/v1/storage_backend/connector/s3_connector.py:314
Method
on_complete
(key)
tests/v1/storage_backend/test_bigtable_integration.py:193
Method
on_complete
(_key: CacheEngineKey)
benchmarks/storage_backend_io/storage_backend_io_benchmark.py:319
Method
on_discontinuity
()
tests/v1/cache_controller/test_registry_tree.py:1051
Method
on_done
(error=None, status_code=None, **kwargs)
lmcache/v1/distributed/l2_adapters/s3_l2_adapter.py:881
Method
on_done
(error=None, **kwargs)
lmcache/v1/storage_backend/connector/s3_connector.py:195
Method
on_evict
(self, backend: "StorageBackendInterface", keys: List[CacheEngineKey])
lmcache/v1/storage_backend/storage_backend_listener.py:18
Method
on_finished
(result, text)
tests/cli/commands/bench/engine_bench/test_request_sender.py:351
← previous
next →
8,001–8,100 of 13,371, ranked by callers