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
_create_hfbucket_l2_adapter
Create an HFBucket L2 adapter from registry config.
lmcache/v1/distributed/l2_adapters/hfbucket_l2_adapter.py:896
Function
_create_mock_adapter
Create a MockL2Adapter from config.
lmcache/v1/distributed/l2_adapters/mock_l2_adapter.py:516
Function
_create_mooncake_store_l2_adapter
Create a NativeConnectorL2Adapter backed by the C++ Mooncake Store connector. When ``config.setup_config["protocol"] == "rdma"``, a valid
lmcache/v1/distributed/l2_adapters/mooncake_store_l2_adapter.py:139
Function
_create_native_plugin_l2_adapter
Dynamically load a third-party native connector and wrap it with NativeConnectorL2Adapter.
lmcache/v1/distributed/l2_adapters/native_plugin_l2_adapter.py:115
Function
_create_nixl_store_adapter
Create a NixlStoreL2Adapter from config.
lmcache/v1/distributed/l2_adapters/nixl_store_l2_adapter.py:1001
Function
_create_p2p_adapter
Create a P2PL2Adapter from config (l1_memory_desc is unused).
lmcache/v1/distributed/l2_adapters/p2p_l2_adapter.py:398
Function
_create_plugin_adapter
Dynamically load and create a plugin L2 adapter.
lmcache/v1/distributed/l2_adapters/plugin_l2_adapter.py:126
Function
_create_raw_block_adapter
( config: L2AdapterConfigBase, l1_memory_desc: "Optional[L1MemoryDesc]" = None, )
lmcache/v1/distributed/l2_adapters/raw_block_l2_adapter.py:796
Function
_create_resp_l2_adapter
Create a NativeConnectorL2Adapter backed by the C++ Redis connector.
lmcache/v1/distributed/l2_adapters/resp_l2_adapter.py:123
Function
_create_s3_adapter
( config: L2AdapterConfigBase, l1_memory_desc: "Optional[L1MemoryDesc]" = None, )
lmcache/v1/distributed/l2_adapters/s3_l2_adapter.py:1292
Function
_create_shared_allocator
(config, metadata, numa_mapping)
tests/conftest.py:777
Function
_cuda_is_available
Lazy availability check to avoid circular import at module load.
lmcache/v1/platform/cuda/__init__.py:35
Function
_dec_layout_desc
(d: dict[str, Any])
lmcache/v1/mp_observability/trace/codecs.py:192
Function
_dec_object_key
(d: dict[str, Any])
lmcache/v1/mp_observability/trace/codecs.py:159
Function
_dec_prefetch_handle
(d: dict[str, Any])
lmcache/v1/mp_observability/trace/codecs.py:212
Function
_dec_set
(items: list)
lmcache/v1/mp_observability/trace/codecs.py:251
Function
_dec_torch_dtype
(name: str)
lmcache/v1/mp_observability/trace/codecs.py:235
Function
_dec_torch_size
(s: list[int])
lmcache/v1/mp_observability/trace/codecs.py:227
Function
_dec_trim_policy
(name: str)
lmcache/v1/mp_observability/trace/codecs.py:243
Method
_default_do_write
(self, offset: int, memory_obj: MemoryObj, size: int)
lmcache/v1/storage_backend/dax/core.py:1011
Method
_delete_batch_sync
( self, keys: list[ObjectKey], )
lmcache/v1/distributed/l2_adapters/hfbucket_l2_adapter.py:793
Method
_demux_loop
Background thread that polls the native connector's eventfd, drains completions, and routes them to the correct L2 result category.
lmcache/v1/distributed/l2_adapters/native_connector_l2_adapter.py:392
Method
_device_usage_ratio_locked
(self, entry: DaxDeviceEntry)
lmcache/v1/distributed/l2_adapters/dax_l2_adapter.py:1215
Function
_dispatch
(request_type, payloads, response_cls=None)
tests/v1/distributed/l2_adapters/test_p2p_l2_adapter.py:81
Method
_display_loop
Background loop: redraw every second.
lmcache/cli/commands/bench/engine_bench/progress.py:94
Method
_do_exists
Check if a key exists.
tests/v1/storage_backend/test_valkey_connector.py:77
Method
_do_exists
Check if a key exists (runs on a worker thread).
lmcache/v1/storage_backend/connector/valkey_connector.py:250
Method
_do_get_into
GET a key into a buffer.
tests/v1/storage_backend/test_valkey_connector.py:68
Method
_do_get_into
GET a key into a buffer (runs on a worker thread). Safety (issue #6215): GLIDE's native buffer-GET writes with the GIL released, so i
lmcache/v1/storage_backend/connector/valkey_connector.py:223
Method
_do_lookup
( self, keys: list[ObjectKey], tid: L2TaskId, )
examples/lmc_external_l2_adapter/src/lmc_external_l2_adapter/adapter.py:310
Method
_do_remove
()
lmcache/v1/storage_backend/connector/bigtable_connector.py:803
Method
_do_set
SET a key.
tests/v1/storage_backend/test_valkey_connector.py:64
Method
_do_set
SET a key (runs on a worker thread).
lmcache/v1/storage_backend/connector/valkey_connector.py:204
Method
_download_objects
Download requested object paths and return their bytes by result index.
lmcache/v1/storage_backend/connector/hfbucket_connector.py:570
Method
_drain_fingerprint_queue
Best-effort background drainer for _fingerprint_queue.
lmcache/v1/multiprocess/modules/blend_v3.py:1345
Method
_drain_tasks
()
lmcache/v1/storage_backend/gds_backend.py:1214
Function
_enc_layout_desc
(d: MemoryLayoutDesc)
lmcache/v1/mp_observability/trace/codecs.py:168
Function
_enc_object_key
(k: ObjectKey)
lmcache/v1/mp_observability/trace/codecs.py:150
Function
_enc_prefetch_handle
(h: PrefetchHandle)
lmcache/v1/mp_observability/trace/codecs.py:199
Function
_enc_set
(s: set)
lmcache/v1/mp_observability/trace/codecs.py:247
Function
_enc_torch_dtype
(dt: torch.dtype)
lmcache/v1/mp_observability/trace/codecs.py:231
Function
_enc_torch_size
(s: torch.Size)
lmcache/v1/mp_observability/trace/codecs.py:223
Function
_enc_trim_policy
(p: TrimPolicy)
lmcache/v1/mp_observability/trace/codecs.py:239
Method
_ensure_musa
(t: torch.Tensor)
lmcache/v1/gpu_connector/musa_connectors.py:532
Function
_enter_read_prefetched
Handle a ``read_prefetched_results.__enter__`` record. Enters the live context manager and stashes it under ``tuple(keys)``. The matching ``
lmcache/cli/commands/trace/_dispatch.py:164
Method
_evict_if_needed
Evict objects from the cache using desired caching policy.
lmcache/v1/distributed/l2_adapters/nixl_store_l2_adapter.py:690
Method
_eviction_loop
(self)
lmcache/v1/distributed/storage_controllers/eviction_controller.py:286
Method
_execute
Run one heartbeat cycle: ping, recover callback, event update. A cycle that observes a stop request returns without firing the callba
lmcache/integration/vllm/vllm_multi_process_adapter.py:465
Method
_execute
Execute one pin monitor check cycle. This method is called by the PeriodicThread base class. Returns: ThreadRun
lmcache/v1/pin_monitor.py:194
Method
_execute
(self)
lmcache/v1/periodic_thread.py:576
Method
_execute
Execute one health check cycle. This method is called by the PeriodicThread base class. Returns: ThreadRunSumma
lmcache/v1/health_monitor/base.py:532
Method
_execute_load_task
( self, task_id: L2TaskId, keys: list[ObjectKey], objects: list[MemoryObj],
lmcache/v1/distributed/l2_adapters/dax_l2_adapter.py:1126
Method
_execute_lookup_in_the_loop
Look up keys and pin found objects. Also checks secondary storage (disk) for keys not in the in-memory index and lazily populates ``_
lmcache/v1/distributed/l2_adapters/nixl_store_dynamic_l2_adapter.py:664
Method
_execute_lookup_in_the_loop
Performs a batched lookup and pin in the event loop. For each key present in ``_memory_objects``, its bit is set in the resu
lmcache/v1/distributed/l2_adapters/nixl_store_l2_adapter.py:813
Method
_execute_lookup_in_the_loop
( self, keys: list[ObjectKey], task_id: L2TaskId )
lmcache/v1/distributed/l2_adapters/mock_l2_adapter.py:451
Method
_execute_lookup_task
( self, task_id: L2TaskId, keys: list[ObjectKey], )
lmcache/v1/distributed/l2_adapters/dax_l2_adapter.py:1057
Method
_execute_store_task
( self, task_id: L2TaskId, keys: list[ObjectKey], objects: list[MemoryObj],
lmcache/v1/distributed/l2_adapters/dax_l2_adapter.py:1022
Method
_exists
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/connector/redis_connector.py:65
Method
_exists
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/connector/redis_connector.py:265
Method
_exists
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/connector/redis_connector.py:643
Method
_exists
Internal: check if a key exists in Valkey.
lmcache/v1/storage_backend/connector/valkey_connector.py:359
Method
_exists
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/connector/mock_connector.py:205
Method
_exists
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/connector/eic_connector.py:280
Method
_exists_internal
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/connector/bigtable_connector.py:186
Function
_exit_read_prefetched
Handle a ``read_prefetched_results.__exit__`` record. Pops and exits the oldest context opened for ``tuple(keys)``. If no matching open cont
lmcache/cli/commands/trace/_dispatch.py:183
Method
_expand_worker
Background worker to expand the pinned memory.
lmcache/v1/lazy_memory_allocator.py:268
Function
_factory
(obj)
tests/conftest.py:704
Function
_factory
(kwargs: dict)
tests/v1/distributed/serde/test_factory.py:105
Method
_fail_import
(path)
tests/v1/distributed/test_l2_adapter_factory.py:557
Function
_failing_do_read
( self, offset: int, memory_obj: MemoryObj, size: int,
tests/v1/storage_backend/test_dax_backend.py:1251
Function
_fake_compute_kv_layout
( *_args: Any, **_kwargs: Any )
tests/v1/multiprocess/test_engine_driven_transfer.py:405
Function
_fake_factory
(tensor: Any)
tests/v1/multiprocess/test_engine_driven_transfer.py:242
Function
_fake_gather
(*_args: Any, **kwargs: Any)
tests/v1/multiprocess/test_engine_driven_transfer.py:479
Method
_fake_import
(path)
tests/v1/distributed/test_l2_adapter_factory.py:538
Function
_fake_musa_block_transfer
(**kwargs: Any)
tests/v1/test_musa_native.py:423
Function
_fake_native_from_gpu
(**kwargs: Any)
tests/v1/test_musa_native.py:265
Function
_fake_native_to_gpu
(**kwargs: Any)
tests/v1/test_musa_native.py:306
Function
_fake_scatter
(*_args: Any, **kwargs: Any)
tests/v1/multiprocess/test_engine_driven_transfer.py:551
Method
_fake_stream
(*_args, **_kwargs)
tests/cli/commands/bench/test_bench_command.py:486
Method
_fd
(self)
lmcache/v1/storage_backend/plugins/dax_backend.py:239
Method
_finish_load_task
( self, task_id: L2TaskId, bitmap_size: int, future: Future[Any] )
lmcache/v1/distributed/l2_adapters/raw_block_l2_adapter.py:746
Method
_finish_lookup_task
( self, task_id: L2TaskId, bitmap_size: int, future: Future[Any] )
lmcache/v1/distributed/l2_adapters/raw_block_l2_adapter.py:717
Method
_finish_store_task
( self, task_id: L2TaskId, future: Future[RawBlockStoreTaskResult], )
lmcache/v1/distributed/l2_adapters/raw_block_l2_adapter.py:681
Function
_fresh_banner_state
Reset the once-per-process guard and opt-out env var between tests.
tests/test_banner.py:29
Function
_from_defaults
Create configuration from defaults
lmcache/v1/config_base.py:350
Function
_from_dict
Create configuration from a dictionary.
lmcache/v1/config_base.py:418
Function
_from_env
Load configuration from environment variables
lmcache/v1/config_base.py:260
Function
_from_file
Load configuration from file
lmcache/v1/config_base.py:318
Function
_from_json
Deserialize a JSON string into a configuration object.
lmcache/v1/config_base.py:173
Function
_from_legacy
Create configuration from legacy format
lmcache/v1/config.py:922
Function
_gated_restore_batch
(keys, prefix_only)
tests/v1/storage_backend/test_dax_backend.py:469
Method
_get
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/connector/redis_connector.py:76
Method
_get
Internal: retrieve a memory object from Valkey by key.
lmcache/v1/storage_backend/connector/valkey_connector.py:377
Method
_get
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/connector/mock_connector.py:218
Method
_get_connector_metadata
(self)
tests/v1/test_ec_connector.py:73
Method
_get_connector_metadata
(self)
tests/v1/test_v1_adapter_state_desync.py:44
Method
_get_connector_metadata
(self)
tests/v1/test_vllm_layerwise_wait_for_save.py:24
Function
_get_extra_config_value
(self, key, default_value=None)
lmcache/v1/config.py:887
Method
_get_extra_result_fields
Get extra fields for RustRawBlockBackend benchmark results.
benchmarks/storage_backend_io/storage_backend_io_benchmark.py:833
Method
_get_internal
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/connector/bigtable_connector.py:257
← previous
next →
5,801–5,900 of 13,371, ranked by callers