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
check_kv_cache_device
(kvs, device)
tests/v1/utils.py:626
Function
check_mode
Decorator to mark functions as check modes
lmcache/v1/check/__init__.py:62
Method
chunk_hash_hex
(self)
lmcache/utils.py:557
Method
chunk_size
(self)
lmcache/integration/sglang/multi_process_adapter.py:185
Method
chunk_size
(self)
lmcache/integration/sglang/sglang_adapter.py:199
Method
chunk_size
Chunk size for KV cache operations.
lmcache/v1/multiprocess/engine_context.py:173
Function
cleanup
()
tests/v1/native_storage_ops/test_periodic_event_notifier.py:22
Function
cleanup_google_mocks
()
tests/v1/storage_backend/test_bigtable_connector.py:99
Function
clear
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
Function
clear
(req: ClearRequest)
lmcache/v1/api_server/__main__.py:211
Method
clear
Clear kv chunks of instance-worker(s).
lmcache/v1/cache_controller/controllers/kv_controller.py:107
Method
clear
Clear the cache.
lmcache/v1/utils/cache_utils.py:65
Function
clearEnvFilter
()
lmcache/lmcache_frontend/static/js/app.js:1179
Method
clear_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
Function
clear_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
Method
clear_lookup_status
(self, lookup_id: str)
lmcache/v1/lookup_client/chunk_statistics_lookup_client.py:159
Method
clear_lookup_status
(self, lookup_id: str)
lmcache/v1/lookup_client/lmcache_lookup_client.py:160
Method
clear_lookup_status
(self, lookup_id: str)
lmcache/v1/lookup_client/hit_limit_lookup_client.py:79
Function
client
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
Function
client
Fixture that provides a message queue client for each test function.
tests/v1/multiprocess/test_cache_server.py:293
Function
client_context
Fixture that provides a client context with initialized KV cache.
tests/v1/multiprocess/test_cache_server.py:306
Function
client_no_engine
Create a test client without engine.
tests/v1/multiprocess/test_http_server.py:75
Method
client_with_adapter
Create a test client with mocked adapter.
tests/v1/internal_api_server/test_load_fs_chunks.py:97
Method
client_with_adapter
Create a test client with mocked adapter.
tests/v1/internal_api_server/test_kvcache_check_api.py:90
Method
client_with_adapter
Create a test client with mocked adapter.
tests/v1/internal_api_server/test_run_script.py:67
Method
client_with_adapter
Create a test client with mocked adapter.
tests/v1/internal_api_server/test_cache_clear.py:31
Function
client_with_engine
(mock_engine)
tests/v1/internal_api_server/test_backend_api.py:72
Function
client_with_engine
Create a test client with mocked engine.
tests/v1/multiprocess/test_http_server.py:65
Method
client_with_engine
(self, mock_engine)
tests/v1/internal_api_server/test_hot_cache_api.py:25
Method
client_with_real_controller
(self, real_controller_manager)
tests/v1/internal_api_server/test_worker_info_api.py:102
Method
client_without_controller
(self)
tests/v1/internal_api_server/test_worker_info_api.py:108
Function
client_without_engine
()
tests/v1/internal_api_server/test_backend_api.py:82
Method
client_without_engine
(self)
tests/v1/internal_api_server/test_hot_cache_api.py:34
Method
close
(self)
tests/conftest.py:227
Method
close
(self)
tests/conftest.py:339
Method
close
(self)
tests/conftest.py:366
Method
close
(self)
tests/conftest.py:758
Method
close
(self)
tests/v1/test_health_monitor_fallback_recovery.py:67
Method
close
(self)
tests/v1/distributed/test_native_connector_l2_adapter.py:1241
Method
close
(self)
tests/v1/distributed/test_l2_adapter_factory.py:909
Method
close
(self)
tests/v1/distributed/transfer_channel/test_context_lifecycle.py:60
Method
close
(self)
tests/v1/platform/test_cache_context_dispatch.py:90
Method
close
(self)
tests/v1/storage_backend/test_gds_backend.py:499
Method
close
(self)
tests/v1/storage_backend/test_gds_backend.py:737
Method
close
(self)
tests/v1/storage_backend/test_rust_raw_block_backend.py:72
Method
close
Shutdown the thread pool executor.
lmcache/integration/request_telemetry/fastapi.py:101
Method
close
(self)
lmcache/integration/request_telemetry/noop.py:34
Method
close
(self)
lmcache/integration/sglang/multi_process_adapter.py:536
Method
close
(self)
lmcache/integration/sglang/sglang_adapter.py:205
Method
close
(self)
lmcache/v1/lazy_memory_allocator.py:197
Method
close
Closes the memory allocator. This is called when the LMCacheEngine is closed.
lmcache/v1/memory_management.py:1219
Method
close
Close the transfer channel and release any resources.
lmcache/v1/transfer_channel/abstract.py:281
Method
close
(self)
lmcache/v1/distributed/l2_adapters/serde_wrapper.py:339
Method
close
(self)
lmcache/v1/distributed/l2_adapters/dax_l2_adapter.py:84
Method
close
Terminate in-flight requests, deregister from the server, free resources.
lmcache/v1/distributed/transfer_channel/abstract.py:88
Method
close
Stop and clean up all servers and clients; free context resources.
lmcache/v1/distributed/transfer_channel/abstract.py:164
Method
close
Close the transfer channel server, stopping the serve loop and closing the socket.
lmcache/v1/distributed/transfer_channel/impl/nixl_impl.py:294
Method
close
Release all resources.
lmcache/v1/distributed/memory_manager/l1_manager_protocol.py:44
Method
close
No-op: the GDSContext owning the slab is closed at server shutdown.
lmcache/v1/distributed/memory_manager/gds_l1_memory_manager.py:123
Method
close
Release resources (event fds, threads, etc.).
lmcache/v1/distributed/serde/base.py:213
Method
close
Close the lookup client and clean up resources.
lmcache/v1/lookup_client/abstract_client.py:57
Method
close
(self)
lmcache/v1/lookup_client/lmcache_async_lookup_client.py:398
Method
close
(self)
lmcache/v1/lookup_client/mooncake_lookup_client.py:94
Method
close
(self)
lmcache/v1/lookup_client/hit_limit_lookup_client.py:85
Method
close
(self)
lmcache/v1/lookup_client/lmcache_lookup_client_bypass.py:97
Method
close
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
Method
close
Shutdown async worker and clean up resources.
lmcache/v1/lookup_client/record_strategies/base.py:315
Method
close
Tear down the storage manager and the process-global GDS context.
lmcache/v1/multiprocess/engine_context.py:164
Method
close
Release resources owned by this module.
lmcache/v1/multiprocess/engine_module.py:63
Method
close
Release resources owned by this module.
lmcache/v1/multiprocess/modules/blend.py:412
Method
close
Release resources owned by this module.
lmcache/v1/multiprocess/modules/engine_driven_transfer.py:166
Method
close
Release resources owned by this module (no-op).
lmcache/v1/multiprocess/modules/lookup.py:159
Method
close
Stop the poll thread and release peer adapters and the channel.
lmcache/v1/multiprocess/modules/p2p_controller.py:202
Method
close
(self)
lmcache/v1/multiprocess/modules/blend_v3.py:429
Method
close
Release any resources held by this context.
lmcache/v1/multiprocess/transfer_context/base.py:193
Method
close
(self)
lmcache/v1/multiprocess/transfer_context/worker_transfer.py:309
Method
close
(self)
lmcache/v1/multiprocess/transfer_context/worker_transfer.py:497
Method
close
No-op: the pickle path holds no persistent resources.
lmcache/v1/multiprocess/transfer_context/pickle.py:109
Method
close
(self)
lmcache/v1/platform/event_notifier.py:130
Method
close
Release device-specific resources (GDS staging buffers, etc.).
lmcache/v1/platform/base_cache_context.py:106
Method
close
Release resources. No-op for CPU context (no GDS staging buffer).
lmcache/v1/platform/cpu/cache_context.py:218
Method
close
Deregister this context's GDS staging buffer (reverse of __init__).
lmcache/v1/platform/cuda/cache_context.py:435
Method
close
Do the cleanup things Children classes should override this method if necessary
lmcache/v1/server/storage_backend/abstract_backend.py:75
Method
close
Close the transport and release resources.
lmcache/v1/rpc/transport.py:61
Method
close
Close the transport and release resources.
lmcache/v1/rpc/transport.py:103
Method
close
(self)
lmcache/v1/rpc/zmq_transport.py:212
Method
close
(self)
lmcache/v1/offload_server/zmq_server.py:92
Method
close
Close the offload server and clean up resources.
lmcache/v1/offload_server/abstract_server.py:35
Method
close
(self)
lmcache/v1/storage_backend/nixl_storage_backend.py:317
Method
close
(self)
lmcache/v1/storage_backend/nixl_storage_backend.py:360
Method
close
(self)
lmcache/v1/storage_backend/nixl_storage_backend.py:548
Method
close
(self)
lmcache/v1/storage_backend/nixl_storage_backend.py:623
Method
close
(self)
lmcache/v1/storage_backend/nixl_storage_backend.py:746
Method
close
(self)
lmcache/v1/storage_backend/nixl_storage_backend.py:954
Method
close
Close the storage backend.
lmcache/v1/storage_backend/nixl_storage_backend.py:1336
Method
close
Close the storage backend.
lmcache/v1/storage_backend/nixl_storage_backend.py:2135
Method
close
Close backend with audit logging.
lmcache/v1/storage_backend/audit_backend.py:87
Method
close
Close the storage backend.
lmcache/v1/storage_backend/abstract_backend.py:264
Method
close
Close the backend and underlying MaruHandler.
lmcache/v1/storage_backend/maru_backend.py:725
Method
close
(self)
lmcache/v1/storage_backend/local_disk_backend.py:672
← previous
next →
6,601–6,700 of 13,371, ranked by callers