MCPcopy Create free account

hub / github.com/LMCache/LMCache / functions

Functions13,371 in github.com/LMCache/LMCache

Methodget_allocator_backend
(self)
lmcache/v1/storage_backend/local_cpu_backend.py:935
Methodget_allocator_backend
(self)
lmcache/v1/storage_backend/remote_backend.py:607
Methodget_allocator_backend
Get the allocator backend that is used by the current storage backend to allocate memory objects during `get` operations. :r
lmcache/v1/storage_backend/abstract_backend.py:254
Methodget_allocator_backend
(self)
lmcache/v1/storage_backend/gds_backend.py:1195
Methodget_allocator_backend
(self)
lmcache/v1/storage_backend/p2p_backend.py:700
Methodget_allocator_backend
Returns self as the allocator backend.
lmcache/v1/storage_backend/maru_backend.py:179
Methodget_allocator_backend
(self)
lmcache/v1/storage_backend/local_disk_backend.py:669
Methodget_allocator_backend
Return the allocator backend instance (self). :return: This backend instance, which implements AllocatorBackendInterface. :rtype: PDB
lmcache/v1/storage_backend/pd_backend_async.py:517
Methodget_allocator_backend
(self)
lmcache/v1/storage_backend/plugins/rust_raw_block_backend.py:654
Methodget_allocator_backend
Return the CPU allocator backend used for read buffers. Raises: RuntimeError: If no ``local_cpu_backend`` is available.
lmcache/v1/storage_backend/plugins/dax_backend.py:589
Methodget_block_ids_with_load_errors
Get the set of block IDs that failed to load. Returns: Set of block IDs that encountered load errors. Empty
lmcache/integration/vllm/lmcache_mp_connector.py:832
Methodget_block_ids_with_load_errors
Get the set of block IDs that failed to load. Returns: Set of block IDs that encountered load errors. Empty
lmcache/integration/vllm/lmcache_mp_connector_0201.py:703
Methodget_block_ids_with_load_errors
Get the set of block IDs that failed to load. Returns: Set of block IDs that encountered load errors. Empty
lmcache/integration/vllm/lmcache_mp_connector_0180.py:663
Methodget_block_ids_with_load_errors
Returns the block IDs that failed due to retrieve timeout, then clears the internal set.
lmcache/integration/vllm/vllm_multi_process_adapter.py:1689
Methodget_block_ids_with_load_errors
Return block IDs that failed to load during the last interval.
lmcache/integration/vllm/lmcache_connector_v1.py:134
Methodget_blocking
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/nixl_storage_backend.py:929
Methodget_blocking
A blocking function to get the kv cache from the storage backend. :param key: The key of the MemoryObj. :return: MemoryObj.
lmcache/v1/storage_backend/nixl_storage_backend.py:1254
Methodget_blocking
A blocking function to get the kv cache from the storage backend. :param key: The key of the MemoryObj. :return: MemoryObj.
lmcache/v1/storage_backend/nixl_storage_backend.py:2060
Methodget_blocking
Retrieve data with audit logging.
lmcache/v1/storage_backend/audit_backend.py:72
Methodget_blocking
( self, key: CacheEngineKey, )
lmcache/v1/storage_backend/local_cpu_backend.py:208
Methodget_blocking
( self, key: CacheEngineKey, )
lmcache/v1/storage_backend/gds_backend.py:759
Methodget_blocking
( self, key: CacheEngineKey, )
lmcache/v1/storage_backend/p2p_backend.py:766
Methodget_blocking
Blocking get: read KV cache directly from CXL memory. Queries MaruServer for metadata, then returns a MemoryObj via CxlMemoryAdapter.
lmcache/v1/storage_backend/maru_backend.py:430
Methodget_blocking
Load a cached KV chunk from disk synchronously. The cache policy is updated only after a successful load so that a failed lo
lmcache/v1/storage_backend/local_disk_backend.py:393
Methodget_blocking
Retrieve the memory object for the given key (blocking). Since PDBackendAsync uses push-based transfer, the key is expected to alread
lmcache/v1/storage_backend/pd_backend_async.py:1474
Methodget_blocking_failed_count
(self)
lmcache/v1/storage_backend/remote_backend.py:389
Methodget_bypass_backend_name
Return the backend name to bypass when this health check fails. Returns: Optional[str]: The backend name (e.g., "RemoteB
lmcache/v1/health_monitor/checks/remote_backend_check.py:126
Methodget_bytes
(self, url: str, *, timeout: Optional[float] = None)
lmcache/connections.py:87
Functionget_chunk_statistics_status
(request: Request)
lmcache/v1/internal_api_server/vllm/chunk_statistics_api.py:115
Methodget_client_name
(self)
lmcache/v1/storage_backend/connector/hf3fs_connector.py:621
Functionget_commit_id
()
lmcache/v1/internal_api_server/vllm/version_api.py:19
Methodget_completed_count
Get count of workers that have completed sync. Note: Uses cached worker list for Prometheus metrics efficiency.
lmcache/v1/cache_controller/controllers/full_sync_tracker.py:349
Functionget_composite_kv_dtype
Get a representative dtype for composite KV cache. Returns the dtype of the first layer group for compatibility.
lmcache/v1/standalone/__main__.py:184
Functionget_config
Handle config requests from LMCache workers. Expected request body: { "current_config": {...}, "env_variables": {...}
examples/remote_config_server/config_server.py:89
Functionget_config
(request: Request, names: Optional[str] = None)
lmcache/v1/internal_api_server/vllm/conf_api.py:43
Functionget_delta
()
tests/v1/mp_observability/subscribers/metrics/test_cb_server.py:42
Functionget_delta
()
tests/v1/mp_observability/subscribers/metrics/test_l1_eviction_loop.py:42
Functionget_delta
()
tests/v1/mp_observability/subscribers/metrics/test_l2_failures.py:49
Functionget_delta
()
tests/v1/mp_observability/subscribers/metrics/test_l2.py:114
Functionget_delta
()
tests/v1/mp_observability/subscribers/metrics/test_lookup.py:100
Functionget_delta
()
tests/v1/mp_observability/subscribers/metrics/test_l1_failures.py:50
Methodget_dtype
(self)
lmcache/v1/memory_management.py:708
Methodget_dtype
(self)
lmcache/v1/memory_management.py:927
Methodget_dtype
(self)
lmcache/v1/memory_management.py:1050
Methodget_dtypes
Get the dtypes of the MemoryObj.
lmcache/v1/memory_management.py:251
Methodget_dtypes
(self)
lmcache/v1/memory_management.py:716
Methodget_dtypes
(self)
lmcache/v1/memory_management.py:933
Methodget_dtypes
(self)
lmcache/v1/memory_management.py:1059
Methodget_elapsed_time
(self, operation_name)
lmcache/v1/storage_backend/connector/eic_connector.py:61
Methodget_engine_instance_id
Return the instance_id used to register the engine with LMCacheEngineBuilder. Used by LMCacheManager for engine destruction.
lmcache/integration/base_service_factory.py:48
Methodget_engine_instance_id
(self)
lmcache/integration/vllm/vllm_service_factory.py:61
Functionget_env
Get all environment variables
lmcache/v1/internal_api_server/common/env_api.py:14
Methodget_evict_candidates
Evict cache when a new cache comes and the storage is full Input: cache_dict: a dict consists of current cache
lmcache/v1/storage_backend/cache_policy/base_policy.py:72
Methodget_evict_candidates
( self, cache_dict: dict[KeyType, Any], num_candidates: int = 1, )
lmcache/v1/storage_backend/cache_policy/fifo.py:45
Methodget_evict_candidates
( self, cache_dict: OrderedDict[KeyType, Any], num_candidates: int = 1, )
lmcache/v1/storage_backend/cache_policy/lru.py:68
Methodget_evict_candidates
( self, cache_dict: OrderedDict[KeyType, Any], num_candidates: int = 1, )
lmcache/v1/storage_backend/cache_policy/mru.py:47
Methodget_finished
Notifies worker-side connector ids of requests that have finished generating tokens on the worker. The scheduler process (via
lmcache/integration/vllm/lmcache_mp_connector.py:812
Methodget_finished
Notifies worker-side connector ids of requests that have finished generating tokens on the worker. The scheduler process (via
lmcache/integration/vllm/lmcache_mp_connector_0201.py:683
Methodget_finished
Notifies worker-side connector ids of requests that have finished generating tokens on the worker. The scheduler process (via
lmcache/integration/vllm/lmcache_mp_connector_0180.py:643
Methodget_finished
Check and get the finished store and retrieve requests. Args: finished_req_ids_from_engine: the set of request ids that
lmcache/integration/vllm/vllm_multi_process_adapter.py:1555
Methodget_finished
Notifies worker-side connector ids of requests that have finished generating tokens. Returns: ids of requests th
lmcache/integration/vllm/lmcache_connector_v1.py:118
Methodget_finished
All operations are synchronous — nothing is ever pending.
lmcache/integration/tensorrt_llm/tensorrt_mp_adapter.py:482
Methodget_finished
All ops are synchronous here — nothing is ever pending.
lmcache/integration/tensorrt_llm/tensorrt_adapter.py:371
Methodget_finished_count
Get the count of requests expected to complete send/receive operations via this connector. This method is used to initialize the
lmcache/integration/vllm/lmcache_mp_connector.py:1142
Methodget_finished_count
Get the count of requests expected to complete send/receive operations via this connector. This method is used to initialize the
lmcache/integration/vllm/lmcache_mp_connector_0201.py:998
Methodget_finished_count
Get the count of requests expected to complete send/receive operations via this connector. This method is used to initialize the
lmcache/integration/vllm/lmcache_mp_connector_0180.py:935
Methodget_free_size
Get the total free size in bytes.
lmcache/v1/memory_management.py:1864
Functionget_freeze_status
Get the current freeze mode status of the LMCache engine. Args: request (Request): The FastAPI request object containing application
lmcache/v1/internal_api_server/vllm/freeze_api.py:124
Methodget_full_chunk_size_bytes
return a default chunk size only for testing.
tests/v1/storage_backend/test_raw_block_uring_cmd.py:111
Methodget_group_kv_pointers
Returns the KV cache pointer tensor for the given group.
lmcache/v1/platform/cpu/cache_context.py:284
Methodget_handler_type
(self)
lmcache/v1/multiprocess/mq.py:427
Methodget_handler_type
(self)
lmcache/v1/multiprocess/mq.py:469
Methodget_handlers
Return handler specs for all request types this module serves.
lmcache/v1/multiprocess/engine_module.py:55
Methodget_handlers
Return handler specs for all request types this module serves. Returns: A list of HandlerSpec entries mapping request types to
lmcache/v1/multiprocess/modules/management.py:81
Methodget_handlers
Return handler specs for all request types this module serves. Returns: A list of HandlerSpec entries mapping request types to
lmcache/v1/multiprocess/modules/engine_driven_transfer.py:100
Methodget_handlers
Return handler specs for all request types this module serves. Returns: List of handler specs for lookup-related request types.
lmcache/v1/multiprocess/modules/lookup.py:114
Methodget_handlers
Return handler specs for all request types this module serves. Returns: A list of HandlerSpec entries mapping request types to
lmcache/v1/multiprocess/modules/lmcache_driven_transfer.py:555
Methodget_handlers
(self)
lmcache/v1/multiprocess/modules/blend_v3.py:388
Methodget_health_checks
Get all registered health checks
lmcache/v1/health_monitor/base.py:257
Methodget_heap_size
Get the total size of the paged address space in bytes.
lmcache/v1/memory_management.py:1860
Functionget_heartbeat_status
Get heartbeat status
lmcache/lmcache_frontend/app.py:687
Functionget_hot_cache_status
Get the current hot cache status of LocalCPUBackend. Args: request: The FastAPI request object. Returns: PlainTextRespo
lmcache/v1/internal_api_server/vllm/hot_cache_api.py:139
Functionget_inference_info
Get inference information including vLLM config and LMCache details Args: format: Optional format parameter (currently unused, for f
lmcache/v1/internal_api_server/vllm/inference_api.py:15
Methodget_inference_info
Get inference information including vLLM config and related details. Returns: dict: Dictionary containing inference information
lmcache/integration/vllm/vllm_v1_adapter.py:675
Functionget_inference_version
Get vLLM version information Returns: PlainTextResponse: vLLM version string
lmcache/v1/internal_api_server/vllm/inference_api.py:43
Methodget_infos
()
tests/v1/cache_controller/test_registry_tree.py:581
Methodget_instances_by_ip
Get all instances by IP address.
lmcache/v1/cache_controller/utils.py:469
Methodget_kernel_group_kv_pointers
Returns the KV-cache pointer tensor for *kernel_group_idx*.
lmcache/v1/platform/base_cache_context.py:111
Methodget_kernel_group_kv_pointers
Returns the pre-computed GPU tensor of KV cache pointers for the given kernel group index.
lmcache/v1/platform/cuda/cache_context.py:457
Methodget_kernel_group_shape_dtype
Returns ``(shape, dtype)`` for *kernel_group_idx*.
lmcache/v1/platform/base_cache_context.py:132
Methodget_kernel_group_shape_dtype
Returns the shape and dtype for the given kernel group index and number of tokens. Will be exported by GPUCacheContext and used to con
lmcache/v1/platform/cuda/cache_context.py:502
Functionget_key_stats
Get key statistics across all instances and workers. Returns: - Total key count across all instances - Total instance count
lmcache/v1/internal_api_server/controller/key_stats_api.py:26
Methodget_kv
Get the KV cache for the given layer ID. This function is used to get the KV cache from the GPU buffer.
lmcache/v1/gpu_connector/xpu_connectors.py:579
Methodget_kv_connector_stats
Get the KV connector stats collected during the last interval.
lmcache/integration/vllm/lmcache_mp_connector.py:864
Methodget_kv_connector_stats
Get the KV connector stats collected during the last interval.
lmcache/integration/vllm/lmcache_mp_connector_0201.py:733
Methodget_kv_connector_stats
Get the KV connector stats collected during the last interval.
lmcache/integration/vllm/lmcache_mp_connector_0180.py:693
Methodget_kv_events
(self)
lmcache/integration/vllm/vllm_v1_adapter.py:1887
Methodget_kv_events
(self)
lmcache/integration/sglang/sglang_adapter.py:194
Methodget_kv_events
(self)
lmcache/v1/cache_engine.py:1569
Functionget_kv_wrapper_factory
Pick the KV-cache wrapper factory for ``device_type``. A missing entry means the caller is asking for a backend that nobody registered (typic
lmcache/v1/platform/_registry.py:79
← previousnext →7,301–7,400 of 13,371, ranked by callers