MCPcopy Create free account

hub / github.com/LMCache/LMCache / functions

Functions13,371 in github.com/LMCache/LMCache

Methodlist
List all keys in file system
lmcache/v1/storage_backend/connector/fs_connector.py:394
Functionlist_adapters
Enumerate configured L2 adapters. Responses: 200: ``{"adapters": [{"index", "type_name", "primary"}, ...]}``. Empty list when
lmcache/v1/multiprocess/http_apis/l2_api.py:118
Functionlist_backends
List all active storage backends. Returns: JSONResponse: JSON dict mapping backend name to class name. Example: .. c
lmcache/v1/internal_api_server/vllm/backend_api.py:43
Functionlist_bypassed_backends
List all currently bypassed backends and all available backend names. Args: request: The FastAPI request object. Returns:
lmcache/v1/internal_api_server/vllm/bypass_api.py:43
Functionlist_instances
List all registered mp servers. Returns: ``{"instances": [ {instance_id, ip, http_port, ...}, ... ]}``.
lmcache/v1/mp_coordinator/http_apis/instances_api.py:120
Methodlist_keys
(self)
lmcache/v1/server/storage_backend/local_backend.py:28
Methodlist_keys
List all keys in the cache server Output: All keys in the cache server
lmcache/v1/server/storage_backend/abstract_backend.py:63
Functionlist_l2_keys
List keys resident in one L2 adapter, paginated. Query parameters: model_name: restrict to one model name. Omit to return all. pa
lmcache/v1/multiprocess/http_apis/l2_api.py:194
Methodlist_l2_keys
List keys from the S3 bucket via ``ListObjectsV2``. Args: model_name: if set, restrict listing to objects whose name
lmcache/v1/distributed/l2_adapters/s3_l2_adapter.py:709
Methodlist_l2_keys
List keys currently resident in this adapter, paginated. Args: model_name: if set, restrict to keys with this ``O
lmcache/v1/distributed/l2_adapters/base.py:475
Methodlist_l2_keys
( self, model_name: str | None = None, page_size: int = 500, cursor: str | Non
lmcache/v1/distributed/l2_adapters/serde_wrapper.py:315
Functionlist_quotas
List every registered quota alongside its live usage.
lmcache/v1/multiprocess/http_apis/quota_api.py:159
Functionlist_record_strategies
()
lmcache/v1/lookup_client/record_strategies/__init__.py:52
Functionlist_status
List quota and usage across all cache salts. Returns: Total usage plus per-salt breakdown with quota info.
lmcache/v1/mp_coordinator/http_apis/l2_api.py:174
Methodlist_tree
(self, bucket_id: str, prefix: str)
tests/v1/distributed/test_hfbucket_l2_adapter.py:80
Methodlist_tree
List stored objects under the requested prefix.
tests/v1/storage_backend/test_hfbucket_connector.py:74
Methodlist_tree
List bucket entries under the provided prefix.
lmcache/v1/storage_backend/connector/hfbucket_connector.py:99
Functionlmcache_deprecate
Mark a function or method as deprecated. Calling the wrapped callable emits a ``DeprecationWarning`` and logs a warning the first time it is
lmcache/utils.py:709
Methodlmcache_engine
Create a LMCacheEngine instance for testing.
tests/v1/lookup_client/test_lmcache_lookup_client.py:69
Methodlmcache_engine
Get the LMCache engine instance from manager.
lmcache/integration/vllm/vllm_v1_adapter.py:623
Methodlmcache_engine
Get the LMCache engine instance.
lmcache/v1/manager.py:116
Methodlmcache_engine
Get the LMCache engine instance.
lmcache/v1/standalone/__main__.py:224
Functionlmcache_engine_metadata
Create a fresh LMCacheMetadata for each test.
tests/conftest.py:789
Methodlmcache_engine_metadata
Create test metadata for LMCacheEngine.
tests/v1/lookup_client/test_lmcache_lookup_client.py:64
Methodlmcache_engine_metadata
Get the LMCache engine metadata from manager.
lmcache/integration/vllm/vllm_v1_adapter.py:628
Methodlmcache_engine_metadata
Get the LMCache engine metadata.
lmcache/v1/manager.py:121
Functionlmcache_memcpy_async
Python fallback for lmcache_memcpy_async. - Tensor mode (non-CUDA devices like HPU): uses .to(device) + copy_() - Pointer mode with libc
lmcache/python_ops_fallback.py:2041
Functionlmserver_v1_process
(request)
tests/conftest.py:634
Functionload_and_reshape_flash
Python equivalent of load_and_reshape_flash. Note: In the context of 'test_extract_and_load_back', this function performs an EXTRACT oper
lmcache/python_ops_fallback.py:1941
Functionload_config
Load configuration from file or environment
lmcache/v1/standalone/__main__.py:359
Methodload_from_env
Load config from MOONCAKE_CONFIG_PATH env var.
lmcache/v1/storage_backend/connector/mooncakestore_connector.py:299
Functionload_fs_chunks
Load chunk files from FSConnector into LocalCPUBackend hot cache. This endpoint loads all chunk files from the specified FSConnector directo
lmcache/v1/internal_api_server/vllm/load_fs_chunks_api.py:67
Methodload_kv
(self, load_metadata: LoadMetadata)
lmcache/integration/sglang/sglang_adapter.py:152
Methodload_kv_layerwise
(self, layer_id: int)
lmcache/integration/sglang/sglang_adapter.py:240
Methodload_stream
Return the lazily-created MUSA load stream.
lmcache/v1/gpu_connector/musa_connectors.py:437
Methodloader
()
lmcache/integration/request_telemetry/factory.py:37
Functionlocal_backend
Create a local CPU backend for testing.
tests/v1/storage_backend/test_valkey_connector.py:171
Functionlocal_backend
Create a local CPU backend for testing.
tests/v1/storage_backend/test_resp_connector.py:97
Methodlocal_buffer_size
(self)
lmcache/v1/storage_backend/connector/mooncakestore_connector.py:216
Functionlocal_cpu_backend
Fixture for LocalCPUBackend
tests/v1/storage_backend/test_audit_connector.py:81
Functionlocal_cpu_backend
Create a LocalCPUBackend for testing.
tests/v1/storage_backend/test_hf3fs_connector.py:234
Functionlocal_cpu_backend
(memory_allocator)
tests/v1/storage_backend/test_bigtable_connector.py:235
Functionlocal_cpu_backend
Create a LocalCPUBackend for testing.
tests/v1/storage_backend/test_local_cpu_backend.py:82
Functionlocal_cpu_backend
Create a LocalCPUBackend for testing.
tests/v1/storage_backend/test_fs_connector.py:123
Functionlocal_cpu_backend
Create a LocalCPUBackend for testing.
tests/v1/storage_backend/test_local_disk_backend.py:106
Methodlocal_cpu_backend
Create a LocalCPUBackend for testing.
tests/v1/internal_api_server/test_load_fs_chunks.py:58
Methodlocal_cpu_backend
(self, memory_allocator)
tests/v1/storage_backend/test_bigtable_integration.py:121
Functionlocal_cpu_backend_disabled
Create a LocalCPUBackend with local_cpu disabled.
tests/v1/storage_backend/test_local_cpu_backend.py:98
Functionlocal_disk_backend
Create a LocalDiskBackend for testing.
tests/v1/storage_backend/test_local_disk_backend.py:113
Methodlocal_hostname
(self)
lmcache/v1/storage_backend/connector/mooncakestore_connector.py:204
Methodlocation
(self)
lmcache/v1/cache_controller/full_sync_sender.py:113
Methodlock_refcount
Return the L2 lock refcount for an encoded key. Args: encoded_key: Encoded raw-block key string. Returns: Cu
lmcache/v1/storage_backend/raw_block/core.py:566
Functionlog_capture
Fixture for capturing logs
tests/v1/storage_backend/test_audit_connector.py:146
Methodlog_config
Log key workload config before the benchmark starts.
lmcache/cli/commands/bench/engine_bench/workloads/multi_round_chat.py:174
Methodlog_config
Log key workload config before the benchmark starts.
lmcache/cli/commands/bench/engine_bench/workloads/long_doc_qa.py:137
Methodlog_config
Log key workload config before the benchmark starts.
lmcache/cli/commands/bench/engine_bench/workloads/prefix_suffix_tuner.py:487
Methodlog_config
Log key workload config before the benchmark starts.
lmcache/cli/commands/bench/engine_bench/workloads/random_prefill.py:76
Methodlog_config
Log key workload config before the benchmark starts.
lmcache/cli/commands/bench/engine_bench/workloads/long_doc_permutator.py:281
Methodlog_dir
Provide a temporary log directory.
tests/v1/mp_observability/subscribers/logging/test_lookup_hash_logger.py:85
Methodlog_message
(self, format, *args)
tests/cli/test_ping.py:36
Methodlog_message
(self, format, *args)
tests/cli/test_describe.py:342
Methodlog_worker
(self)
lmcache/observability.py:1975
Methodlogin
(user, password)
tests/v1/mp_observability/trace/test_decorator.py:124
Functionlookup
(req: LookupRequest)
lmcache/v1/api_server/__main__.py:186
Methodlookup
( self, token_ids: Union[torch.Tensor, list[int]], lookup_id: str, request_con
tests/v1/lookup_client/test_chunk_statistics_lookup_client.py:52
Methodlookup
Perform lookup for the given token IDs. Should be called for first lookup and pinning. Subsequent lookups for the same reques
lmcache/v1/lookup_client/abstract_client.py:28
Methodlookup
( self, token_ids: Union[torch.Tensor, list[int]], lookup_id: str, request_con
lmcache/v1/lookup_client/lmcache_async_lookup_client.py:193
Methodlookup
( self, token_ids: Union[torch.Tensor, list[int]], lookup_id: Optional[str] = None,
lmcache/v1/lookup_client/mooncake_lookup_client.py:61
Methodlookup
( self, token_ids: Union[torch.Tensor, list[int]], lookup_id: str, request_con
lmcache/v1/lookup_client/hit_limit_lookup_client.py:40
Methodlookup
( self, token_ids: Union[torch.Tensor, list[int]], lookup_id: str, request_con
lmcache/v1/lookup_client/lmcache_lookup_client_bypass.py:52
Methodlookup
Submit a prefix lookup. Hashes the key, submits a prefetch task to the storage manager, and registers the job under ``key.request_id`
lmcache/v1/multiprocess/modules/lookup.py:167
Methodlookup_cache
-1 means not found; None means ongoing; int >= 0 means number of hit tokens
lmcache/v1/lookup_client/lmcache_async_lookup_client.py:159
Methodlookup_cache
(self, lookup_id: str)
lmcache/v1/lookup_client/chunk_statistics_lookup_client.py:67
Methodlookup_cache
"-1 means not found; None means ongoing; (not supported in sync client) int >= 0 means number of hit tokens
lmcache/v1/lookup_client/lmcache_lookup_client.py:78
Methodlookup_cache
(self, lookup_id: str)
lmcache/v1/lookup_client/hit_limit_lookup_client.py:37
Methodlookup_client
Get the lookup client from manager.
lmcache/integration/vllm/vllm_v1_adapter.py:633
Methodlookup_client
Get the lookup client instance.
lmcache/v1/manager.py:126
Functionlookup_handler
Dummy handler for LOOKUP requests. Args: key: Cache key to look up (request_id embedded in the key) tp_size: Tensor-parallel
tests/v1/multiprocess/test_mq_handler_helpers.py:188
Methodlookup_kv
Phase 1 of the two-phase load — fires LOOKUP only. The daemon prefetches missing chunks L2 → L1 (DRAM), creates a session keyed by ``
lmcache/integration/sglang/multi_process_adapter.py:279
Methodlookup_server
Get the lookup server from manager.
lmcache/integration/vllm/vllm_v1_adapter.py:638
Methodlookup_server
Get the lookup server instance.
lmcache/v1/manager.py:131
Methodlookup_unpin
(self, req_id: str)
tests/v1/test_v1_adapter_state_desync.py:56
Methodlookup_unpin
(self, req_id: str)
tests/v1/test_vllm_layerwise_wait_for_save.py:34
Functionloop_excepthook
(loop, context)
lmcache/utils.py:764
Functionloop_in_thread
()
tests/v1/storage_backend/test_dax_backend.py:28
Functionloop_in_thread
()
tests/v1/storage_backend/test_rust_raw_block_backend.py:267
Functionloop_in_thread
()
tests/v1/storage_backend/test_raw_block_uring_cmd.py:65
Functionmain
nolint:gocyclo
operator/cmd/main.go:61
Functionmain
CLI entry point registered as ``lmcache`` in *pyproject.toml*.
lmcache/cli/main.py:20
Functionmake_config
(backend, size, save_unfull_chunk=True, **kwargs)
tests/benchmarks/test_benchmark.py:63
Functionmake_config
(backend, size, save_unfull_chunk=True, **kwargs)
tests/benchmarks/test_xpu_layerwise_connector_benchmark.py:234
Functionmake_config
( backend: str, size: float, save_unfull_chunk: bool = True, **kwargs )
tests/benchmarks/test_xpu_connector_benchmark.py:154
Methodmake_ioring
Mock make_ioring - creates a mock I/O ring.
tests/conftest.py:541
Methodmake_iovec
Mock make_iovec - creates a mock I/O vector.
tests/conftest.py:536
Methodmanager_with_mocked_init
Create a manager with mocked factory.
tests/v1/test_manager.py:97
Methodmaster_server_address
(self)
lmcache/v1/storage_backend/connector/mooncakestore_connector.py:232
Functionmatch_fingerprints
Match a request's rolling-hash array against the directory. The request tokens arrive base64-packed (``tokens_b64``); they are decoded to a `
lmcache/v1/mp_coordinator/http_apis/blend_directory_api.py:90
Methodmatcher
()
tests/v1/mp_coordinator/test_blend_directory.py:213
Methodmatches
(self, spec: KVCacheSpec, kv_cache: RegisteredKVCache)
lmcache/integration/vllm/kv_cache_group_edits.py:218
Methodmatches
(self, spec: KVCacheSpec, kv_cache: RegisteredKVCache)
lmcache/integration/vllm/kv_cache_group_edits.py:279
← previousnext →7,801–7,900 of 13,371, ranked by callers