MCPcopy Create free account

hub / github.com/LMCache/LMCache / functions

Functions13,371 in github.com/LMCache/LMCache

Methodclose
(self)
lmcache/v1/storage_backend/native_clients/connector_client_base.py:161
Methodclose
(self)
lmcache/v1/storage_backend/connector/redis_connector.py:391
Methodclose
(self)
lmcache/v1/storage_backend/connector/redis_connector.py:594
Methodclose
(self)
lmcache/v1/storage_backend/connector/redis_connector.py:770
Methodclose
(self)
lmcache/v1/storage_backend/connector/blackhole_connector.py:36
Methodclose
Shut down all per-thread GLIDE clients and the thread pool.
lmcache/v1/storage_backend/connector/valkey_connector.py:276
Methodclose
Close remote server
lmcache/v1/storage_backend/connector/base_connector.py:212
Methodclose
(self)
lmcache/v1/storage_backend/connector/mock_connector.py:339
Methodclose
Release connector-local resources and remove temporary downloads.
lmcache/v1/storage_backend/connector/hfbucket_connector.py:278
Methodclose
(self)
lmcache/v1/storage_backend/connector/mooncakestore_connector.py:825
Methodclose
(self)
lmcache/v1/storage_backend/connector/bigtable_connector.py:881
Methodclose
Clean up all resources and log statistics.
lmcache/v1/storage_backend/connector/sagemaker_hyperpod_connector.py:951
Methodclose
(self)
lmcache/v1/storage_backend/connector/lm_connector.py:173
Methodclose
(self)
lmcache/v1/storage_backend/connector/instrumented_connector.py:82
Methodclose
(self)
lmcache/v1/storage_backend/connector/s3_connector.py:698
Methodclose
(self)
lmcache/v1/storage_backend/connector/hf3fs_connector.py:132
Methodclose
(self)
lmcache/v1/storage_backend/connector/infinistore_connector.py:175
Methodclose
(self)
lmcache/v1/storage_backend/connector/eic_connector.py:747
Functionclose_backend
()
tests/v1/storage_backend/test_rust_raw_block_backend.py:623
Functionclose_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
Functionclose_both
()
tests/v1/native_storage_ops/test_periodic_event_notifier.py:42
Functionclose_driver
Close the cuFile driver. Optional — useful in tests.
lmcache/v1/gpu_connector/_cufile_async.py:105
Functionclose_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
Functioncmd
()
tests/cli/commands/test_query.py:31
Functioncmd
()
tests/cli/commands/test_coordinator.py:16
Functioncmd
()
tests/cli/commands/test_quota.py:30
Functioncmd
()
tests/cli/commands/test_server.py:16
Functioncmd
()
tests/cli/commands/bench/test_server_bench.py:42
Methodcommit_retrieve
(self, *_args: Any, **_kwargs: Any)
tests/v1/multiprocess/test_engine_driven_transfer.py:525
Methodcommit_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
Methodcommit_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
Methodcommit_retrieve
No-op for pickle mode; data was already copied during prepare.
lmcache/v1/multiprocess/modules/server_transfer.py:266
Methodcommit_retrieve
Release pending SHM read locks for the completed retrieve request.
lmcache/v1/multiprocess/modules/server_transfer.py:429
Methodcommit_retrieve
Send COMMIT_RETRIEVE (no-op for pickle path).
lmcache/v1/multiprocess/transfer_context/pickle.py:96
Methodcommit_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
Methodcommit_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
Methodcommit_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
Methodcommit_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
Methodcomplete_prompt
Return the expanded prompt from constructor inputs.
lmcache/cli/commands/query/_prompt.py:24
Functioncompress
(req: CompressRequest)
lmcache/v1/api_server/__main__.py:275
Methodcompress
Compress kv chunks of instance-worker(s).
lmcache/v1/cache_controller/controllers/kv_controller.py:121
Methodcompute_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
Methodcompute_checksums
( slot_indices: List[int], chunk_size: Optional[int] = None )
tests/v1/internal_api_server/test_kvcache_check_api.py:47
Functionconcat_max
Given a dict of max tensors, concatenate them into a single tensor
lmcache/storage_backend/serde/cachegen_encoder.py:75
Functionconcatenate_kv_caches
(kv_chunks)
tests/v1/utils.py:394
Methodconcrete_engine_kv_shape
Returns the engine KV shape with actual numeric values.
lmcache/v1/platform/base_cache_context.py:269
Methodconcurrent_operations
(inst_idx)
tests/v1/cache_controller/test_registry_tree.py:722
Methodconcurrent_operations
()
tests/v1/storage_backend/test_local_cpu_backend.py:503
Functionconf
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
Methodconfig
Create test configuration
tests/tools/test_controller_zmq_benchmark.py:214
Methodconfig
Provide a config with small limits for testing.
tests/v1/mp_observability/subscribers/logging/test_lookup_hash_logger.py:90
Methodconfig
Get the LMCache engine configuration.
lmcache/v1/manager.py:159
Functionconfig_with_location
Create a config with plugin location.
tests/v1/plugin/test_runtime_plugin_launcher.py:36
Functionconfig_without_location
Create a config without plugin location.
tests/v1/plugin/test_runtime_plugin_launcher.py:42
Methodconsume
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
Methodconsume
(self)
lmcache/v1/platform/event_notifier.py:124
Methodcontains
Query if a key is in the cache or not
lmcache/v1/server/storage_backend/abstract_backend.py:36
Methodcontains
(self, key: CacheEngineKey, pin: bool = False)
lmcache/v1/storage_backend/nixl_storage_backend.py:911
Methodcontains
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
Methodcontains
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
Methodcontains
Check key existence with audit logging.
lmcache/v1/storage_backend/audit_backend.py:60
Methodcontains
(self, key: CacheEngineKey, pin: bool = False)
lmcache/v1/storage_backend/local_cpu_backend.py:124
Methodcontains
(self, key: CacheEngineKey, pin: bool = False)
lmcache/v1/storage_backend/gds_backend.py:487
Methodcontains
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
Methodcontains
(self, key: CacheEngineKey, pin: bool = False)
lmcache/v1/storage_backend/local_disk_backend.py:193
Methodcontext
Return the shared engine context. Exposed for testing only.
lmcache/v1/multiprocess/engine_module.py:51
Methodcontext
Return the shared engine context.
lmcache/v1/multiprocess/server.py:84
Methodcontext
Return the shared engine context. Exposed for testing only.
lmcache/v1/multiprocess/modules/blend.py:332
Methodcontext
Return the shared engine context. Exposed for testing only.
lmcache/v1/multiprocess/modules/management.py:77
Methodcontext
Return the shared engine context. Exposed for testing only.
lmcache/v1/multiprocess/modules/engine_driven_transfer.py:96
Methodcontext
Return the shared engine context. Exposed for testing only.
lmcache/v1/multiprocess/modules/lookup.py:110
Methodcontext
Return the shared engine context. Exposed for testing only.
lmcache/v1/multiprocess/modules/p2p_controller.py:156
Methodcontext
Return the shared engine context. Exposed for testing only.
lmcache/v1/multiprocess/modules/lmcache_driven_transfer.py:451
Methodcontext
(self)
lmcache/v1/multiprocess/modules/blend_v3.py:385
Functioncontrollable_connector
()
tests/v1/test_health_monitor_fallback_recovery.py:139
Functioncontrolled_write
(*a, **kw)
tests/v1/storage_backend/test_pd_backend_async.py:335
Methodcontroller_urls
(self)
tests/v1/internal_api_server/test_worker_info_api.py:35
Methodcontroller_zmq_benchmark
Create a benchmark instance for testing
tests/tools/test_controller_zmq_benchmark.py:108
Methodcount_leading_ones
(self)
tests/v1/storage_backend/raw_block_test_utils.py:220
Methodcount_stored_files
()
tests/v1/distributed/serde/test_serde_fs_e2e.py:159
Functioncounting_alloc
(*a, **kw)
tests/v1/storage_backend/test_pd_backend_async.py:1141
Methodcounting_get
()
tests/cli/commands/bench/engine_bench/test_progress.py:137
Methodcounting_listdir
(path)
tests/v1/test_basic_check.py:96
Methodcreate
(cls, manager)
tests/v1/test_health_monitor.py:61
Methodcreate
(cls, manager)
tests/v1/test_health_monitor.py:75
Methodcreate
(cls, manager)
tests/v1/test_health_monitor.py:329
Methodcreate
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
Functioncreate_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
Methodcreate_bucket
(self, bucket_id: str)
tests/v1/distributed/test_hfbucket_l2_adapter.py:60
Methodcreate_bucket
Record bucket creation requests.
tests/v1/storage_backend/test_hfbucket_connector.py:52
Methodcreate_bucket
Create a bucket if needed.
lmcache/v1/storage_backend/connector/hfbucket_connector.py:90
Methodcreate_connector
(self, context)
tests/v1/test_connector_discovery.py:25
Methodcreate_connector
(self, context)
tests/v1/test_connector_discovery.py:34
Methodcreate_connector
Create a mock remote connector.
tests/v1/storage_backend/test_remote_storage_plugin.py:89
Methodcreate_connector
(self, context: ConnectorContext)
lmcache/v1/storage_backend/connector/redis_adapter.py:27
Methodcreate_connector
(self, context: ConnectorContext)
lmcache/v1/storage_backend/connector/redis_adapter.py:85
Methodcreate_connector
(self, context: ConnectorContext)
lmcache/v1/storage_backend/connector/redis_adapter.py:119
Methodcreate_connector
(self, context: ConnectorContext)
lmcache/v1/storage_backend/connector/redis_adapter.py:164
Methodcreate_connector
(self, context: ConnectorContext)
lmcache/v1/storage_backend/connector/mock_adapter.py:22
Methodcreate_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
← previousnext →6,701–6,800 of 13,371, ranked by callers