MCPcopy Create free account

hub / github.com/LMCache/LMCache / functions

Functions13,371 in github.com/LMCache/LMCache

Methodregister_model
Register a vllm model by instance_id.
lmcache/v1/compute/models/utils.py:42
Methodregister_recover_callback
(self, callback: Callable[[], bool])
tests/v1/test_vllm_mp_adapter.py:67
Functionregister_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
Methodregister_workers
()
tests/v1/cache_controller/test_registry_tree.py:566
Functionregistered_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
Functionregistry
()
tests/v1/mp_observability/subscribers/tracing/test_cb_server.py:33
Functionregistry
()
tests/v1/mp_observability/subscribers/tracing/test_mp_server.py:33
Methodrelease_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
Functionremote_backend_with_fs
Create a RemoteBackend with FSConnector for testing.
tests/v1/storage_backend/test_fs_connector.py:131
Functionremote_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
Methodremote_xfer_handler_exists
(self, receiver_or_sender_id: str)
lmcache/v1/transfer_channel/mock_memory_channel.py:99
Methodremote_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
Methodremove
( self, key: CacheEngineKey, )
lmcache/v1/server/storage_backend/local_backend.py:40
Methodremove
(self, key: CacheEngineKey, force: bool = True)
lmcache/v1/storage_backend/nixl_storage_backend.py:942
Methodremove
Remove the key from the storage backend. :param key: The key to remove.
lmcache/v1/storage_backend/nixl_storage_backend.py:1303
Methodremove
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
Methodremove
(self, key: CacheEngineKey, free_obj: bool = True)
lmcache/v1/storage_backend/audit_backend.py:208
Methodremove
Remove the key from the storage backend. :param key: The key to remove.
lmcache/v1/storage_backend/pd_backend.py:1046
Methodremove
(self, key: CacheEngineKey, force: bool = True)
lmcache/v1/storage_backend/gds_backend.py:1081
Methodremove
(self, key: CacheEngineKey, force: bool = True)
lmcache/v1/storage_backend/p2p_backend.py:787
Methodremove
Remove a key from MaruServer. Args: key: The cache key. force: Whether to force removal. Returns:
lmcache/v1/storage_backend/maru_backend.py:704
Methodremove
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
Methodremove
(self, key: CacheEngineKey, force: bool = True)
lmcache/v1/storage_backend/plugins/rust_raw_block_backend.py:366
FunctionremoveKey
(key)
lmcache/v1/cache_controller/frontend/static/js/controller_app.js:527
Functionremove_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
Methodremove_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
Methodremove_sync
Synchronously remove a bucket object for ``key``.
lmcache/v1/storage_backend/connector/hfbucket_connector.py:457
Methodremove_sync
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/connector/bigtable_connector.py:791
Methodremove_sync
Remove operation not supported by ai-toolkit.
lmcache/v1/storage_backend/connector/sagemaker_hyperpod_connector.py:937
Methodremove_sync
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/connector/instrumented_connector.py:201
Methodremove_sync
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/connector/hf3fs_connector.py:265
Methodremove_transfer_channel_client
(self, peer_advertise_url: str)
tests/v1/distributed/transfer_channel/test_context_lifecycle.py:51
Methodremove_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
Methodremove_workers
(start_id)
tests/v1/cache_controller/test_registry_tree.py:232
Methodrender
(self, content: Any)
lmcache/v1/multiprocess/http_apis/conf_api.py:20
Methodreport_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
Functionreport_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
Functionreport_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
Methodreport_status
Return a status dict for this controller. Must include at least ``is_healthy: bool``.
lmcache/v1/distributed/storage_controller.py:33
Methodreport_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
Methodreport_status
(self)
lmcache/v1/distributed/storage_controllers/eviction_controller.py:110
Methodreport_status
(self)
lmcache/v1/distributed/storage_controllers/eviction_controller.py:257
Methodreport_status
Return a status dict for the prefetch controller.
lmcache/v1/distributed/storage_controllers/prefetch_controller.py:445
Methodreport_status
(self)
lmcache/v1/distributed/l2_adapters/s3_l2_adapter.py:765
Methodreport_status
(self)
lmcache/v1/distributed/l2_adapters/p2p_l2_adapter.py:381
Methodreport_status
(self)
lmcache/v1/distributed/l2_adapters/nixl_store_dynamic_l2_adapter.py:508
Methodreport_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
Methodreport_status
(self)
lmcache/v1/distributed/l2_adapters/hfbucket_l2_adapter.py:453
Methodreport_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
Methodreport_status
(self)
lmcache/v1/distributed/l2_adapters/serde_wrapper.py:331
Methodreport_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
Methodreport_status
Return a status dict for the FS L2 adapter.
lmcache/v1/distributed/l2_adapters/fs_l2_adapter.py:408
Methodreport_status
Return a status dict for the mock L2 adapter.
lmcache/v1/distributed/l2_adapters/mock_l2_adapter.py:280
Methodreport_status
Return module-specific status information.
lmcache/v1/multiprocess/engine_module.py:59
Methodreport_status
Return an aggregated status dict from all modules. Returns: Combined status from the storage manager, engine metadata,
lmcache/v1/multiprocess/server.py:88
Methodreport_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
Methodreport_status
Return module-specific status information. Returns: Dictionary with the count of active prefetch jobs.
lmcache/v1/multiprocess/modules/lookup.py:149
Methodreport_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
Methodreport_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
Methodreport_status
(self)
lmcache/v1/multiprocess/modules/blend_v3.py:414
Methodreport_status
Return this context's KV cache layout metadata.
lmcache/v1/platform/base_cache_context.py:320
Methodreport_status
Return raw-block health, layout, metadata, and in-flight counters.
lmcache/v1/storage_backend/raw_block/core.py:906
Methodreport_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
Methodreq_socket
DEALER socket for register operations (DEALER-ROUTER mode)
tests/v1/internal_api_server/test_worker_info_api.py:76
Functionrequest
(method: str, path: str, payload: dict)
tests/v1/mp_coordinator/test_blend_client.py:36
Methodrequest_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
Methodrequest_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
Methodrequest_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
Methodrequest_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
Methodrequest_finished
Return whether async saving is in progress. Always ``False`` — saves are synchronous in this adapter.
lmcache/integration/tensorrt_llm/tensorrt_adapter.py:252
Methodrequest_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
Methodrequest_finished_all_groups
HMA request-finished entry point; cleanup is request-id based.
lmcache/integration/vllm/lmcache_mp_connector.py:1106
Methodrequest_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
Methodrequirements_file
Core requirements file name, relative to ``requirements/``. Return ``None`` when this profile has no extra deps.
setup_extensions/build_profiles/__init__.py:146
Methodrequirements_file
MUSA has no extra deps yet.
setup_extensions/build_profiles/musa.py:34
Methodrequirements_file
Return the CUDA version-specific requirements file.
setup_extensions/build_profiles/cuda.py:86
Methodrequirements_file
SYCL core requirements file.
setup_extensions/build_profiles/sycl.py:89
Methodreset
(self)
lmcache/integration/sglang/sglang_adapter.py:202
Methodreset
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
Methodreset
Reset file writer and statistics.
lmcache/v1/lookup_client/record_strategies/file_hash.py:112
Methodreset
Reset bloom filter and statistics.
lmcache/v1/lookup_client/record_strategies/memory_bloom_filter.py:76
Methodreset_adapter
Reset adapter before each test.
tests/v1/internal_api_server/test_kvcache_check_api.py:22
Functionreset_chunk_statistics
(request: Request)
lmcache/v1/internal_api_server/vllm/chunk_statistics_api.py:102
Functionreset_config_instance
Reset the configuration singleton for testing
lmcache/v1/config_base.py:531
Functionreset_gate
Ensure the trace gate is off before and after every test.
tests/v1/mp_observability/trace/test_decorator.py:22
Functionreset_metrics
Reset Prometheus metrics to their initial state.
lmcache/v1/internal_api_server/common/metrics_api.py:24
Functionreshape_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
Methodreshape_partial_chunk
( self, memory_obj: MemoryObj, bytes_read: int )
lmcache/v1/storage_backend/connector/instrumented_connector.py:210
Methodresolve
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
Methodresolve
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
Methodresolve
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
Methodresolve
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
Functionresp_config
Create a config for RESP connector testing.
tests/v1/storage_backend/test_resp_connector.py:86
Functionresp_url
RESP URL for testing; mock only, no real port (no 6379).
tests/v1/storage_backend/test_resp_connector.py:80
Functionrestore
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
FunctionrestoreSidebarScroll
()
docs/source/_static/custom.js:247
Functionrestore_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
Functionrestore_global_bus
()
tests/cli/commands/trace/test_driver.py:89
Functionrestore_global_bus
Save and restore the global singleton so tests don't leak state.
tests/v1/mp_observability/test_event_bus.py:62
Functionrestore_global_bus
()
tests/v1/mp_observability/trace/test_recorder.py:38
← previousnext →8,401–8,500 of 13,371, ranked by callers