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
get_allocator_backend
(self)
lmcache/v1/storage_backend/local_cpu_backend.py:935
Method
get_allocator_backend
(self)
lmcache/v1/storage_backend/remote_backend.py:607
Method
get_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
Method
get_allocator_backend
(self)
lmcache/v1/storage_backend/gds_backend.py:1195
Method
get_allocator_backend
(self)
lmcache/v1/storage_backend/p2p_backend.py:700
Method
get_allocator_backend
Returns self as the allocator backend.
lmcache/v1/storage_backend/maru_backend.py:179
Method
get_allocator_backend
(self)
lmcache/v1/storage_backend/local_disk_backend.py:669
Method
get_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
Method
get_allocator_backend
(self)
lmcache/v1/storage_backend/plugins/rust_raw_block_backend.py:654
Method
get_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
Method
get_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
Method
get_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
Method
get_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
Method
get_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
Method
get_block_ids_with_load_errors
Return block IDs that failed to load during the last interval.
lmcache/integration/vllm/lmcache_connector_v1.py:134
Method
get_blocking
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/nixl_storage_backend.py:929
Method
get_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
Method
get_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
Method
get_blocking
Retrieve data with audit logging.
lmcache/v1/storage_backend/audit_backend.py:72
Method
get_blocking
( self, key: CacheEngineKey, )
lmcache/v1/storage_backend/local_cpu_backend.py:208
Method
get_blocking
( self, key: CacheEngineKey, )
lmcache/v1/storage_backend/gds_backend.py:759
Method
get_blocking
( self, key: CacheEngineKey, )
lmcache/v1/storage_backend/p2p_backend.py:766
Method
get_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
Method
get_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
Method
get_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
Method
get_blocking_failed_count
(self)
lmcache/v1/storage_backend/remote_backend.py:389
Method
get_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
Method
get_bytes
(self, url: str, *, timeout: Optional[float] = None)
lmcache/connections.py:87
Function
get_chunk_statistics_status
(request: Request)
lmcache/v1/internal_api_server/vllm/chunk_statistics_api.py:115
Method
get_client_name
(self)
lmcache/v1/storage_backend/connector/hf3fs_connector.py:621
Function
get_commit_id
()
lmcache/v1/internal_api_server/vllm/version_api.py:19
Method
get_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
Function
get_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
Function
get_config
Handle config requests from LMCache workers. Expected request body: { "current_config": {...}, "env_variables": {...}
examples/remote_config_server/config_server.py:89
Function
get_config
(request: Request, names: Optional[str] = None)
lmcache/v1/internal_api_server/vllm/conf_api.py:43
Function
get_delta
()
tests/v1/mp_observability/subscribers/metrics/test_cb_server.py:42
Function
get_delta
()
tests/v1/mp_observability/subscribers/metrics/test_l1_eviction_loop.py:42
Function
get_delta
()
tests/v1/mp_observability/subscribers/metrics/test_l2_failures.py:49
Function
get_delta
()
tests/v1/mp_observability/subscribers/metrics/test_l2.py:114
Function
get_delta
()
tests/v1/mp_observability/subscribers/metrics/test_lookup.py:100
Function
get_delta
()
tests/v1/mp_observability/subscribers/metrics/test_l1_failures.py:50
Method
get_dtype
(self)
lmcache/v1/memory_management.py:708
Method
get_dtype
(self)
lmcache/v1/memory_management.py:927
Method
get_dtype
(self)
lmcache/v1/memory_management.py:1050
Method
get_dtypes
Get the dtypes of the MemoryObj.
lmcache/v1/memory_management.py:251
Method
get_dtypes
(self)
lmcache/v1/memory_management.py:716
Method
get_dtypes
(self)
lmcache/v1/memory_management.py:933
Method
get_dtypes
(self)
lmcache/v1/memory_management.py:1059
Method
get_elapsed_time
(self, operation_name)
lmcache/v1/storage_backend/connector/eic_connector.py:61
Method
get_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
Method
get_engine_instance_id
(self)
lmcache/integration/vllm/vllm_service_factory.py:61
Function
get_env
Get all environment variables
lmcache/v1/internal_api_server/common/env_api.py:14
Method
get_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
Method
get_evict_candidates
( self, cache_dict: dict[KeyType, Any], num_candidates: int = 1, )
lmcache/v1/storage_backend/cache_policy/fifo.py:45
Method
get_evict_candidates
( self, cache_dict: OrderedDict[KeyType, Any], num_candidates: int = 1, )
lmcache/v1/storage_backend/cache_policy/lru.py:68
Method
get_evict_candidates
( self, cache_dict: OrderedDict[KeyType, Any], num_candidates: int = 1, )
lmcache/v1/storage_backend/cache_policy/mru.py:47
Method
get_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
Method
get_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
Method
get_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
Method
get_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
Method
get_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
Method
get_finished
All operations are synchronous — nothing is ever pending.
lmcache/integration/tensorrt_llm/tensorrt_mp_adapter.py:482
Method
get_finished
All ops are synchronous here — nothing is ever pending.
lmcache/integration/tensorrt_llm/tensorrt_adapter.py:371
Method
get_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
Method
get_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
Method
get_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
Method
get_free_size
Get the total free size in bytes.
lmcache/v1/memory_management.py:1864
Function
get_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
Method
get_full_chunk_size_bytes
return a default chunk size only for testing.
tests/v1/storage_backend/test_raw_block_uring_cmd.py:111
Method
get_group_kv_pointers
Returns the KV cache pointer tensor for the given group.
lmcache/v1/platform/cpu/cache_context.py:284
Method
get_handler_type
(self)
lmcache/v1/multiprocess/mq.py:427
Method
get_handler_type
(self)
lmcache/v1/multiprocess/mq.py:469
Method
get_handlers
Return handler specs for all request types this module serves.
lmcache/v1/multiprocess/engine_module.py:55
Method
get_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
Method
get_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
Method
get_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
Method
get_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
Method
get_handlers
(self)
lmcache/v1/multiprocess/modules/blend_v3.py:388
Method
get_health_checks
Get all registered health checks
lmcache/v1/health_monitor/base.py:257
Method
get_heap_size
Get the total size of the paged address space in bytes.
lmcache/v1/memory_management.py:1860
Function
get_heartbeat_status
Get heartbeat status
lmcache/lmcache_frontend/app.py:687
Function
get_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
Function
get_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
Method
get_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
Function
get_inference_version
Get vLLM version information Returns: PlainTextResponse: vLLM version string
lmcache/v1/internal_api_server/vllm/inference_api.py:43
Method
get_infos
()
tests/v1/cache_controller/test_registry_tree.py:581
Method
get_instances_by_ip
Get all instances by IP address.
lmcache/v1/cache_controller/utils.py:469
Method
get_kernel_group_kv_pointers
Returns the KV-cache pointer tensor for *kernel_group_idx*.
lmcache/v1/platform/base_cache_context.py:111
Method
get_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
Method
get_kernel_group_shape_dtype
Returns ``(shape, dtype)`` for *kernel_group_idx*.
lmcache/v1/platform/base_cache_context.py:132
Method
get_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
Function
get_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
Method
get_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
Method
get_kv_connector_stats
Get the KV connector stats collected during the last interval.
lmcache/integration/vllm/lmcache_mp_connector.py:864
Method
get_kv_connector_stats
Get the KV connector stats collected during the last interval.
lmcache/integration/vllm/lmcache_mp_connector_0201.py:733
Method
get_kv_connector_stats
Get the KV connector stats collected during the last interval.
lmcache/integration/vllm/lmcache_mp_connector_0180.py:693
Method
get_kv_events
(self)
lmcache/integration/vllm/vllm_v1_adapter.py:1887
Method
get_kv_events
(self)
lmcache/integration/sglang/sglang_adapter.py:194
Method
get_kv_events
(self)
lmcache/v1/cache_engine.py:1569
Function
get_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
← previous
next →
7,301–7,400 of 13,371, ranked by callers