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
batched_get
( self, keys: List[CacheEngineKey] )
lmcache/v1/storage_backend/connector/mock_connector.py:287
Method
batched_get
Batch get operation - the only supported get method. Uses batch_get_into (with metadata) or batch_get_buffer (without metadata).
lmcache/v1/storage_backend/connector/mooncakestore_connector.py:489
Method
batched_get
( self, keys: List[CacheEngineKey] )
lmcache/v1/storage_backend/connector/bigtable_connector.py:553
Method
batched_get
( self, keys: List[CacheEngineKey] )
lmcache/v1/storage_backend/connector/instrumented_connector.py:139
Method
batched_get
( self, keys: List[CacheEngineKey] )
lmcache/v1/storage_backend/connector/eic_connector.py:706
Method
batched_get_blocking
A blocking function to get the kv cache from the storage backend. :param List[CacheEngineKey] keys: The keys of the MemoryObjs.
lmcache/v1/storage_backend/nixl_storage_backend.py:1268
Method
batched_get_blocking
A blocking function to get the kv cache from the storage backend. :param List[CacheEngineKey] keys: The keys of the MemoryObjs.
lmcache/v1/storage_backend/nixl_storage_backend.py:2071
Method
batched_get_blocking
( self, keys: List[CacheEngineKey], )
lmcache/v1/storage_backend/audit_backend.py:187
Method
batched_get_blocking
A blocking function to get the kv cache from the storage backend. :param List[CacheEngineKey] keys: The keys of the MemoryObjs.
lmcache/v1/storage_backend/abstract_backend.py:178
Method
batched_get_blocking
Blocking batched get via single batch_retrieve RPC. Args: keys: The cache keys. Returns: List of MemoryObj (
lmcache/v1/storage_backend/maru_backend.py:481
Method
batched_get_non_blocking
( self, lookup_id: str, keys: list[CacheEngineKey], transfer_spec: Any = None,
lmcache/v1/storage_backend/nixl_storage_backend.py:933
Method
batched_get_non_blocking
( self, lookup_id: str, keys: list[CacheEngineKey], transfer_spec: Any = None,
lmcache/v1/storage_backend/nixl_storage_backend.py:1288
Method
batched_get_non_blocking
Non blocking interface to get the kv cache from the storage backend. :param List[CacheEngineKey] keys: The keys of the MemoryObjs.
lmcache/v1/storage_backend/nixl_storage_backend.py:2086
Method
batched_get_non_blocking
( self, lookup_id: str, keys: list[CacheEngineKey], transfer_spec: Any = None,
lmcache/v1/storage_backend/audit_backend.py:131
Method
batched_get_non_blocking
( self, lookup_id: str, keys: list[CacheEngineKey], transfer_spec: Any = None,
lmcache/v1/storage_backend/local_cpu_backend.py:222
Method
batched_get_non_blocking
( self, lookup_id: str, keys: List[CacheEngineKey], transfer_spec: Any = None,
lmcache/v1/storage_backend/remote_backend.py:547
Method
batched_get_non_blocking
A non-blocking function to get the kv cache from the storage backend. :param list[CacheEngineKey] keys: The keys of the list of Memo
lmcache/v1/storage_backend/abstract_backend.py:161
Method
batched_get_non_blocking
Non-blocking batched get via single batch_retrieve RPC. Uses handler.batch_retrieve() for a single RPC call, then resolves each Memor
lmcache/v1/storage_backend/maru_backend.py:548
Method
batched_get_non_blocking
( self, lookup_id: str, keys: list[CacheEngineKey], transfer_spec: Any = None,
lmcache/v1/storage_backend/local_disk_backend.py:439
Method
batched_get_non_blocking
( self, lookup_id: str, keys: List[CacheEngineKey], )
lmcache/v1/storage_backend/connector/redis_connector.py:217
Method
batched_get_non_blocking
( self, lookup_id: str, keys: List[CacheEngineKey], )
lmcache/v1/storage_backend/connector/redis_connector.py:439
Method
batched_get_non_blocking
( self, lookup_id: str, keys: List[CacheEngineKey], )
lmcache/v1/storage_backend/connector/redis_connector.py:818
Method
batched_get_non_blocking
Non-blocking batched get returning the consecutive prefix.
lmcache/v1/storage_backend/connector/valkey_connector.py:636
Method
batched_get_non_blocking
Batched get the memory_objs of the corresponding keys (non-blocking) This method returns only the consecutive prefix of successfully retrieve
lmcache/v1/storage_backend/connector/base_connector.py:308
Method
batched_get_non_blocking
( self, lookup_id: str, keys: List[CacheEngineKey], )
lmcache/v1/storage_backend/connector/mock_connector.py:328
Method
batched_get_non_blocking
Return the successful prefix of ``batched_get`` results.
lmcache/v1/storage_backend/connector/hfbucket_connector.py:434
Method
batched_get_non_blocking
Prefetch multiple keys (queued with priority).
lmcache/v1/storage_backend/connector/sagemaker_hyperpod_connector.py:918
Method
batched_get_non_blocking
( self, lookup_id: str, keys: List[CacheEngineKey], )
lmcache/v1/storage_backend/connector/instrumented_connector.py:114
Method
batched_get_non_blocking
( self, lookup_id: str, keys: List[CacheEngineKey] )
lmcache/v1/storage_backend/connector/s3_connector.py:642
Method
batched_get_non_blocking
( self, lookup_id: str, keys: List[CacheEngineKey], )
lmcache/v1/storage_backend/connector/eic_connector.py:731
Method
batched_insert
(self, keys)
tests/v1/storage_backend/test_batched_message_sender.py:28
Method
batched_insert
(self, keys)
tests/v1/storage_backend/test_local_cpu_backend.py:30
Method
batched_insert
(self, keys)
tests/v1/storage_backend/test_local_disk_backend.py:31
Function
batched_memcpy
Non-CUDA equivalent of the native batched memcpy helper.
lmcache/python_ops_fallback.py:437
Method
batched_put
( self, keys: List[CacheEngineKey], memory_objs: List[MemoryObj] )
lmcache/v1/storage_backend/connector/redis_connector.py:123
Method
batched_put
( self, keys: List[CacheEngineKey], memory_objs: List[MemoryObj] )
lmcache/v1/storage_backend/connector/redis_connector.py:353
Method
batched_put
( self, keys: List[CacheEngineKey], memory_objs: List[MemoryObj] )
lmcache/v1/storage_backend/connector/redis_connector.py:732
Method
batched_put
Store multiple memory objects in Valkey in parallel.
lmcache/v1/storage_backend/connector/valkey_connector.py:451
Method
batched_put
Batched put the memory_objs with the corresponding keys Input: keys: the keys of the corresponding objects me
lmcache/v1/storage_backend/connector/base_connector.py:269
Method
batched_put
Batched put with clear split by metadata mode. - save_chunk_meta False: use Mooncake's batch_put_from (zero-copy). - save_chu
lmcache/v1/storage_backend/connector/mooncakestore_connector.py:699
Method
batched_put
( self, keys: List[CacheEngineKey], memory_objs: List[MemoryObj] )
lmcache/v1/storage_backend/connector/bigtable_connector.py:681
Method
batched_put
Store multiple objects in parallel. Metrics reported per individual put.
lmcache/v1/storage_backend/connector/sagemaker_hyperpod_connector.py:735
Method
batched_put
( self, keys: List[CacheEngineKey], memory_objs: List[MemoryObj] )
lmcache/v1/storage_backend/connector/instrumented_connector.py:174
Method
batched_put
( self, keys: List[CacheEngineKey], memory_objs: List[MemoryObj] )
lmcache/v1/storage_backend/connector/eic_connector.py:624
Method
batched_read
( self, buffers: Union[list[bytes], list[MemoryObj]], transfer_spec: Optional[dict] =
lmcache/v1/transfer_channel/mock_memory_channel.py:109
Method
batched_read
Read a batch of data through the channel. :param buffers: A list of bytes or MemoryObj to store the read data. :param transf
lmcache/v1/transfer_channel/abstract.py:233
Method
batched_recv
( self, buffers: Union[list[bytes], list[MemoryObj]], transfer_spec: Optional[dict] =
lmcache/v1/transfer_channel/mock_memory_channel.py:75
Method
batched_recv
Receive a batch of data through the channel. :param buffer: A list of bytes or MemoryObj to store the received data. :param
lmcache/v1/transfer_channel/abstract.py:168
Method
batched_remove
(self, keys)
tests/v1/storage_backend/test_batched_message_sender.py:25
Method
batched_remove
(self, keys)
tests/v1/storage_backend/test_local_cpu_backend.py:27
Method
batched_remove
(self, keys)
tests/v1/storage_backend/test_local_disk_backend.py:28
Method
batched_remove
Remove a list of memory objects. :param list[CacheEngineKey] keys: The keys of the MemoryObjs. :param bool force: Whether to
lmcache/v1/storage_backend/abstract_backend.py:235
Method
batched_remove
Batched remove the keys and the corresponding cache in the specified locations. :param List[CacheEngineKey] keys: The keys t
lmcache/v1/storage_backend/storage_manager.py:1070
Method
batched_remove
Remove multiple keys from the backend. Args: keys: The cache keys to remove. force: Passed through to :meth:`remove`.
lmcache/v1/storage_backend/plugins/dax_backend.py:573
Method
batched_send
( self, objects: Union[list[bytes], list[MemoryObj]], transfer_spec: Optional[dict] =
lmcache/v1/transfer_channel/mock_memory_channel.py:68
Method
batched_send
Send a batch of data through the channel. :param objects: A list of bytes or MemoryObj to be sent. :param transfer_spec: Add
lmcache/v1/transfer_channel/abstract.py:152
Method
batched_submit_put_task
( self, keys: Sequence[CacheEngineKey], memory_objs: List[MemoryObj], transfer
lmcache/v1/storage_backend/nixl_storage_backend.py:919
Method
batched_submit_put_task
:param on_complete_callback: Optional callback (not yet supported for NixlCacheBackend async operations).
lmcache/v1/storage_backend/nixl_storage_backend.py:1218
Method
batched_submit_put_task
:param on_complete_callback: Optional callback invoked once per key after transfer completes. Only supported in sync mode (async_
lmcache/v1/storage_backend/nixl_storage_backend.py:2022
Method
batched_submit_put_task
( self, keys: Sequence[CacheEngineKey], memory_objs: List[MemoryObj], transfer
lmcache/v1/storage_backend/audit_backend.py:109
Method
batched_submit_put_task
An async function to put the MemoryObj into the storage backend. :param List[CacheEngineKey] keys: The keys of the MemoryObjs.
lmcache/v1/storage_backend/abstract_backend.py:72
Method
batched_submit_put_task
Submit batched put tasks to store KV caches to GDS asynchronously. :param on_complete_callback: Optional callback invoked once per k
lmcache/v1/storage_backend/gds_backend.py:582
Method
batched_submit_put_task
Submit batched put tasks via single batch_store RPC. Args: keys: The cache keys. memory_objs: MemoryObjs with data al
lmcache/v1/storage_backend/maru_backend.py:298
Method
batched_submit_put_task
Submit batched put tasks to store KV caches to disk asynchronously. :param keys: The cache keys for the KV chunks. :param me
lmcache/v1/storage_backend/local_disk_backend.py:371
Method
batched_submit_put_task
Submit a transfer batch as a concurrent coroutine on the sender loop. Each batch runs as an independent concurrent coroutine — no per-receive
lmcache/v1/storage_backend/pd_backend_async.py:1040
Method
batched_to_gpu
( self, memory_objs: Union[ List[List[MemoryObj]], List[MemoryObj], List[int], Non
lmcache/v1/gpu_connector/musa_connectors.py:269
Method
batched_to_gpu
(self, memory_objs, starts, ends, **kwargs)
lmcache/v1/gpu_connector/hpu_connector.py:210
Method
batched_to_gpu
Batched store the data from the memory objects to GPU kv cache. Sub-classes should define the format of the kwargs. For non-
lmcache/v1/gpu_connector/gpu_connectors.py:98
Method
batched_to_gpu
(self, memory_objs, starts, ends, **kwargs)
lmcache/v1/gpu_connector/gpu_connectors.py:404
Method
batched_to_gpu
(self, memory_objs, starts, ends, **kwargs)
lmcache/v1/gpu_connector/gpu_connectors.py:628
Method
batched_to_gpu
This function is a generator that moves the KV cache from the memory objects to paged GPU memory. The first iteration will prepare so
lmcache/v1/gpu_connector/gpu_connectors.py:1713
Method
batched_to_gpu
( self, memory_objs: Union[ List[List[MemoryObj]], List[MemoryObj], List[int], Non
lmcache/v1/gpu_connector/gpu_connectors.py:2199
Method
batched_to_gpu
Mock batched_to_gpu operation.
lmcache/v1/gpu_connector/mock_gpu_connector.py:43
Method
batched_to_gpu
(self, memory_objs, starts, ends, **kwargs)
lmcache/v1/gpu_connector/xpu_connectors.py:276
Method
batched_to_gpu
(self, memory_objs, starts, ends, **kwargs)
lmcache/v1/gpu_connector/xpu_connectors.py:463
Method
batched_to_gpu
(self, memory_objs, starts, ends, **kwargs)
lmcache/v1/gpu_connector/xpu_connectors.py:1440
Method
batched_unpin
Unpin the keys in the specified locations. :param List[CacheEngineKey] keys: The keys to unpin. :param Optional[List[str]]
lmcache/v1/storage_backend/storage_manager.py:1096
Method
batched_write
( self, objects: Union[list[bytes], list[MemoryObj]], transfer_spec: Optional[dict] =
lmcache/v1/transfer_channel/mock_memory_channel.py:102
Method
batched_write
Write a batch of data through the channel. :param objects: A list of bytes or MemoryObj to be written. :param transfer_spec:
lmcache/v1/transfer_channel/abstract.py:217
Method
benchmark_batch_operations
Benchmark batch lock operations (lock multiple, then unlock multiple).
benchmarks/microbenchmark/ttl_lock_benchmark.py:336
Method
benchmark_high_contention
Benchmark with high contention (few locks, many threads).
benchmarks/microbenchmark/ttl_lock_benchmark.py:306
Method
benchmark_is_locked_only
Benchmark is_locked() operations only (read-only).
benchmarks/microbenchmark/ttl_lock_benchmark.py:228
Method
benchmark_lock_only
Benchmark lock() operations only.
benchmarks/microbenchmark/ttl_lock_benchmark.py:178
Method
benchmark_lock_unlock_pair
Benchmark lock() + unlock() pairs (typical usage pattern).
benchmarks/microbenchmark/ttl_lock_benchmark.py:258
Method
benchmark_mixed_operations
Benchmark mixed operations (realistic workload).
benchmarks/microbenchmark/ttl_lock_benchmark.py:280
Method
benchmark_unlock_only
Benchmark unlock() operations only.
benchmarks/microbenchmark/ttl_lock_benchmark.py:198
Function
bigtable_emulator
Start or connect to the Bigtable emulator for integration testing.
tests/conftest.py:805
Function
blake3_hash
(args)
lmcache/v1/multiprocess/token_hasher.py:37
Method
block_align
Return the configured raw-device block alignment.
lmcache/v1/storage_backend/plugins/rust_raw_block_backend.py:169
Method
block_size
(self, layer_idx: int = 0)
lmcache/v1/gpu_connector/kv_format/specs/nb_nl_two_bs_nh_hs.py:32
Method
block_size
(self, layer_idx: int = 0)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_nb_two_bs_nh_hs.py:32
Method
block_size
(self, layer_idx: int = 0)
lmcache/v1/gpu_connector/kv_format/specs/two_x_nl_x_nb_bs_nh_hs.py:32
Method
block_size
(self, layer_idx: int = 0)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_nb_nh_bs_two_hs.py:35
Method
block_size
(self, layer_idx: int = 0)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_nbbs_one_hs.py:35
Method
block_size
(self, layer_idx: int = 0)
lmcache/v1/gpu_connector/kv_format/specs/nb_nl_two_nh_bs_hs.py:34
Method
block_size
(self, layer_idx: int = 0)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_two_nb_nh_bs_hs.py:33
Method
block_size
(self, layer_idx: int = 0)
lmcache/v1/gpu_connector/kv_format/specs/two_x_nl_x_nbbs_nh_hs.py:34
Method
block_size
(self, layer_idx: int = 0)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_two_nb_bs_nh_hs.py:32
Method
block_size
(self, layer_idx: int = 0)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_nb_two_nh_bs_hs.py:34
Method
block_size
(self, layer_idx: int = 0)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_nb_bs_hs.py:32
← previous
next →
6,401–6,500 of 13,371, ranked by callers