MCPcopy Create free account

hub / github.com/LMCache/LMCache / functions

Functions13,371 in github.com/LMCache/LMCache

Functioncheck_kv_cache_device
(kvs, device)
tests/v1/utils.py:626
Functioncheck_mode
Decorator to mark functions as check modes
lmcache/v1/check/__init__.py:62
Methodchunk_hash_hex
(self)
lmcache/utils.py:557
Methodchunk_size
(self)
lmcache/integration/sglang/multi_process_adapter.py:185
Methodchunk_size
(self)
lmcache/integration/sglang/sglang_adapter.py:199
Methodchunk_size
Chunk size for KV cache operations.
lmcache/v1/multiprocess/engine_context.py:173
Functioncleanup
()
tests/v1/native_storage_ops/test_periodic_event_notifier.py:22
Functioncleanup_google_mocks
()
tests/v1/storage_backend/test_bigtable_connector.py:99
Functionclear
Clear cached data from the LMCache engine. This endpoint provides a way to clear cached KV (Key-Value) data from the LMCache engine. It can c
lmcache/v1/internal_api_server/vllm/cache_api.py:317
Functionclear
(req: ClearRequest)
lmcache/v1/api_server/__main__.py:211
Methodclear
Clear kv chunks of instance-worker(s).
lmcache/v1/cache_controller/controllers/kv_controller.py:107
Methodclear
Clear the cache.
lmcache/v1/utils/cache_utils.py:65
FunctionclearEnvFilter
()
lmcache/lmcache_frontend/static/js/app.js:1179
Methodclear_all_worker_kv
Clear all KV chunks for a worker across all locations. Returns True if successful, False if worker not found.
lmcache/v1/cache_controller/utils.py:669
Functionclear_cache
Force-clear all KV cache data stored in L1 (CPU) memory. This clears all objects including those with active read/write locks. In-flight stor
lmcache/v1/multiprocess/http_apis/cache_api.py:45
Methodclear_lookup_status
(self, lookup_id: str)
lmcache/v1/lookup_client/chunk_statistics_lookup_client.py:159
Methodclear_lookup_status
(self, lookup_id: str)
lmcache/v1/lookup_client/lmcache_lookup_client.py:160
Methodclear_lookup_status
(self, lookup_id: str)
lmcache/v1/lookup_client/hit_limit_lookup_client.py:79
Functionclient
TestClient with a stub engine wired to app.state. Each test gets a fresh QuotaManager + usage map — there is no cross-test state leakage beca
tests/v1/multiprocess/test_http_quota_endpoints.py:26
Functionclient
Fixture that provides a message queue client for each test function.
tests/v1/multiprocess/test_cache_server.py:293
Functionclient_context
Fixture that provides a client context with initialized KV cache.
tests/v1/multiprocess/test_cache_server.py:306
Functionclient_no_engine
Create a test client without engine.
tests/v1/multiprocess/test_http_server.py:75
Methodclient_with_adapter
Create a test client with mocked adapter.
tests/v1/internal_api_server/test_load_fs_chunks.py:97
Methodclient_with_adapter
Create a test client with mocked adapter.
tests/v1/internal_api_server/test_kvcache_check_api.py:90
Methodclient_with_adapter
Create a test client with mocked adapter.
tests/v1/internal_api_server/test_run_script.py:67
Methodclient_with_adapter
Create a test client with mocked adapter.
tests/v1/internal_api_server/test_cache_clear.py:31
Functionclient_with_engine
(mock_engine)
tests/v1/internal_api_server/test_backend_api.py:72
Functionclient_with_engine
Create a test client with mocked engine.
tests/v1/multiprocess/test_http_server.py:65
Methodclient_with_engine
(self, mock_engine)
tests/v1/internal_api_server/test_hot_cache_api.py:25
Methodclient_with_real_controller
(self, real_controller_manager)
tests/v1/internal_api_server/test_worker_info_api.py:102
Methodclient_without_controller
(self)
tests/v1/internal_api_server/test_worker_info_api.py:108
Functionclient_without_engine
()
tests/v1/internal_api_server/test_backend_api.py:82
Methodclient_without_engine
(self)
tests/v1/internal_api_server/test_hot_cache_api.py:34
Methodclose
(self)
tests/conftest.py:227
Methodclose
(self)
tests/conftest.py:339
Methodclose
(self)
tests/conftest.py:366
Methodclose
(self)
tests/conftest.py:758
Methodclose
(self)
tests/v1/test_health_monitor_fallback_recovery.py:67
Methodclose
(self)
tests/v1/distributed/test_native_connector_l2_adapter.py:1241
Methodclose
(self)
tests/v1/distributed/test_l2_adapter_factory.py:909
Methodclose
(self)
tests/v1/distributed/transfer_channel/test_context_lifecycle.py:60
Methodclose
(self)
tests/v1/platform/test_cache_context_dispatch.py:90
Methodclose
(self)
tests/v1/storage_backend/test_gds_backend.py:499
Methodclose
(self)
tests/v1/storage_backend/test_gds_backend.py:737
Methodclose
(self)
tests/v1/storage_backend/test_rust_raw_block_backend.py:72
Methodclose
Shutdown the thread pool executor.
lmcache/integration/request_telemetry/fastapi.py:101
Methodclose
(self)
lmcache/integration/request_telemetry/noop.py:34
Methodclose
(self)
lmcache/integration/sglang/multi_process_adapter.py:536
Methodclose
(self)
lmcache/integration/sglang/sglang_adapter.py:205
Methodclose
(self)
lmcache/v1/lazy_memory_allocator.py:197
Methodclose
Closes the memory allocator. This is called when the LMCacheEngine is closed.
lmcache/v1/memory_management.py:1219
Methodclose
Close the transfer channel and release any resources.
lmcache/v1/transfer_channel/abstract.py:281
Methodclose
(self)
lmcache/v1/distributed/l2_adapters/serde_wrapper.py:339
Methodclose
(self)
lmcache/v1/distributed/l2_adapters/dax_l2_adapter.py:84
Methodclose
Terminate in-flight requests, deregister from the server, free resources.
lmcache/v1/distributed/transfer_channel/abstract.py:88
Methodclose
Stop and clean up all servers and clients; free context resources.
lmcache/v1/distributed/transfer_channel/abstract.py:164
Methodclose
Close the transfer channel server, stopping the serve loop and closing the socket.
lmcache/v1/distributed/transfer_channel/impl/nixl_impl.py:294
Methodclose
Release all resources.
lmcache/v1/distributed/memory_manager/l1_manager_protocol.py:44
Methodclose
No-op: the GDSContext owning the slab is closed at server shutdown.
lmcache/v1/distributed/memory_manager/gds_l1_memory_manager.py:123
Methodclose
Release resources (event fds, threads, etc.).
lmcache/v1/distributed/serde/base.py:213
Methodclose
Close the lookup client and clean up resources.
lmcache/v1/lookup_client/abstract_client.py:57
Methodclose
(self)
lmcache/v1/lookup_client/lmcache_async_lookup_client.py:398
Methodclose
(self)
lmcache/v1/lookup_client/mooncake_lookup_client.py:94
Methodclose
(self)
lmcache/v1/lookup_client/hit_limit_lookup_client.py:85
Methodclose
(self)
lmcache/v1/lookup_client/lmcache_lookup_client_bypass.py:97
Methodclose
Clean up resources. This method is called when the strategy is no longer needed. Subclasses should override this to clean up any reso
lmcache/v1/lookup_client/record_strategies/base.py:150
Methodclose
Shutdown async worker and clean up resources.
lmcache/v1/lookup_client/record_strategies/base.py:315
Methodclose
Tear down the storage manager and the process-global GDS context.
lmcache/v1/multiprocess/engine_context.py:164
Methodclose
Release resources owned by this module.
lmcache/v1/multiprocess/engine_module.py:63
Methodclose
Release resources owned by this module.
lmcache/v1/multiprocess/modules/blend.py:412
Methodclose
Release resources owned by this module.
lmcache/v1/multiprocess/modules/engine_driven_transfer.py:166
Methodclose
Release resources owned by this module (no-op).
lmcache/v1/multiprocess/modules/lookup.py:159
Methodclose
Stop the poll thread and release peer adapters and the channel.
lmcache/v1/multiprocess/modules/p2p_controller.py:202
Methodclose
(self)
lmcache/v1/multiprocess/modules/blend_v3.py:429
Methodclose
Release any resources held by this context.
lmcache/v1/multiprocess/transfer_context/base.py:193
Methodclose
(self)
lmcache/v1/multiprocess/transfer_context/worker_transfer.py:309
Methodclose
(self)
lmcache/v1/multiprocess/transfer_context/worker_transfer.py:497
Methodclose
No-op: the pickle path holds no persistent resources.
lmcache/v1/multiprocess/transfer_context/pickle.py:109
Methodclose
(self)
lmcache/v1/platform/event_notifier.py:130
Methodclose
Release device-specific resources (GDS staging buffers, etc.).
lmcache/v1/platform/base_cache_context.py:106
Methodclose
Release resources. No-op for CPU context (no GDS staging buffer).
lmcache/v1/platform/cpu/cache_context.py:218
Methodclose
Deregister this context's GDS staging buffer (reverse of __init__).
lmcache/v1/platform/cuda/cache_context.py:435
Methodclose
Do the cleanup things Children classes should override this method if necessary
lmcache/v1/server/storage_backend/abstract_backend.py:75
Methodclose
Close the transport and release resources.
lmcache/v1/rpc/transport.py:61
Methodclose
Close the transport and release resources.
lmcache/v1/rpc/transport.py:103
Methodclose
(self)
lmcache/v1/rpc/zmq_transport.py:212
Methodclose
(self)
lmcache/v1/offload_server/zmq_server.py:92
Methodclose
Close the offload server and clean up resources.
lmcache/v1/offload_server/abstract_server.py:35
Methodclose
(self)
lmcache/v1/storage_backend/nixl_storage_backend.py:317
Methodclose
(self)
lmcache/v1/storage_backend/nixl_storage_backend.py:360
Methodclose
(self)
lmcache/v1/storage_backend/nixl_storage_backend.py:548
Methodclose
(self)
lmcache/v1/storage_backend/nixl_storage_backend.py:623
Methodclose
(self)
lmcache/v1/storage_backend/nixl_storage_backend.py:746
Methodclose
(self)
lmcache/v1/storage_backend/nixl_storage_backend.py:954
Methodclose
Close the storage backend.
lmcache/v1/storage_backend/nixl_storage_backend.py:1336
Methodclose
Close the storage backend.
lmcache/v1/storage_backend/nixl_storage_backend.py:2135
Methodclose
Close backend with audit logging.
lmcache/v1/storage_backend/audit_backend.py:87
Methodclose
Close the storage backend.
lmcache/v1/storage_backend/abstract_backend.py:264
Methodclose
Close the backend and underlying MaruHandler.
lmcache/v1/storage_backend/maru_backend.py:725
Methodclose
(self)
lmcache/v1/storage_backend/local_disk_backend.py:672
← previousnext →6,601–6,700 of 13,371, ranked by callers