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
max_batch_size
(self)
tests/v1/platform/test_cache_context_dispatch.py:87
Method
max_batch_size
Returns the maximum number of concurrent batches.
lmcache/v1/platform/base_cache_context.py:101
Method
max_batch_size
Returns the maximum number of concurrent batches.
lmcache/v1/platform/cpu/cache_context.py:230
Method
max_batch_size
Maximum number of chunks (batch slots) the buffer holds.
lmcache/v1/platform/cuda/cache_context.py:170
Method
max_batch_size
Maximum number of chunks processed concurrently in one batch.
lmcache/v1/platform/cuda/cache_context.py:481
Method
max_dax_size_bytes
Return this device's configured arena size in bytes.
lmcache/v1/distributed/l2_adapters/dax_l2_adapter.py:95
Method
max_duration
(self)
lmcache/cli/commands/bench/l2_adapter_bench/result.py:88
Method
max_slots
Return the maximum number of slots in the arena.
lmcache/v1/storage_backend/dax/core.py:163
Method
max_throughput_mbps
(self)
lmcache/cli/commands/bench/l2_adapter_bench/result.py:133
Method
maybe_create_health_monitor
( self, lmcache_manager: "LMCacheManager" )
lmcache/integration/base_service_factory.py:92
Method
maybe_create_health_monitor
( self, lmcache_manager: "LMCacheManager" )
lmcache/integration/vllm/vllm_service_factory.py:334
Method
maybe_create_internal_api_server
( self, lmcache_manager: "LMCacheManager" )
lmcache/integration/base_service_factory.py:86
Method
maybe_create_internal_api_server
( self, lmcache_manager: "LMCacheManager" )
lmcache/integration/vllm/vllm_service_factory.py:322
Method
maybe_create_lookup_client
(self)
lmcache/integration/base_service_factory.py:62
Method
maybe_create_lookup_client
(self)
lmcache/integration/vllm/vllm_service_factory.py:248
Method
maybe_create_lookup_server
( self, )
lmcache/integration/base_service_factory.py:70
Method
maybe_create_lookup_server
( self, )
lmcache/integration/vllm/vllm_service_factory.py:264
Method
maybe_create_offload_server
(self)
lmcache/integration/base_service_factory.py:76
Method
maybe_create_offload_server
(self)
lmcache/integration/vllm/vllm_service_factory.py:283
Method
maybe_create_prometheus_logger
(self)
lmcache/integration/base_service_factory.py:66
Method
maybe_create_prometheus_logger
(self)
lmcache/integration/vllm/vllm_service_factory.py:243
Method
maybe_create_prometheus_logger
(self)
lmcache/v1/standalone/standalone_service_factory.py:66
Method
maybe_create_runtime_plugin_launcher
( self, )
lmcache/integration/base_service_factory.py:80
Method
maybe_create_runtime_plugin_launcher
( self, )
lmcache/integration/vllm/vllm_service_factory.py:300
Method
memcheck
(self)
lmcache/v1/lazy_memory_allocator.py:211
Method
memcheck
Checks the memory allocator for consistency. Returns: True if everything is fine otherwise False
lmcache/v1/memory_management.py:1226
Method
memcheck
For debug purposes. Returns True is everything is fine, otherwise False.
lmcache/v1/memory_management.py:2107
Method
memcheck
(self)
lmcache/v1/memory_management.py:2276
Method
memcheck
(self)
lmcache/v1/memory_management.py:2975
Method
memcheck
(self)
lmcache/v1/memory_management.py:3194
Method
memcheck
Perform memory check for all storage tiers. Returns: True if memory is consistent, False otherwise.
lmcache/v1/distributed/storage_manager.py:966
Method
memcheck
Verify allocator bookkeeping consistency.
lmcache/v1/distributed/memory_manager/l1_manager_protocol.py:48
Method
memcheck
(self)
lmcache/v1/distributed/memory_manager/l1_memory_manager.py:237
Function
memory_allocator
One MixedMemoryAllocator (5GB) for the whole test session; .close() is a no-op per-test.
tests/conftest.py:746
Function
memory_allocator
Create a memory allocator for testing.
tests/v1/storage_backend/test_hf3fs_connector.py:225
Method
memory_allocator
(self)
tests/v1/storage_backend/test_bigtable_integration.py:115
Method
meta_magic_text
Return the ASCII metadata checkpoint magic.
lmcache/v1/storage_backend/plugins/rust_raw_block_backend.py:189
Method
meta_total_bytes
Return the reserved metadata checkpoint region size.
lmcache/v1/storage_backend/plugins/rust_raw_block_backend.py:184
Method
meta_version
Return the metadata checkpoint format version.
lmcache/v1/storage_backend/plugins/rust_raw_block_backend.py:194
Method
metadata
Get the metada of the MemoryObj.
lmcache/v1/memory_management.py:347
Method
metadata
(self)
lmcache/v1/memory_management.py:802
Method
metadata
(self)
lmcache/v1/memory_management.py:972
Method
metadata
(self)
lmcache/v1/memory_management.py:1098
Method
metadata_container_offsets
Return checkpoint metadata container offsets in bytes.
lmcache/v1/storage_backend/raw_block/core.py:606
Method
metadata_server
(self)
lmcache/v1/storage_backend/connector/mooncakestore_connector.py:208
Method
method
(self, a, b=2)
tests/v1/mp_observability/trace/test_decorator.py:76
Method
min_duration
(self)
lmcache/cli/commands/bench/l2_adapter_bench/result.py:84
Method
min_throughput_mbps
(self)
lmcache/cli/commands/bench/l2_adapter_bench/result.py:128
Method
mixed_operations
(thread_id)
tests/v1/cache_controller/test_registry_tree.py:89
Method
mmap_obj
Return the active mmap object, or ``None`` after close.
lmcache/v1/storage_backend/dax/core.py:173
Function
mock_3fs_mount_point
Provide a mock 3FS mount point using a temporary directory. Creates a directory structure that mimics 3FS mount point: - mock_3fs_mount/3f
tests/v1/storage_backend/test_hf3fs_connector.py:169
Function
mock_admit_kv
(instance_id, worker_id, location, key)
tests/v1/cache_controller/conftest.py:239
Function
mock_alloc
(size)
tests/v1/storage_backend/test_maru_backend.py:85
Function
mock_async_gen
(items)
tests/v1/storage_backend/test_bigtable_connector.py:165
Function
mock_backend
()
tests/v1/test_health_monitor.py:99
Function
mock_base_path
Provide a mock base path under the mock 3FS mount point. Returns: str: Path to the mock base storage directory
tests/v1/storage_backend/test_hf3fs_connector.py:187
Function
mock_cluster_executor
Create a mock LMCacheClusterExecutor.
tests/v1/cache_controller/conftest.py:408
Function
mock_connector
Fixture for mock connector
tests/v1/storage_backend/test_audit_connector.py:102
Function
mock_deregister_worker
(instance_id, worker_id)
tests/v1/cache_controller/conftest.py:292
Function
mock_engine
(mock_storage_manager)
tests/v1/internal_api_server/test_backend_api.py:65
Function
mock_engine
Create a mock engine with cache_contexts.
tests/v1/multiprocess/test_http_server.py:57
Method
mock_engine
(self)
tests/v1/internal_api_server/test_hot_cache_api.py:18
Function
mock_evict_kv
(instance_id, worker_id, location, key)
tests/v1/cache_controller/conftest.py:248
Function
mock_find_kv
(key, exclude_instance_id=None)
tests/v1/cache_controller/conftest.py:261
Function
mock_find_kv_with_worker_info
Find KV and return (kv_info, peer_init_url, current_keys)
tests/v1/cache_controller/conftest.py:306
Function
mock_get_seq_discontinuity_count
()
tests/v1/cache_controller/conftest.py:288
Function
mock_get_seq_num
(instance_id, worker_id, location)
tests/v1/cache_controller/conftest.py:230
Function
mock_get_total_kv_count
()
tests/v1/cache_controller/conftest.py:281
Function
mock_get_worker_kv_keys
(instance_id, worker_id, location)
tests/v1/cache_controller/conftest.py:275
Function
mock_gpu_ctx
Create a mock GPUCacheContext with kv_tensors.
tests/v1/multiprocess/test_http_server.py:41
Function
mock_handle_batched_kv_operations
Handle batched KV operations
tests/v1/cache_controller/conftest.py:323
Function
mock_handler
()
tests/v1/storage_backend/test_maru_backend.py:155
Function
mock_hf3fs
Mock hf3fs_fuse.io module for testing without 3FS filesystem. This fixture creates a fake hf3fs_fuse.io module in sys.modules before any impo
tests/conftest.py:597
Method
mock_kv_caches
Create mock kv_caches tensors for testing.
tests/v1/internal_api_server/test_kvcache_check_api.py:28
Function
mock_kv_controller
Create a mock KVController.
tests/v1/cache_controller/conftest.py:384
Method
mock_lmcache_adapter
Create a mock LMCacheConnectorV1Impl adapter with real backend.
tests/v1/internal_api_server/test_load_fs_chunks.py:80
Method
mock_lmcache_adapter
Create a mock LMCacheConnectorV1Impl adapter.
tests/v1/internal_api_server/test_kvcache_check_api.py:36
Method
mock_lmcache_adapter
Create a mock LMCacheConnectorV1Impl adapter.
tests/v1/internal_api_server/test_cache_clear.py:19
Method
mock_lmcache_adapter_with_config
Create a mock LMCacheConnectorV1Impl adapter with config.
tests/v1/internal_api_server/test_run_script.py:59
Function
mock_lmcache_engine
Create a mock LMCacheEngine.
tests/v1/cache_controller/conftest.py:459
Function
mock_local_cpu_backend
()
tests/v1/test_health_monitor_fallback_recovery.py:156
Function
mock_manager
()
tests/v1/test_health_monitor.py:85
Function
mock_manager
(test_config, mock_storage_manager)
tests/v1/test_health_monitor_fallback_recovery.py:177
Function
mock_pq_executor
()
tests/v1/storage_backend/test_bigtable_connector.py:242
Method
mock_query_iter
()
tests/v1/storage_backend/test_bigtable_connector.py:793
Function
mock_redis
()
tests/conftest.py:569
Function
mock_redis_cluster
()
tests/conftest.py:591
Function
mock_redis_sentinel
()
tests/conftest.py:582
Function
mock_reg_controller
Create a mock RegistrationController.
tests/v1/cache_controller/conftest.py:218
Function
mock_remote_backend
(event_loop_thread, test_config, controllable_connector)
tests/v1/test_health_monitor_fallback_recovery.py:144
Function
mock_resp_client
Use in-memory MockRESPClient so tests never hit real Redis (no 6379).
tests/v1/storage_backend/test_resp_connector.py:38
Method
mock_scheduler_manager
Create a mock LMCacheManager for scheduler role.
tests/v1/internal_api_server/test_lookup_api.py:25
Function
mock_set_on_region_added
(callback)
tests/v1/storage_backend/test_maru_backend.py:77
Function
mock_storage_manager
(mock_remote_backend, mock_local_cpu_backend)
tests/v1/test_health_monitor_fallback_recovery.py:164
Function
mock_storage_manager
Create a mock StorageManager with two fake backends.
tests/v1/internal_api_server/test_backend_api.py:44
Function
mock_thread_worker_pool
Replace _ThreadWorkerPool with in-memory mock so tests never need glide_sync or a real Valkey server.
tests/v1/storage_backend/test_valkey_connector.py:146
Function
mock_up_broadcast_fn
(t: torch.Tensor, i: int)
lmcache/utils.py:776
Function
mock_up_broadcast_object_fn
(a: Any, i: int)
lmcache/utils.py:780
Function
mock_update_seq_num
(instance_id, worker_id, location, seq_num)
tests/v1/cache_controller/conftest.py:234
Method
mock_worker_manager
Create a mock LMCacheManager for worker role.
tests/v1/internal_api_server/test_lookup_api.py:44
← previous
next →
7,901–8,000 of 13,371, ranked by callers