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
Method
close
(self)
lmcache/v1/storage_backend/native_clients/connector_client_base.py:161
Method
close
(self)
lmcache/v1/storage_backend/connector/redis_connector.py:391
Method
close
(self)
lmcache/v1/storage_backend/connector/redis_connector.py:594
Method
close
(self)
lmcache/v1/storage_backend/connector/redis_connector.py:770
Method
close
(self)
lmcache/v1/storage_backend/connector/blackhole_connector.py:36
Method
close
Shut down all per-thread GLIDE clients and the thread pool.
lmcache/v1/storage_backend/connector/valkey_connector.py:276
Method
close
Close remote server
lmcache/v1/storage_backend/connector/base_connector.py:212
Method
close
(self)
lmcache/v1/storage_backend/connector/mock_connector.py:339
Method
close
Release connector-local resources and remove temporary downloads.
lmcache/v1/storage_backend/connector/hfbucket_connector.py:278
Method
close
(self)
lmcache/v1/storage_backend/connector/mooncakestore_connector.py:825
Method
close
(self)
lmcache/v1/storage_backend/connector/bigtable_connector.py:881
Method
close
Clean up all resources and log statistics.
lmcache/v1/storage_backend/connector/sagemaker_hyperpod_connector.py:951
Method
close
(self)
lmcache/v1/storage_backend/connector/lm_connector.py:173
Method
close
(self)
lmcache/v1/storage_backend/connector/instrumented_connector.py:82
Method
close
(self)
lmcache/v1/storage_backend/connector/s3_connector.py:698
Method
close
(self)
lmcache/v1/storage_backend/connector/hf3fs_connector.py:132
Method
close
(self)
lmcache/v1/storage_backend/connector/infinistore_connector.py:175
Method
close
(self)
lmcache/v1/storage_backend/connector/eic_connector.py:747
Function
close_backend
()
tests/v1/storage_backend/test_rust_raw_block_backend.py:623
Function
close_backend
Close and remove a specific storage backend. The backend will be closed and removed from the internal dict so that no stale references remain
lmcache/v1/internal_api_server/vllm/backend_api.py:74
Function
close_both
()
tests/v1/native_storage_ops/test_periodic_event_notifier.py:42
Function
close_driver
Close the cuFile driver. Optional — useful in tests.
lmcache/v1/gpu_connector/_cufile_async.py:105
Function
close_lookup
Close the current lookup client (scheduler) or server (worker). Example: curl -X POST http://localhost:6999/lookup/close
lmcache/v1/internal_api_server/vllm/lookup_api.py:50
Function
cmd
()
tests/cli/commands/test_query.py:31
Function
cmd
()
tests/cli/commands/test_coordinator.py:16
Function
cmd
()
tests/cli/commands/test_quota.py:30
Function
cmd
()
tests/cli/commands/test_server.py:16
Function
cmd
()
tests/cli/commands/bench/test_server_bench.py:42
Method
commit_retrieve
(self, *_args: Any, **_kwargs: Any)
tests/v1/multiprocess/test_engine_driven_transfer.py:525
Method
commit_retrieve
Finalize a retrieve operation. Args: key: Cache key (unused for pickle). instance_id: Worker instance identifier (unu
lmcache/v1/multiprocess/modules/engine_driven_transfer.py:508
Method
commit_retrieve
Finalize a retrieve request. Args: key: Cache key identifying the requested token range. instance_id: Worker instance
lmcache/v1/multiprocess/modules/server_transfer.py:149
Method
commit_retrieve
No-op for pickle mode; data was already copied during prepare.
lmcache/v1/multiprocess/modules/server_transfer.py:266
Method
commit_retrieve
Release pending SHM read locks for the completed retrieve request.
lmcache/v1/multiprocess/modules/server_transfer.py:429
Method
commit_retrieve
Send COMMIT_RETRIEVE (no-op for pickle path).
lmcache/v1/multiprocess/transfer_context/pickle.py:96
Method
commit_store
Commit serialized CPU chunks to storage. Args: key: Cache key for the token range to store. instance_id: Worker insta
lmcache/v1/multiprocess/modules/engine_driven_transfer.py:437
Method
commit_store
Deserialize and write pickled chunks into reserved objects. Returns: ``True`` when every reserved object is written successfully.
lmcache/v1/multiprocess/modules/server_transfer.py:198
Method
commit_store
Finalize SHM store write locks or fallback to pickle commit. Returns: ``True`` when pending SHM reservation is committed successf
lmcache/v1/multiprocess/modules/server_transfer.py:362
Method
commit_store
Serialize chunks and send via COMMIT_STORE. Returns: ``True`` on success, ``False`` on failure or timeout.
lmcache/v1/multiprocess/transfer_context/pickle.py:55
Method
complete_prompt
Return the expanded prompt from constructor inputs.
lmcache/cli/commands/query/_prompt.py:24
Function
compress
(req: CompressRequest)
lmcache/v1/api_server/__main__.py:275
Method
compress
Compress kv chunks of instance-worker(s).
lmcache/v1/cache_controller/controllers/kv_controller.py:121
Method
compute_cdf
Compute the CDF based on the quantized tensors Field: - start_layer: the start layer to compute the CDF - end_layer:
lmcache/storage_backend/serde/cachegen_encoder.py:185
Method
compute_checksums
( slot_indices: List[int], chunk_size: Optional[int] = None )
tests/v1/internal_api_server/test_kvcache_check_api.py:47
Function
concat_max
Given a dict of max tensors, concatenate them into a single tensor
lmcache/storage_backend/serde/cachegen_encoder.py:75
Function
concatenate_kv_caches
(kv_chunks)
tests/v1/utils.py:394
Method
concrete_engine_kv_shape
Returns the engine KV shape with actual numeric values.
lmcache/v1/platform/base_cache_context.py:269
Method
concurrent_operations
(inst_idx)
tests/v1/cache_controller/test_registry_tree.py:722
Method
concurrent_operations
()
tests/v1/storage_backend/test_local_cpu_backend.py:503
Function
conf
Return all server configurations (mp, storage_manager, observability) as a single JSON object. Args: request (Request): The inco
lmcache/v1/multiprocess/http_apis/conf_api.py:30
Method
config
Create test configuration
tests/tools/test_controller_zmq_benchmark.py:214
Method
config
Provide a config with small limits for testing.
tests/v1/mp_observability/subscribers/logging/test_lookup_hash_logger.py:90
Method
config
Get the LMCache engine configuration.
lmcache/v1/manager.py:159
Function
config_with_location
Create a config with plugin location.
tests/v1/plugin/test_runtime_plugin_launcher.py:36
Function
config_without_location
Create a config without plugin location.
tests/v1/plugin/test_runtime_plugin_launcher.py:42
Method
consume
Consume the pending signal (non-blocking). Only :class:`BlockingIOError` (no data pending) is swallowed; other OS errors propagate.
lmcache/v1/platform/event_notifier.py:65
Method
consume
(self)
lmcache/v1/platform/event_notifier.py:124
Method
contains
Query if a key is in the cache or not
lmcache/v1/server/storage_backend/abstract_backend.py:36
Method
contains
(self, key: CacheEngineKey, pin: bool = False)
lmcache/v1/storage_backend/nixl_storage_backend.py:911
Method
contains
Check whether key is in the storage backend. :param key: The key to check :param pin: Whether to pin the object in the backe
lmcache/v1/storage_backend/nixl_storage_backend.py:1190
Method
contains
Check whether key is in the storage backend. Normally this checks local put-task state and the presence cache, then falls ba
lmcache/v1/storage_backend/nixl_storage_backend.py:1894
Method
contains
Check key existence with audit logging.
lmcache/v1/storage_backend/audit_backend.py:60
Method
contains
(self, key: CacheEngineKey, pin: bool = False)
lmcache/v1/storage_backend/local_cpu_backend.py:124
Method
contains
(self, key: CacheEngineKey, pin: bool = False)
lmcache/v1/storage_backend/gds_backend.py:487
Method
contains
Check if key exists on MaruServer. Args: key: The cache key. pin: If True, atomically check existence and pin the ent
lmcache/v1/storage_backend/maru_backend.py:608
Method
contains
(self, key: CacheEngineKey, pin: bool = False)
lmcache/v1/storage_backend/local_disk_backend.py:193
Method
context
Return the shared engine context. Exposed for testing only.
lmcache/v1/multiprocess/engine_module.py:51
Method
context
Return the shared engine context.
lmcache/v1/multiprocess/server.py:84
Method
context
Return the shared engine context. Exposed for testing only.
lmcache/v1/multiprocess/modules/blend.py:332
Method
context
Return the shared engine context. Exposed for testing only.
lmcache/v1/multiprocess/modules/management.py:77
Method
context
Return the shared engine context. Exposed for testing only.
lmcache/v1/multiprocess/modules/engine_driven_transfer.py:96
Method
context
Return the shared engine context. Exposed for testing only.
lmcache/v1/multiprocess/modules/lookup.py:110
Method
context
Return the shared engine context. Exposed for testing only.
lmcache/v1/multiprocess/modules/p2p_controller.py:156
Method
context
Return the shared engine context. Exposed for testing only.
lmcache/v1/multiprocess/modules/lmcache_driven_transfer.py:451
Method
context
(self)
lmcache/v1/multiprocess/modules/blend_v3.py:385
Function
controllable_connector
()
tests/v1/test_health_monitor_fallback_recovery.py:139
Function
controlled_write
(*a, **kw)
tests/v1/storage_backend/test_pd_backend_async.py:335
Method
controller_urls
(self)
tests/v1/internal_api_server/test_worker_info_api.py:35
Method
controller_zmq_benchmark
Create a benchmark instance for testing
tests/tools/test_controller_zmq_benchmark.py:108
Method
count_leading_ones
(self)
tests/v1/storage_backend/raw_block_test_utils.py:220
Method
count_stored_files
()
tests/v1/distributed/serde/test_serde_fs_e2e.py:159
Function
counting_alloc
(*a, **kw)
tests/v1/storage_backend/test_pd_backend_async.py:1141
Method
counting_get
()
tests/cli/commands/bench/engine_bench/test_progress.py:137
Method
counting_listdir
(path)
tests/v1/test_basic_check.py:96
Method
create
(cls, manager)
tests/v1/test_health_monitor.py:61
Method
create
(cls, manager)
tests/v1/test_health_monitor.py:75
Method
create
(cls, manager)
tests/v1/test_health_monitor.py:329
Method
create
Create RemoteBackendHealthCheck instances from a LMCacheManager. This method finds all RemoteBackend instances in the storage manage
lmcache/v1/health_monitor/checks/remote_backend_check.py:85
Function
create_backends
Create new storage backends from current config. Backends that are already present will be skipped. This allows a workflow of: 1. ``DELE
lmcache/v1/internal_api_server/vllm/backend_api.py:127
Method
create_bucket
(self, bucket_id: str)
tests/v1/distributed/test_hfbucket_l2_adapter.py:60
Method
create_bucket
Record bucket creation requests.
tests/v1/storage_backend/test_hfbucket_connector.py:52
Method
create_bucket
Create a bucket if needed.
lmcache/v1/storage_backend/connector/hfbucket_connector.py:90
Method
create_connector
(self, context)
tests/v1/test_connector_discovery.py:25
Method
create_connector
(self, context)
tests/v1/test_connector_discovery.py:34
Method
create_connector
Create a mock remote connector.
tests/v1/storage_backend/test_remote_storage_plugin.py:89
Method
create_connector
(self, context: ConnectorContext)
lmcache/v1/storage_backend/connector/redis_adapter.py:27
Method
create_connector
(self, context: ConnectorContext)
lmcache/v1/storage_backend/connector/redis_adapter.py:85
Method
create_connector
(self, context: ConnectorContext)
lmcache/v1/storage_backend/connector/redis_adapter.py:119
Method
create_connector
(self, context: ConnectorContext)
lmcache/v1/storage_backend/connector/redis_adapter.py:164
Method
create_connector
(self, context: ConnectorContext)
lmcache/v1/storage_backend/connector/mock_adapter.py:22
Method
create_connector
Create a SageMaker HyperPod connector from the given context. Args: context: Connector context containing configuration
lmcache/v1/storage_backend/connector/sagemaker_hyperpod_adapter.py:23
← previous
next →
6,701–6,800 of 13,371, ranked by callers