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
exists
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/connector/s3_connector.py:277
Method
exists
Check if key exists in file system
lmcache/v1/storage_backend/connector/hf3fs_connector.py:272
Method
exists
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/connector/infinistore_connector.py:81
Method
exists_in_put_tasks
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/nixl_storage_backend.py:915
Method
exists_in_put_tasks
Check whether key is in the ongoing submit_put_task tasks. :param key: The key to check :return: True if the key exists in p
lmcache/v1/storage_backend/nixl_storage_backend.py:1208
Method
exists_in_put_tasks
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/audit_backend.py:99
Method
exists_in_put_tasks
contains() and exists_in_put_tasks() should be checked together
lmcache/v1/storage_backend/local_cpu_backend.py:141
Method
exists_in_put_tasks
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/pd_backend.py:394
Method
exists_in_put_tasks
Check whether key is in the ongoing put tasks.
lmcache/v1/storage_backend/abstract_backend.py:63
Method
exists_in_put_tasks
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/gds_backend.py:554
Method
exists_in_put_tasks
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/p2p_backend.py:752
Method
exists_in_put_tasks
Check whether key is in ongoing put tasks. Args: key: The cache key. Returns: True if the key has a pending
lmcache/v1/storage_backend/maru_backend.py:241
Method
exists_in_put_tasks
Check whether the key is pending in any in-flight put task. PDBackendAsync does not maintain a put task queue, so this always returns
lmcache/v1/storage_backend/pd_backend_async.py:650
Method
exists_in_put_tasks
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/plugins/rust_raw_block_backend.py:354
Method
exists_sync
(self, key: str)
tests/conftest.py:285
Method
exists_sync
(self, key)
tests/v1/test_remote_mla_worker_id_as0.py:29
Method
exists_sync
(self, key: CacheEngineKey)
tests/v1/test_health_monitor_fallback_recovery.py:55
Method
exists_sync
(self, key: CacheEngineKey)
tests/v1/shm_allocator/shmfile_connector.py:211
Method
exists_sync
(self, key: str)
lmcache/v1/storage_backend/native_clients/connector_client_base.py:135
Method
exists_sync
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/connector/redis_connector.py:73
Method
exists_sync
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/connector/redis_connector.py:274
Method
exists_sync
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/connector/redis_connector.py:514
Method
exists_sync
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/connector/redis_connector.py:652
Method
exists_sync
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/connector/blackhole_connector.py:23
Method
exists_sync
Synchronously check if a key exists in Valkey.
lmcache/v1/storage_backend/connector/valkey_connector.py:369
Method
exists_sync
Check if the remote server contains the key synchronized Input: key: a CacheEngineKey Returns: True
lmcache/v1/storage_backend/connector/base_connector.py:162
Method
exists_sync
Synchronous exists check without async lock (for testing purposes)
lmcache/v1/storage_backend/connector/mock_connector.py:214
Method
exists_sync
Synchronously return whether a full LMCache chunk exists for ``key``.
lmcache/v1/storage_backend/connector/hfbucket_connector.py:260
Method
exists_sync
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/connector/mooncakestore_connector.py:486
Method
exists_sync
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/connector/bigtable_connector.py:253
Method
exists_sync
Check if a key exists in remote storage (sync wrapper).
lmcache/v1/storage_backend/connector/sagemaker_hyperpod_connector.py:658
Method
exists_sync
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/connector/lm_connector.py:102
Method
exists_sync
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/connector/instrumented_connector.py:76
Method
exists_sync
Check if key exists in file system synchronized
lmcache/v1/storage_backend/connector/hf3fs_connector.py:277
Method
exists_sync
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/connector/infinistore_connector.py:87
Method
exists_sync
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/connector/eic_connector.py:292
Method
exists_sync
Check if key exists in file system synchronized
lmcache/v1/storage_backend/connector/fs_connector.py:170
Function
expandTopLevelNavSections
()
docs/source/_static/custom.js:189
Method
exporter
Real OTel provider with in-memory exporter; patches module tracer.
tests/v1/mp_observability/subscribers/tracing/test_cb_server.py:591
Method
exporter
(self)
tests/v1/mp_observability/subscribers/tracing/test_cb_server.py:927
Method
exporter
Real OTel provider with in-memory exporter; patches module tracer.
tests/v1/mp_observability/subscribers/tracing/test_mp_server.py:628
Function
ext_hook
(code: int, data: bytes)
lmcache/v1/multiprocess/custom_types.py:462
Method
extra_config_keys
Return extra config keys specific to this backend.
benchmarks/storage_backend_io/storage_backend_io_benchmark.py:273
Method
extra_config_keys
(self)
benchmarks/storage_backend_io/storage_backend_io_benchmark.py:661
Method
extra_config_keys
(self)
benchmarks/storage_backend_io/storage_backend_io_benchmark.py:742
Method
extra_config_keys
(self)
benchmarks/storage_backend_io/storage_backend_io_benchmark.py:936
Method
extra_config_keys
(self)
benchmarks/storage_backend_io/storage_backend_io_benchmark.py:975
Method
extra_config_keys
(self)
benchmarks/storage_backend_io/storage_backend_io_benchmark.py:1012
Method
extra_cxx_flags_for
Extra C++ compile flags for a given common extension. Called once per spec in :data:`COMMON_EXTENSIONS`. Default returns an empty li
setup_extensions/build_profiles/__init__.py:127
Method
extra_cxx_flags_for
SYCL uses CXX11 ABI for all common extensions except ``lmcache_fs``, which omits ABI flags to preserve pre-refactor behaviour.
setup_extensions/build_profiles/sycl.py:77
Method
extract_mount_point
Mock extract_mount_point - returns the path as-is if it exists. In real 3FS, this function extracts the actual 3FS mount point from a path.
tests/conftest.py:524
Method
f
(x, y)
tests/v1/mp_observability/trace/test_decorator.py:45
Method
f
(a, b, c)
tests/v1/mp_observability/trace/test_decorator.py:109
Function
fail
()
tests/v1/multiprocess/test_affinity_pool.py:88
Function
fail_after_first
(shapes, dtype, fmt=MemoryFormat.KV_2LTD, **kw)
tests/v1/storage_backend/test_pd_backend_async.py:655
Method
failed_runs
Get the number of failed executions.
lmcache/v1/periodic_thread.py:182
Function
failing
(req)
tests/v1/storage_backend/test_pd_backend_async.py:775
Method
failing_read_metadata
(*args, **kwargs)
tests/v1/storage_backend/test_gds_backend.py:251
Method
failing_save_gds
(*args, **kwargs)
tests/v1/storage_backend/test_gds_backend.py:352
Method
failing_save_metadata
(path, tmp, metadata)
tests/v1/storage_backend/test_gds_backend.py:379
Method
failing_vllm_import
(name, *args, **kwargs)
tests/v1/multiprocess/test_token_hasher.py:54
Function
fake_adapter
Build an adapter with the network boundary stubbed. Returns ``(adapter, send_mock, future)``; ``future.result()`` defaults to succeed. ``Heart
tests/v1/test_vllm_mp_adapter.py:146
Method
fake_allocate_cpu_memory
(size, *args, **kwargs)
tests/v1/storage_backend/test_local_cpu_backend_nixl_paged.py:184
Function
fake_client
()
tests/v1/distributed/test_hfbucket_l2_adapter.py:176
Function
fake_client_constructor
(*args, **kwargs)
tests/v1/storage_backend/test_bigtable_connector.py:59
Method
fake_create_app
(config: MPCoordinatorConfig)
tests/cli/commands/test_coordinator.py:95
Function
fake_create_cache_context
Return a fake cache context without touching CUDA or wrappers.
tests/v1/multiprocess/test_lmcache_driven_layout_registry.py:76
Function
fake_create_transfer_context
( kv_caches: dict[str, torch.Tensor], mode: str )
tests/v1/test_vllm_mp_adapter.py:132
Method
fake_func
(**kw)
tests/v1/test_basic_check.py:51
Function
fake_import_module
Return fake modules or simulate import failure.
tests/v1/test_connector_discovery.py:58
Function
fake_iter_modules
Yield a mix of adapter and non-adapter module names.
tests/v1/test_connector_discovery.py:50
Function
fake_layout_desc
Return the shared layout descriptor used by both registrations.
tests/v1/multiprocess/test_lmcache_driven_layout_registry.py:86
Function
fake_pin_close
(self)
tests/v1/test_xpu_connector.py:90
Function
fake_pin_close
(self)
tests/v1/test_gpu_connector.py:99
Function
fake_pin_init
:param int size: The size of the pinned memory in bytes.
tests/v1/test_xpu_connector.py:63
Function
fake_pin_init
:param int size: The size of the pinned memory in bytes.
tests/v1/test_gpu_connector.py:66
Function
fake_submit_job
(fn, *args, **kwargs)
tests/v1/storage_backend/test_bigtable_connector.py:250
Method
fake_super_init
(self: Any, *args: Any, **kwargs: Any)
tests/v1/test_nixl_doca_memos.py:196
Function
fake_type
Register a fake factory and guarantee the global context is cleared.
tests/v1/distributed/transfer_channel/test_context_lifecycle.py:65
Method
fallback_policy
Return the fallback policy for this health check. Default is RECOMPUTE. Subclasses can override this property to return a di
lmcache/v1/health_monitor/base.py:91
Method
fallback_policy
Return the fallback policy for this health check.
lmcache/v1/health_monitor/checks/remote_backend_check.py:122
Method
fd
(self)
lmcache/v1/gpu_connector/_cufile_async.py:303
Method
fd
Return the open device file descriptor, or ``None`` after close.
lmcache/v1/storage_backend/dax/core.py:168
Function
fetch_all_child_nodes_concurrently
Fetch child nodes from multiple proxy nodes concurrently. Args: proxy_nodes: Proxy dicts to query. Each dict is mutated in p
lmcache/lmcache_frontend/app.py:149
Method
fileno
Return a poll-able file descriptor. The fd becomes readable after ``notify()`` is called.
lmcache/v1/platform/event_notifier.py:54
Method
fileno
(self)
lmcache/v1/platform/event_notifier.py:115
Function
filterEnvVariables
()
lmcache/v1/cache_controller/frontend/static/js/controller_app.js:593
Function
filterEnvVariables
()
lmcache/lmcache_frontend/static/js/app.js:951
Function
filterNodesByEnv
()
lmcache/lmcache_frontend/static/js/app.js:1027
Method
filter_out_zeros
(stats: Iterable[float])
lmcache/observability.py:703
Method
find_key
Find a key in any worker within this instance. Returns: (KVChunkInfo, peer_init_url, keys) if found, None otherwise.
lmcache/v1/cache_controller/utils.py:293
Method
find_key_simple
Find a key in any worker within this instance, returning only KVChunkInfo.
lmcache/v1/cache_controller/utils.py:313
Method
find_keys
()
tests/v1/cache_controller/test_registry_tree.py:493
Method
finish_read_prefetched
(self, **kw: Any)
tests/cli/commands/trace/test_dispatch.py:48
Method
first_reader
()
tests/v1/cache_controller/test_locks.py:221
Function
flaky_wrap
(tensor)
tests/v1/platform/test_cpu_shm.py:219
Method
flat_block_ids
Return all block IDs flattened for group-blind error paths. Handles both the normal ``list[list[int]]`` format and the IPC-flattened
lmcache/integration/vllm/vllm_multi_process_adapter.py:534
Method
flush_batch
(batch, batch_keys)
lmcache/v1/storage_backend/connector/bigtable_connector.py:580
Function
flushed_to_l2
()
tests/v1/distributed/serde/test_serde_e2e.py:172
Method
force_pipe
(self, monkeypatch)
tests/v1/test_event_notifier.py:214
← previous
next →
7,101–7,200 of 13,371, ranked by callers