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
register_model
Register a vllm model by instance_id.
lmcache/v1/compute/models/utils.py:42
Method
register_recover_callback
(self, callback: Callable[[], bool])
tests/v1/test_vllm_mp_adapter.py:67
Function
register_stream
Register a CUDA stream with cuFile. ``raw_stream`` is the integer ``CUstream`` handle — get it via ``torch_dev.current_stream().cuda_stream``
lmcache/v1/gpu_connector/_cufile_async.py:176
Method
register_workers
()
tests/v1/cache_controller/test_registry_tree.py:566
Function
registered_instance
Fixture that registers a KV cache instance and returns the instance ID. Automatically unregisters after the test.
tests/v1/multiprocess/test_cache_server.py:323
Function
registry
()
tests/v1/mp_observability/subscribers/tracing/test_cb_server.py:33
Function
registry
()
tests/v1/mp_observability/subscribers/tracing/test_mp_server.py:33
Method
release_pending
Free read locks acquired by ``lookup_kv`` when no ``retrieve_kv`` will follow (LMCache's hit is covered by radix). The pending entry s
lmcache/integration/sglang/multi_process_adapter.py:341
Function
remote_backend_with_fs
Create a RemoteBackend with FSConnector for testing.
tests/v1/storage_backend/test_fs_connector.py:131
Function
remote_backend_with_hf3fs
Create a RemoteBackend with HF3fsConnector for testing. Args: mock_base_path: Temporary directory for storage mock_3fs_mount_
tests/v1/storage_backend/test_hf3fs_connector.py:244
Method
remote_xfer_handler_exists
(self, receiver_or_sender_id: str)
lmcache/v1/transfer_channel/mock_memory_channel.py:99
Method
remote_xfer_handler_exists
Check if the remote transfer handler exists. :param receiver_or_sender_id: The ID of the receiver or sender. :return: True
lmcache/v1/transfer_channel/abstract.py:60
Method
remove
( self, key: CacheEngineKey, )
lmcache/v1/server/storage_backend/local_backend.py:40
Method
remove
(self, key: CacheEngineKey, force: bool = True)
lmcache/v1/storage_backend/nixl_storage_backend.py:942
Method
remove
Remove the key from the storage backend. :param key: The key to remove.
lmcache/v1/storage_backend/nixl_storage_backend.py:1303
Method
remove
Remove the key from the storage backend. :param key: The key to remove. :param force: Whether to force removal (not used in
lmcache/v1/storage_backend/nixl_storage_backend.py:2106
Method
remove
(self, key: CacheEngineKey, free_obj: bool = True)
lmcache/v1/storage_backend/audit_backend.py:208
Method
remove
Remove the key from the storage backend. :param key: The key to remove.
lmcache/v1/storage_backend/pd_backend.py:1046
Method
remove
(self, key: CacheEngineKey, force: bool = True)
lmcache/v1/storage_backend/gds_backend.py:1081
Method
remove
(self, key: CacheEngineKey, force: bool = True)
lmcache/v1/storage_backend/p2p_backend.py:787
Method
remove
Remove a key from MaruServer. Args: key: The cache key. force: Whether to force removal. Returns:
lmcache/v1/storage_backend/maru_backend.py:704
Method
remove
Remove the key and the corresponding cache in the specified locations. :param CacheEngineKey key: The key to remove.
lmcache/v1/storage_backend/storage_manager.py:1042
Method
remove
(self, key: CacheEngineKey, force: bool = True)
lmcache/v1/storage_backend/plugins/rust_raw_block_backend.py:366
Function
removeKey
(key)
lmcache/v1/cache_controller/frontend/static/js/controller_app.js:527
Function
remove_bypass_backend
Remove a backend from the bypass list, restoring it to normal operation. Query Parameters: backend_name: The backend name to res
lmcache/v1/internal_api_server/vllm/bypass_api.py:142
Method
remove_sync
Remove a memory object. :param CacheEngineKey key: The key of the MemoryObj. :return: a bool indicates whether remove is su
lmcache/v1/storage_backend/connector/base_connector.py:352
Method
remove_sync
Synchronously remove a bucket object for ``key``.
lmcache/v1/storage_backend/connector/hfbucket_connector.py:457
Method
remove_sync
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/connector/bigtable_connector.py:791
Method
remove_sync
Remove operation not supported by ai-toolkit.
lmcache/v1/storage_backend/connector/sagemaker_hyperpod_connector.py:937
Method
remove_sync
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/connector/instrumented_connector.py:201
Method
remove_sync
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/connector/hf3fs_connector.py:265
Method
remove_transfer_channel_client
(self, peer_advertise_url: str)
tests/v1/distributed/transfer_channel/test_context_lifecycle.py:51
Method
remove_transfer_channel_client
Discard the client for ``peer_advertise_url`` and free its resources. Call this when reads from the peer are no longer needed (e.g. the
lmcache/v1/distributed/transfer_channel/impl/nixl_impl.py:471
Method
remove_workers
(start_id)
tests/v1/cache_controller/test_registry_tree.py:232
Method
render
(self, content: Any)
lmcache/v1/multiprocess/http_apis/conf_api.py:20
Method
report_block_allocations
Publish vLLM block allocation records to the EventBus. Args: instance_id: The scheduler instance ID. model_name: The
lmcache/v1/multiprocess/modules/management.py:186
Function
report_block_allocations_handler
Dummy handler for REPORT_BLOCK_ALLOCATION requests. Args: instance_id: The scheduler instance ID. model_name: The model name
tests/v1/multiprocess/test_mq_handler_helpers.py:232
Function
report_events
Record a batch of L2 ``store`` / ``lookup`` / ``delete`` events. Args: body: Event batch tagged with the reporter's ``instance_id`` and `
lmcache/v1/mp_coordinator/http_apis/l2_api.py:120
Method
report_status
Return a status dict for this controller. Must include at least ``is_healthy: bool``.
lmcache/v1/distributed/storage_controller.py:33
Method
report_status
Return a status dict for this controller. The child class needs to override this function to report controller-specific health and co
lmcache/v1/distributed/storage_controllers/eviction_controller.py:61
Method
report_status
(self)
lmcache/v1/distributed/storage_controllers/eviction_controller.py:110
Method
report_status
(self)
lmcache/v1/distributed/storage_controllers/eviction_controller.py:257
Method
report_status
Return a status dict for the prefetch controller.
lmcache/v1/distributed/storage_controllers/prefetch_controller.py:445
Method
report_status
(self)
lmcache/v1/distributed/l2_adapters/s3_l2_adapter.py:765
Method
report_status
(self)
lmcache/v1/distributed/l2_adapters/p2p_l2_adapter.py:381
Method
report_status
(self)
lmcache/v1/distributed/l2_adapters/nixl_store_dynamic_l2_adapter.py:508
Method
report_status
Return a status dict for this adapter. Must include at least ``is_healthy: bool``. Subclasses should override this with adap
lmcache/v1/distributed/l2_adapters/base.py:542
Method
report_status
(self)
lmcache/v1/distributed/l2_adapters/hfbucket_l2_adapter.py:453
Method
report_status
Return a status dict for this native-connector L2 adapter. Returns: A dict with at minimum: * ``is_healthy`` (bool)
lmcache/v1/distributed/l2_adapters/native_connector_l2_adapter.py:348
Method
report_status
(self)
lmcache/v1/distributed/l2_adapters/serde_wrapper.py:331
Method
report_status
Return the inner adapter's status, annotated with the fault config. Adds a ``"fault_inject"`` sub-dict (rate, seed, gap_indices) so the
lmcache/v1/distributed/l2_adapters/fault_inject_l2_adapter.py:400
Method
report_status
Return a status dict for the FS L2 adapter.
lmcache/v1/distributed/l2_adapters/fs_l2_adapter.py:408
Method
report_status
Return a status dict for the mock L2 adapter.
lmcache/v1/distributed/l2_adapters/mock_l2_adapter.py:280
Method
report_status
Return module-specific status information.
lmcache/v1/multiprocess/engine_module.py:59
Method
report_status
Return an aggregated status dict from all modules. Returns: Combined status from the storage manager, engine metadata,
lmcache/v1/multiprocess/server.py:88
Method
report_status
Return non-GPU transfer module status information. Returns: A dict containing registered non-CUDA instance IDs and pe
lmcache/v1/multiprocess/modules/engine_driven_transfer.py:140
Method
report_status
Return module-specific status information. Returns: Dictionary with the count of active prefetch jobs.
lmcache/v1/multiprocess/modules/lookup.py:149
Method
report_status
Return module-specific status information. Returns: Dictionary with the active lookup-job count, the P2P registration
lmcache/v1/multiprocess/modules/p2p_controller.py:184
Method
report_status
Return GPU transfer module status information. Returns: A dict containing registered GPU instance IDs and per-instanc
lmcache/v1/multiprocess/modules/lmcache_driven_transfer.py:585
Method
report_status
(self)
lmcache/v1/multiprocess/modules/blend_v3.py:414
Method
report_status
Return this context's KV cache layout metadata.
lmcache/v1/platform/base_cache_context.py:320
Method
report_status
Return raw-block health, layout, metadata, and in-flight counters.
lmcache/v1/storage_backend/raw_block/core.py:906
Method
report_status
Return a status snapshot for health and observability. Returns: Dictionary containing health, capacity, slot occupancy, external
lmcache/v1/storage_backend/dax/core.py:821
Method
req_socket
DEALER socket for register operations (DEALER-ROUTER mode)
tests/v1/internal_api_server/test_worker_info_api.py:76
Function
request
(method: str, path: str, payload: dict)
tests/v1/mp_coordinator/test_blend_client.py:36
Method
request_finished
Called exactly once when a request has finished, before its blocks are freed. The connector may assumes responsibility for f
lmcache/integration/vllm/lmcache_mp_connector_0201.py:925
Method
request_finished
Called exactly once when a request has finished, before its blocks are freed. The connector may assumes responsibility for f
lmcache/integration/vllm/lmcache_mp_connector_0180.py:881
Method
request_finished
Called when a request has finished, before its blocks are freed. Returns: True if the request is being saved/sent asynch
lmcache/integration/vllm/lmcache_connector_v1.py:193
Method
request_finished
Notify the server so it can clean up per-request state. Saves are synchronous in this adapter, so we never need to defer deallocation
lmcache/integration/tensorrt_llm/tensorrt_mp_adapter.py:252
Method
request_finished
Return whether async saving is in progress. Always ``False`` — saves are synchronous in this adapter.
lmcache/integration/tensorrt_llm/tensorrt_adapter.py:252
Method
request_finished
Thread-safe callback matching ``OnFinishedCallback`` signature. Enqueues ``(request_id, response_text)`` for the loop to drain. Regis
lmcache/cli/commands/bench/engine_bench/workloads/base.py:117
Method
request_finished_all_groups
HMA request-finished entry point; cleanup is request-id based.
lmcache/integration/vllm/lmcache_mp_connector.py:1106
Method
request_remove_adapter
Non-blocking function to request the removal of a L2 adapter specified by the adapter ID. New lookups stop routing to the adapter imm
lmcache/v1/distributed/storage_controllers/prefetch_controller.py:578
Method
requirements_file
Core requirements file name, relative to ``requirements/``. Return ``None`` when this profile has no extra deps.
setup_extensions/build_profiles/__init__.py:146
Method
requirements_file
MUSA has no extra deps yet.
setup_extensions/build_profiles/musa.py:34
Method
requirements_file
Return the CUDA version-specific requirements file.
setup_extensions/build_profiles/cuda.py:86
Method
requirements_file
SYCL core requirements file.
setup_extensions/build_profiles/sycl.py:89
Method
reset
(self)
lmcache/integration/sglang/sglang_adapter.py:202
Method
reset
Reset all statistics and internal state. This method should clear all recorded data and reset counters to their initial state. It sho
lmcache/v1/lookup_client/record_strategies/base.py:105
Method
reset
Reset file writer and statistics.
lmcache/v1/lookup_client/record_strategies/file_hash.py:112
Method
reset
Reset bloom filter and statistics.
lmcache/v1/lookup_client/record_strategies/memory_bloom_filter.py:76
Method
reset_adapter
Reset adapter before each test.
tests/v1/internal_api_server/test_kvcache_check_api.py:22
Function
reset_chunk_statistics
(request: Request)
lmcache/v1/internal_api_server/vllm/chunk_statistics_api.py:102
Function
reset_config_instance
Reset the configuration singleton for testing
lmcache/v1/config_base.py:531
Function
reset_gate
Ensure the trace gate is off before and after every test.
tests/v1/mp_observability/trace/test_decorator.py:22
Function
reset_metrics
Reset Prometheus metrics to their initial state.
lmcache/v1/internal_api_server/common/metrics_api.py:24
Function
reshape_and_cache_back_flash
Python implementation of reshape_and_cache_back_flash. Operation: Flat Tensor (Source) -> Paged Attention Cache (Destination) L
lmcache/python_ops_fallback.py:1983
Method
reshape_partial_chunk
( self, memory_obj: MemoryObj, bytes_read: int )
lmcache/v1/storage_backend/connector/instrumented_connector.py:210
Method
resolve
Create a config with ``num_concurrent_users`` computed from KV cache budget. Args: kv_cache_volume_gb: Target active KV cache vol
lmcache/cli/commands/bench/engine_bench/workloads/multi_round_chat.py:58
Method
resolve
Compute ``num_prefixes`` and token splits from the target tier size. ``num_prefixes`` is sized so that the total prefix-pool footprint
lmcache/cli/commands/bench/engine_bench/workloads/prefix_suffix_tuner.py:224
Method
resolve
Create a config from CLI args. Unlike other workloads, random-prefill does not use the KV cache budget to compute request count — the
lmcache/cli/commands/bench/engine_bench/workloads/random_prefill.py:36
Method
resolve
Create a config directly from the provided parameters. Args: num_contexts: Number of unique context documents. contex
lmcache/cli/commands/bench/engine_bench/workloads/long_doc_permutator.py:66
Function
resp_config
Create a config for RESP connector testing.
tests/v1/storage_backend/test_resp_connector.py:86
Function
resp_url
RESP URL for testing; mock only, no real port (no 6379).
tests/v1/storage_backend/test_resp_connector.py:80
Function
restore
Restore registry tables to a previously :func:`snapshot`-ed state. Args: state: A snapshot dict as returned by :func:`snapshot`.
lmcache/v1/platform/_registry.py:121
Function
restoreSidebarScroll
()
docs/source/_static/custom.js:247
Function
restore_backends
Replace the backend table with *state*. Marks the table as already-discovered so further calls do not re-trigger filesystem scanning and over
lmcache/v1/platform/cache_context.py:130
Function
restore_global_bus
()
tests/cli/commands/trace/test_driver.py:89
Function
restore_global_bus
Save and restore the global singleton so tests don't leak state.
tests/v1/mp_observability/test_event_bus.py:62
Function
restore_global_bus
()
tests/v1/mp_observability/trace/test_recorder.py:38
← previous
next →
8,401–8,500 of 13,371, ranked by callers