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
Function
query_instance
(req: QueryInstRequest)
lmcache/v1/api_server/__main__.py:160
Method
query_load_result
(self, task_id: L2TaskId)
lmcache/v1/distributed/l2_adapters/s3_l2_adapter.py:665
Method
query_load_result
(self, task_id: L2TaskId)
lmcache/v1/distributed/l2_adapters/nixl_store_l2_adapter.py:577
Method
query_load_result
(self, task_id: L2TaskId)
lmcache/v1/distributed/l2_adapters/hfbucket_l2_adapter.py:424
Method
query_load_result
(self, task_id: L2TaskId)
lmcache/v1/distributed/l2_adapters/native_connector_l2_adapter.py:283
Method
query_load_result
Query the load result, clearing the dropped keys' bits. Delegates to the inner adapter, then clears the bits at the dropped positions
lmcache/v1/distributed/l2_adapters/fault_inject_l2_adapter.py:344
Method
query_load_result
(self, task_id: L2TaskId)
lmcache/v1/distributed/l2_adapters/fs_l2_adapter.py:400
Method
query_load_result
Return and remove a completed load result. Args: task_id: Adapter-local load task id. Returns: A bitmap with
lmcache/v1/distributed/l2_adapters/dax_l2_adapter.py:525
Method
query_load_result
(self, task_id: L2TaskId)
lmcache/v1/distributed/l2_adapters/mock_l2_adapter.py:244
Method
query_lookup_and_lock_result
(self, task_id: L2TaskId)
lmcache/v1/distributed/l2_adapters/s3_l2_adapter.py:623
Method
query_lookup_and_lock_result
(self, task_id: L2TaskId)
lmcache/v1/distributed/l2_adapters/nixl_store_l2_adapter.py:542
Method
query_lookup_and_lock_result
(self, task_id: L2TaskId)
lmcache/v1/distributed/l2_adapters/hfbucket_l2_adapter.py:387
Method
query_lookup_and_lock_result
(self, task_id: L2TaskId)
lmcache/v1/distributed/l2_adapters/native_connector_l2_adapter.py:245
Method
query_lookup_and_lock_result
(self, task_id: L2TaskId)
lmcache/v1/distributed/l2_adapters/serde_wrapper.py:231
Method
query_lookup_and_lock_result
Delegate to the inner adapter; lookup results are passed through. Only the load primitive is faulted, so lookup reports keys present as
lmcache/v1/distributed/l2_adapters/fault_inject_l2_adapter.py:317
Method
query_lookup_and_lock_result
(self, task_id: L2TaskId)
lmcache/v1/distributed/l2_adapters/fs_l2_adapter.py:373
Method
query_lookup_and_lock_result
(self, task_id: L2TaskId)
lmcache/v1/distributed/l2_adapters/mock_l2_adapter.py:208
Method
query_read_status
Query the status of a previously submitted read transfer. Args: task_id: The ID of the transfer task to query.
lmcache/v1/distributed/transfer_channel/impl/nixl_impl.py:157
Method
query_serialize_result
(self, task_id)
tests/v1/distributed/serde/test_factory.py:90
Function
query_worker_info
(req: QueryWorkerInfoRequest)
lmcache/v1/api_server/__main__.py:398
Method
quota_manager
Per-cache_salt quota registry. Exposed so the HTTP layer can serve CRUD endpoints without reaching into private state. Always non-``N
lmcache/v1/distributed/storage_manager.py:710
Method
raiser
(name, package=None)
tests/v1/test_basic_check.py:77
Method
random_string
(N)
lmcache/v1/storage_backend/connector/eic_connector.py:238
Method
raw_tensor
Get the raw tensor from the MemoryObj.
lmcache/v1/memory_management.py:397
Method
raw_tensor
(self)
lmcache/v1/memory_management.py:870
Method
raw_tensor
(self)
lmcache/v1/memory_management.py:1005
Method
raw_tensor
(self)
lmcache/v1/memory_management.py:1130
Method
read
(self, size=None)
lmcache/v1/distributed/l2_adapters/s3_l2_adapter.py:271
Method
read
(self, size=None)
lmcache/v1/storage_backend/connector/s3_connector.py:40
Method
read
(self, fd: int, buffer: memoryview, length: int, start: int = 0)
lmcache/v1/storage_backend/connector/hf3fs_connector.py:478
Method
reader
()
tests/cli/commands/bench/engine_bench/test_stats.py:266
Method
reader
()
tests/v1/test_health_monitor.py:213
Method
reader
(reader_id)
tests/v1/cache_controller/test_locks.py:44
Method
reader
()
tests/v1/native_storage_ops/test_ttl_lock.py:309
Method
reader
()
tests/v1/distributed/test_quota_manager.py:121
Method
reader
(tid: int)
tests/v1/multiprocess/test_session.py:197
Method
real_controller_manager
(self, zmq_context, controller_urls)
tests/v1/internal_api_server/test_worker_info_api.py:46
Method
real_storage_manager
(self, test_metadata)
tests/v1/test_health_monitor_fallback_recovery.py:557
Method
reap_stale_instances
Evict and clean up workers that have gone silent. An instance that has sent at least one PING is judged against ``reap_timeout_s``; o
lmcache/v1/multiprocess/engine_module.py:96
Method
reap_stale_instances
Reap GPU registrations that have gone silent. A ping-proven instance is judged against ``reap_timeout_s``; one that has never pinged
lmcache/v1/multiprocess/modules/lmcache_driven_transfer.py:505
Function
recombine_bytes
(bytes_tensor, output_lengths)
lmcache/storage_backend/serde/cachegen_decoder.py:47
Method
reconfigure
Apply an adapter-specific runtime reconfiguration operation. Args: operation: Adapter-specific operation name. payloa
lmcache/v1/distributed/l2_adapters/reconfiguration.py:50
Function
reconfigure_backend
Apply a runtime reconfiguration operation to one backend type.
lmcache/v1/multiprocess/http_apis/reconfigure_api.py:346
Function
reconfigure_backends
Return backend strings accepted by runtime reconfiguration routes.
lmcache/v1/multiprocess/http_apis/reconfigure_api.py:319
Method
reconfigure_l2_adapter
Route a runtime reconfiguration request to one L2 adapter. Args: adapter_index: Zero-based reconfigurable-adapter index.
lmcache/v1/distributed/storage_manager.py:796
Function
reconfigure_status
Return runtime reconfiguration status for one backend type.
lmcache/v1/multiprocess/http_apis/reconfigure_api.py:332
Method
reconfigure_status
(self)
tests/v1/distributed/test_dax_l2_adapter.py:421
Method
reconfigure_status
Return JSON-serializable runtime reconfiguration status.
lmcache/v1/distributed/l2_adapters/reconfiguration.py:46
Method
record
Record chunk hashes to file.
lmcache/v1/lookup_client/record_strategies/file_hash.py:47
Method
record
Record chunk bloom filter positions and update statistics.
lmcache/v1/lookup_client/record_strategies/memory_bloom_filter.py:52
Function
record_completion_on_stream
Fallback: immediately enqueue the completion without stream ordering. Args: cuda_stream_ptr: Ignored on non-CUDA path. kind: Disp
lmcache/python_ops_fallback.py:2555
Method
record_event
Record an event on this stream and return it. Args: event: An existing event to record. If None, a new StubEvent
lmcache/v1/platform/cpu/stub_cpu_device.py:168
Function
record_event_on_stream
Fallback: immediately record the event without CUDA stream ordering. The wall-clock timestamp is captured at call time (no host-callback). A
lmcache/python_ops_fallback.py:2589
Function
record_heartbeat
()
lmcache/tools/simple_discover_service.py:16
Function
record_send
( mq_client: object, request_type: RequestType, payloads: list[object] )
tests/v1/test_vllm_mp_adapter.py:529
Function
record_send
(data)
tests/v1/storage_backend/test_pd_backend_async.py:348
Function
record_thread
(key: int)
tests/v1/multiprocess/test_affinity_pool.py:27
Method
recording_submit
(self, keys, objects)
tests/v1/distributed/test_multimodel.py:98
Function
recover
()
tests/v1/test_vllm_mp_adapter.py:452
Function
recreate_backend
Recreate a specific storage backend atomically. The backend will be closed and recreated from the current config in a single step. Args:
lmcache/v1/internal_api_server/vllm/backend_api.py:171
Function
recreate_lookup
Recreate the lookup client (scheduler) or server (worker). This is equivalent to calling /lookup/close + /lookup/create. IMPORTANT: Upd
lmcache/v1/internal_api_server/vllm/lookup_api.py:111
Method
recv_request
Receive a request. Returns (identity, data_frames) or None on timeout. Each data frame is deserialized via msgpack. ROUTER so
lmcache/v1/rpc/zmq_transport.py:180
Method
ref_count_down
(self)
lmcache/v1/memory_management.py:731
Method
ref_count_down
(self)
lmcache/v1/memory_management.py:961
Method
ref_count_down
(self)
lmcache/v1/memory_management.py:1076
Method
ref_count_down
(self, memory_obj: MemoryObj)
lmcache/v1/memory_management.py:3188
Method
ref_count_up
(self)
lmcache/v1/memory_management.py:727
Method
ref_count_up
(self)
lmcache/v1/memory_management.py:958
Method
ref_count_up
(self)
lmcache/v1/memory_management.py:1071
Method
ref_count_up
(self, memory_obj: MemoryObj)
lmcache/v1/memory_management.py:3185
Function
refreshAllData
()
lmcache/v1/cache_controller/frontend/static/js/controller_app.js:131
Function
refreshCurrentPage
()
lmcache/lmcache_frontend/static/js/app.js:96
Function
refreshNodes
()
lmcache/lmcache_frontend/static/js/app.js:241
Function
refreshProxyNodes
(proxyName)
lmcache/lmcache_frontend/static/js/app.js:223
Function
refresh_proxy_nodes
Refresh child nodes of a proxy
lmcache/lmcache_frontend/app.py:375
Function
reg_controller
Create a RegistrationController instance for testing.
tests/v1/cache_controller/test_registration_controller.py:26
Method
register
Register this command and auto-discover all sub-subcommands. Scans the package where this class is defined for concrete :class:`BaseC
lmcache/cli/commands/base.py:155
Method
register
Register without the common output args (--format/--output/--quiet). The benchmark manages its own output lifecycle and does not use the
lmcache/cli/commands/tool/transfer_channel_benchmark.py:46
Method
register
(self, subparsers: argparse._SubParsersAction)
lmcache/cli/commands/tool/cache_simulator/sweep_command.py:31
Method
register
(self, subparsers: argparse._SubParsersAction)
lmcache/cli/commands/tool/cache_simulator/simulate_command.py:32
Method
register
(self, subparsers: argparse._SubParsersAction)
lmcache/cli/commands/tool/cache_simulator/gen_dataset_command.py:34
Method
register
Register a layout descriptor for a (model_name, world_size) pair. Re-registering the same pair increments the active registration cou
lmcache/v1/multiprocess/engine_context.py:60
Method
register
( self, instance_id: int, kv_caches: dict[str, torch.Tensor], model_name: str,
lmcache/v1/multiprocess/transfer_context/worker_transfer.py:233
Function
register_buffer
Register a device tensor with cuFile for GDS DMA. Must be called before any ``read_async`` / ``write_async`` whose ``buf_base`` falls inside
lmcache/v1/gpu_connector/_cufile_async.py:130
Method
register_deregister
(thread_id)
tests/v1/cache_controller/test_registry_tree.py:342
Method
register_eviction_destination
Register an eviction destination for the eviction policy to use. Args: destination (EvictionDestination): The eviction d
lmcache/v1/distributed/eviction.py:45
Method
register_eviction_destination
(self, destination: EvictionDestination)
lmcache/v1/distributed/eviction_policy/isolated_lru.py:61
Method
register_eviction_destination
(self, destination: EvictionDestination)
lmcache/v1/distributed/eviction_policy/noop.py:32
Function
register_formatter
Decorator that registers a ``MetricsFormatter`` subclass under *name*. Args: name: The format name used for CLI lookup (e.g. ``"json"``).
lmcache/cli/metrics/formatter.py:41
Function
register_instance
Register (or re-register) an mp server. The body is validated by :class:`RegisterRequest`; FastAPI returns 422 on a malformed body. An empty
lmcache/v1/mp_coordinator/http_apis/instances_api.py:53
Function
register_kv_cache_handler
Dummy handler for REGISTER_KV_CACHE requests. Args: gpu_id: GPU device ID kv_cache: List of CudaIPCWrapper objects represent
tests/v1/multiprocess/test_mq_handler_helpers.py:37
Method
register_kv_caches
Initialize with the KV caches. Useful for pre-registering the KV Caches in the KVConnector (e.g. for NIXL). Args:
lmcache/integration/vllm/lmcache_mp_connector.py:678
Method
register_kv_caches
Initialize with the KV caches. Useful for pre-registering the KV Caches in the KVConnector (e.g. for NIXL). Args:
lmcache/integration/vllm/lmcache_mp_connector_0201.py:557
Method
register_kv_caches
Initialize with the KV caches. Useful for pre-registering the KV Caches in the KVConnector (e.g. for NIXL). Args:
lmcache/integration/vllm/lmcache_mp_connector_0180.py:536
Method
register_kv_caches
Register the kv caches with LMCache server. Args: kv_caches: A dict of kv caches to register. The keys are the
lmcache/integration/vllm/vllm_multi_process_adapter.py:1227
Method
register_kv_caches
Initialize with the KV caches. Useful for pre-registering the KV Caches in the KVConnector (e.g. for NIXL). Args: kv_caches:
lmcache/integration/vllm/lmcache_connector_v1.py:50
Method
register_kv_caches
(self, kv_caches: dict[str, torch.Tensor])
lmcache/integration/vllm/vllm_v1_adapter.py:754
Method
register_kv_caches
Register the KV pool with the LMCache server via raw CUDA IPC. TRT-LLM provides a 4-D pool tensor ``[NB, NL, 2, NH * BS * HS]``. The
lmcache/integration/tensorrt_llm/tensorrt_mp_adapter.py:322
Method
register_listener
(self, listener: L2AdapterListener)
lmcache/v1/distributed/l2_adapters/serde_wrapper.py:327
Method
register_listener
Forward the listener registration to the inner adapter.
lmcache/v1/distributed/l2_adapters/fault_inject_l2_adapter.py:383
← previous
next →
8,301–8,400 of 13,371, ranked by callers