MCPcopy Create free account

hub / github.com/LMCache/LMCache / functions

Functions13,371 in github.com/LMCache/LMCache

Methodexists
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/connector/s3_connector.py:277
Methodexists
Check if key exists in file system
lmcache/v1/storage_backend/connector/hf3fs_connector.py:272
Methodexists
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/connector/infinistore_connector.py:81
Methodexists_in_put_tasks
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/nixl_storage_backend.py:915
Methodexists_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
Methodexists_in_put_tasks
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/audit_backend.py:99
Methodexists_in_put_tasks
contains() and exists_in_put_tasks() should be checked together
lmcache/v1/storage_backend/local_cpu_backend.py:141
Methodexists_in_put_tasks
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/pd_backend.py:394
Methodexists_in_put_tasks
Check whether key is in the ongoing put tasks.
lmcache/v1/storage_backend/abstract_backend.py:63
Methodexists_in_put_tasks
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/gds_backend.py:554
Methodexists_in_put_tasks
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/p2p_backend.py:752
Methodexists_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
Methodexists_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
Methodexists_in_put_tasks
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/plugins/rust_raw_block_backend.py:354
Methodexists_sync
(self, key: str)
tests/conftest.py:285
Methodexists_sync
(self, key)
tests/v1/test_remote_mla_worker_id_as0.py:29
Methodexists_sync
(self, key: CacheEngineKey)
tests/v1/test_health_monitor_fallback_recovery.py:55
Methodexists_sync
(self, key: CacheEngineKey)
tests/v1/shm_allocator/shmfile_connector.py:211
Methodexists_sync
(self, key: str)
lmcache/v1/storage_backend/native_clients/connector_client_base.py:135
Methodexists_sync
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/connector/redis_connector.py:73
Methodexists_sync
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/connector/redis_connector.py:274
Methodexists_sync
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/connector/redis_connector.py:514
Methodexists_sync
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/connector/redis_connector.py:652
Methodexists_sync
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/connector/blackhole_connector.py:23
Methodexists_sync
Synchronously check if a key exists in Valkey.
lmcache/v1/storage_backend/connector/valkey_connector.py:369
Methodexists_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
Methodexists_sync
Synchronous exists check without async lock (for testing purposes)
lmcache/v1/storage_backend/connector/mock_connector.py:214
Methodexists_sync
Synchronously return whether a full LMCache chunk exists for ``key``.
lmcache/v1/storage_backend/connector/hfbucket_connector.py:260
Methodexists_sync
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/connector/mooncakestore_connector.py:486
Methodexists_sync
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/connector/bigtable_connector.py:253
Methodexists_sync
Check if a key exists in remote storage (sync wrapper).
lmcache/v1/storage_backend/connector/sagemaker_hyperpod_connector.py:658
Methodexists_sync
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/connector/lm_connector.py:102
Methodexists_sync
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/connector/instrumented_connector.py:76
Methodexists_sync
Check if key exists in file system synchronized
lmcache/v1/storage_backend/connector/hf3fs_connector.py:277
Methodexists_sync
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/connector/infinistore_connector.py:87
Methodexists_sync
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/connector/eic_connector.py:292
Methodexists_sync
Check if key exists in file system synchronized
lmcache/v1/storage_backend/connector/fs_connector.py:170
FunctionexpandTopLevelNavSections
()
docs/source/_static/custom.js:189
Methodexporter
Real OTel provider with in-memory exporter; patches module tracer.
tests/v1/mp_observability/subscribers/tracing/test_cb_server.py:591
Methodexporter
(self)
tests/v1/mp_observability/subscribers/tracing/test_cb_server.py:927
Methodexporter
Real OTel provider with in-memory exporter; patches module tracer.
tests/v1/mp_observability/subscribers/tracing/test_mp_server.py:628
Functionext_hook
(code: int, data: bytes)
lmcache/v1/multiprocess/custom_types.py:462
Methodextra_config_keys
Return extra config keys specific to this backend.
benchmarks/storage_backend_io/storage_backend_io_benchmark.py:273
Methodextra_config_keys
(self)
benchmarks/storage_backend_io/storage_backend_io_benchmark.py:661
Methodextra_config_keys
(self)
benchmarks/storage_backend_io/storage_backend_io_benchmark.py:742
Methodextra_config_keys
(self)
benchmarks/storage_backend_io/storage_backend_io_benchmark.py:936
Methodextra_config_keys
(self)
benchmarks/storage_backend_io/storage_backend_io_benchmark.py:975
Methodextra_config_keys
(self)
benchmarks/storage_backend_io/storage_backend_io_benchmark.py:1012
Methodextra_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
Methodextra_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
Methodextract_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
Methodf
(x, y)
tests/v1/mp_observability/trace/test_decorator.py:45
Methodf
(a, b, c)
tests/v1/mp_observability/trace/test_decorator.py:109
Functionfail
()
tests/v1/multiprocess/test_affinity_pool.py:88
Functionfail_after_first
(shapes, dtype, fmt=MemoryFormat.KV_2LTD, **kw)
tests/v1/storage_backend/test_pd_backend_async.py:655
Methodfailed_runs
Get the number of failed executions.
lmcache/v1/periodic_thread.py:182
Functionfailing
(req)
tests/v1/storage_backend/test_pd_backend_async.py:775
Methodfailing_read_metadata
(*args, **kwargs)
tests/v1/storage_backend/test_gds_backend.py:251
Methodfailing_save_gds
(*args, **kwargs)
tests/v1/storage_backend/test_gds_backend.py:352
Methodfailing_save_metadata
(path, tmp, metadata)
tests/v1/storage_backend/test_gds_backend.py:379
Methodfailing_vllm_import
(name, *args, **kwargs)
tests/v1/multiprocess/test_token_hasher.py:54
Functionfake_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
Methodfake_allocate_cpu_memory
(size, *args, **kwargs)
tests/v1/storage_backend/test_local_cpu_backend_nixl_paged.py:184
Functionfake_client
()
tests/v1/distributed/test_hfbucket_l2_adapter.py:176
Functionfake_client_constructor
(*args, **kwargs)
tests/v1/storage_backend/test_bigtable_connector.py:59
Methodfake_create_app
(config: MPCoordinatorConfig)
tests/cli/commands/test_coordinator.py:95
Functionfake_create_cache_context
Return a fake cache context without touching CUDA or wrappers.
tests/v1/multiprocess/test_lmcache_driven_layout_registry.py:76
Functionfake_create_transfer_context
( kv_caches: dict[str, torch.Tensor], mode: str )
tests/v1/test_vllm_mp_adapter.py:132
Methodfake_func
(**kw)
tests/v1/test_basic_check.py:51
Functionfake_import_module
Return fake modules or simulate import failure.
tests/v1/test_connector_discovery.py:58
Functionfake_iter_modules
Yield a mix of adapter and non-adapter module names.
tests/v1/test_connector_discovery.py:50
Functionfake_layout_desc
Return the shared layout descriptor used by both registrations.
tests/v1/multiprocess/test_lmcache_driven_layout_registry.py:86
Functionfake_pin_close
(self)
tests/v1/test_xpu_connector.py:90
Functionfake_pin_close
(self)
tests/v1/test_gpu_connector.py:99
Functionfake_pin_init
:param int size: The size of the pinned memory in bytes.
tests/v1/test_xpu_connector.py:63
Functionfake_pin_init
:param int size: The size of the pinned memory in bytes.
tests/v1/test_gpu_connector.py:66
Functionfake_submit_job
(fn, *args, **kwargs)
tests/v1/storage_backend/test_bigtable_connector.py:250
Methodfake_super_init
(self: Any, *args: Any, **kwargs: Any)
tests/v1/test_nixl_doca_memos.py:196
Functionfake_type
Register a fake factory and guarantee the global context is cleared.
tests/v1/distributed/transfer_channel/test_context_lifecycle.py:65
Methodfallback_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
Methodfallback_policy
Return the fallback policy for this health check.
lmcache/v1/health_monitor/checks/remote_backend_check.py:122
Methodfd
(self)
lmcache/v1/gpu_connector/_cufile_async.py:303
Methodfd
Return the open device file descriptor, or ``None`` after close.
lmcache/v1/storage_backend/dax/core.py:168
Functionfetch_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
Methodfileno
Return a poll-able file descriptor. The fd becomes readable after ``notify()`` is called.
lmcache/v1/platform/event_notifier.py:54
Methodfileno
(self)
lmcache/v1/platform/event_notifier.py:115
FunctionfilterEnvVariables
()
lmcache/v1/cache_controller/frontend/static/js/controller_app.js:593
FunctionfilterEnvVariables
()
lmcache/lmcache_frontend/static/js/app.js:951
FunctionfilterNodesByEnv
()
lmcache/lmcache_frontend/static/js/app.js:1027
Methodfilter_out_zeros
(stats: Iterable[float])
lmcache/observability.py:703
Methodfind_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
Methodfind_key_simple
Find a key in any worker within this instance, returning only KVChunkInfo.
lmcache/v1/cache_controller/utils.py:313
Methodfind_keys
()
tests/v1/cache_controller/test_registry_tree.py:493
Methodfinish_read_prefetched
(self, **kw: Any)
tests/cli/commands/trace/test_dispatch.py:48
Methodfirst_reader
()
tests/v1/cache_controller/test_locks.py:221
Functionflaky_wrap
(tensor)
tests/v1/platform/test_cpu_shm.py:219
Methodflat_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
Methodflush_batch
(batch, batch_keys)
lmcache/v1/storage_backend/connector/bigtable_connector.py:580
Functionflushed_to_l2
()
tests/v1/distributed/serde/test_serde_e2e.py:172
Methodforce_pipe
(self, monkeypatch)
tests/v1/test_event_notifier.py:214
← previousnext →7,101–7,200 of 13,371, ranked by callers