MCPcopy Create free account

hub / github.com/LMCache/LMCache / functions

Functions13,371 in github.com/LMCache/LMCache

Methodbatched_get
( self, keys: List[CacheEngineKey] )
lmcache/v1/storage_backend/connector/mock_connector.py:287
Methodbatched_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
Methodbatched_get
( self, keys: List[CacheEngineKey] )
lmcache/v1/storage_backend/connector/bigtable_connector.py:553
Methodbatched_get
( self, keys: List[CacheEngineKey] )
lmcache/v1/storage_backend/connector/instrumented_connector.py:139
Methodbatched_get
( self, keys: List[CacheEngineKey] )
lmcache/v1/storage_backend/connector/eic_connector.py:706
Methodbatched_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
Methodbatched_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
Methodbatched_get_blocking
( self, keys: List[CacheEngineKey], )
lmcache/v1/storage_backend/audit_backend.py:187
Methodbatched_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
Methodbatched_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
Methodbatched_get_non_blocking
( self, lookup_id: str, keys: list[CacheEngineKey], transfer_spec: Any = None,
lmcache/v1/storage_backend/nixl_storage_backend.py:933
Methodbatched_get_non_blocking
( self, lookup_id: str, keys: list[CacheEngineKey], transfer_spec: Any = None,
lmcache/v1/storage_backend/nixl_storage_backend.py:1288
Methodbatched_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
Methodbatched_get_non_blocking
( self, lookup_id: str, keys: list[CacheEngineKey], transfer_spec: Any = None,
lmcache/v1/storage_backend/audit_backend.py:131
Methodbatched_get_non_blocking
( self, lookup_id: str, keys: list[CacheEngineKey], transfer_spec: Any = None,
lmcache/v1/storage_backend/local_cpu_backend.py:222
Methodbatched_get_non_blocking
( self, lookup_id: str, keys: List[CacheEngineKey], transfer_spec: Any = None,
lmcache/v1/storage_backend/remote_backend.py:547
Methodbatched_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
Methodbatched_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
Methodbatched_get_non_blocking
( self, lookup_id: str, keys: list[CacheEngineKey], transfer_spec: Any = None,
lmcache/v1/storage_backend/local_disk_backend.py:439
Methodbatched_get_non_blocking
( self, lookup_id: str, keys: List[CacheEngineKey], )
lmcache/v1/storage_backend/connector/redis_connector.py:217
Methodbatched_get_non_blocking
( self, lookup_id: str, keys: List[CacheEngineKey], )
lmcache/v1/storage_backend/connector/redis_connector.py:439
Methodbatched_get_non_blocking
( self, lookup_id: str, keys: List[CacheEngineKey], )
lmcache/v1/storage_backend/connector/redis_connector.py:818
Methodbatched_get_non_blocking
Non-blocking batched get returning the consecutive prefix.
lmcache/v1/storage_backend/connector/valkey_connector.py:636
Methodbatched_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
Methodbatched_get_non_blocking
( self, lookup_id: str, keys: List[CacheEngineKey], )
lmcache/v1/storage_backend/connector/mock_connector.py:328
Methodbatched_get_non_blocking
Return the successful prefix of ``batched_get`` results.
lmcache/v1/storage_backend/connector/hfbucket_connector.py:434
Methodbatched_get_non_blocking
Prefetch multiple keys (queued with priority).
lmcache/v1/storage_backend/connector/sagemaker_hyperpod_connector.py:918
Methodbatched_get_non_blocking
( self, lookup_id: str, keys: List[CacheEngineKey], )
lmcache/v1/storage_backend/connector/instrumented_connector.py:114
Methodbatched_get_non_blocking
( self, lookup_id: str, keys: List[CacheEngineKey] )
lmcache/v1/storage_backend/connector/s3_connector.py:642
Methodbatched_get_non_blocking
( self, lookup_id: str, keys: List[CacheEngineKey], )
lmcache/v1/storage_backend/connector/eic_connector.py:731
Methodbatched_insert
(self, keys)
tests/v1/storage_backend/test_batched_message_sender.py:28
Methodbatched_insert
(self, keys)
tests/v1/storage_backend/test_local_cpu_backend.py:30
Methodbatched_insert
(self, keys)
tests/v1/storage_backend/test_local_disk_backend.py:31
Functionbatched_memcpy
Non-CUDA equivalent of the native batched memcpy helper.
lmcache/python_ops_fallback.py:437
Methodbatched_put
( self, keys: List[CacheEngineKey], memory_objs: List[MemoryObj] )
lmcache/v1/storage_backend/connector/redis_connector.py:123
Methodbatched_put
( self, keys: List[CacheEngineKey], memory_objs: List[MemoryObj] )
lmcache/v1/storage_backend/connector/redis_connector.py:353
Methodbatched_put
( self, keys: List[CacheEngineKey], memory_objs: List[MemoryObj] )
lmcache/v1/storage_backend/connector/redis_connector.py:732
Methodbatched_put
Store multiple memory objects in Valkey in parallel.
lmcache/v1/storage_backend/connector/valkey_connector.py:451
Methodbatched_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
Methodbatched_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
Methodbatched_put
( self, keys: List[CacheEngineKey], memory_objs: List[MemoryObj] )
lmcache/v1/storage_backend/connector/bigtable_connector.py:681
Methodbatched_put
Store multiple objects in parallel. Metrics reported per individual put.
lmcache/v1/storage_backend/connector/sagemaker_hyperpod_connector.py:735
Methodbatched_put
( self, keys: List[CacheEngineKey], memory_objs: List[MemoryObj] )
lmcache/v1/storage_backend/connector/instrumented_connector.py:174
Methodbatched_put
( self, keys: List[CacheEngineKey], memory_objs: List[MemoryObj] )
lmcache/v1/storage_backend/connector/eic_connector.py:624
Methodbatched_read
( self, buffers: Union[list[bytes], list[MemoryObj]], transfer_spec: Optional[dict] =
lmcache/v1/transfer_channel/mock_memory_channel.py:109
Methodbatched_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
Methodbatched_recv
( self, buffers: Union[list[bytes], list[MemoryObj]], transfer_spec: Optional[dict] =
lmcache/v1/transfer_channel/mock_memory_channel.py:75
Methodbatched_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
Methodbatched_remove
(self, keys)
tests/v1/storage_backend/test_batched_message_sender.py:25
Methodbatched_remove
(self, keys)
tests/v1/storage_backend/test_local_cpu_backend.py:27
Methodbatched_remove
(self, keys)
tests/v1/storage_backend/test_local_disk_backend.py:28
Methodbatched_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
Methodbatched_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
Methodbatched_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
Methodbatched_send
( self, objects: Union[list[bytes], list[MemoryObj]], transfer_spec: Optional[dict] =
lmcache/v1/transfer_channel/mock_memory_channel.py:68
Methodbatched_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
Methodbatched_submit_put_task
( self, keys: Sequence[CacheEngineKey], memory_objs: List[MemoryObj], transfer
lmcache/v1/storage_backend/nixl_storage_backend.py:919
Methodbatched_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
Methodbatched_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
Methodbatched_submit_put_task
( self, keys: Sequence[CacheEngineKey], memory_objs: List[MemoryObj], transfer
lmcache/v1/storage_backend/audit_backend.py:109
Methodbatched_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
Methodbatched_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
Methodbatched_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
Methodbatched_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
Methodbatched_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
Methodbatched_to_gpu
( self, memory_objs: Union[ List[List[MemoryObj]], List[MemoryObj], List[int], Non
lmcache/v1/gpu_connector/musa_connectors.py:269
Methodbatched_to_gpu
(self, memory_objs, starts, ends, **kwargs)
lmcache/v1/gpu_connector/hpu_connector.py:210
Methodbatched_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
Methodbatched_to_gpu
(self, memory_objs, starts, ends, **kwargs)
lmcache/v1/gpu_connector/gpu_connectors.py:404
Methodbatched_to_gpu
(self, memory_objs, starts, ends, **kwargs)
lmcache/v1/gpu_connector/gpu_connectors.py:628
Methodbatched_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
Methodbatched_to_gpu
( self, memory_objs: Union[ List[List[MemoryObj]], List[MemoryObj], List[int], Non
lmcache/v1/gpu_connector/gpu_connectors.py:2199
Methodbatched_to_gpu
Mock batched_to_gpu operation.
lmcache/v1/gpu_connector/mock_gpu_connector.py:43
Methodbatched_to_gpu
(self, memory_objs, starts, ends, **kwargs)
lmcache/v1/gpu_connector/xpu_connectors.py:276
Methodbatched_to_gpu
(self, memory_objs, starts, ends, **kwargs)
lmcache/v1/gpu_connector/xpu_connectors.py:463
Methodbatched_to_gpu
(self, memory_objs, starts, ends, **kwargs)
lmcache/v1/gpu_connector/xpu_connectors.py:1440
Methodbatched_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
Methodbatched_write
( self, objects: Union[list[bytes], list[MemoryObj]], transfer_spec: Optional[dict] =
lmcache/v1/transfer_channel/mock_memory_channel.py:102
Methodbatched_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
Methodbenchmark_batch_operations
Benchmark batch lock operations (lock multiple, then unlock multiple).
benchmarks/microbenchmark/ttl_lock_benchmark.py:336
Methodbenchmark_high_contention
Benchmark with high contention (few locks, many threads).
benchmarks/microbenchmark/ttl_lock_benchmark.py:306
Methodbenchmark_is_locked_only
Benchmark is_locked() operations only (read-only).
benchmarks/microbenchmark/ttl_lock_benchmark.py:228
Methodbenchmark_lock_only
Benchmark lock() operations only.
benchmarks/microbenchmark/ttl_lock_benchmark.py:178
Methodbenchmark_lock_unlock_pair
Benchmark lock() + unlock() pairs (typical usage pattern).
benchmarks/microbenchmark/ttl_lock_benchmark.py:258
Methodbenchmark_mixed_operations
Benchmark mixed operations (realistic workload).
benchmarks/microbenchmark/ttl_lock_benchmark.py:280
Methodbenchmark_unlock_only
Benchmark unlock() operations only.
benchmarks/microbenchmark/ttl_lock_benchmark.py:198
Functionbigtable_emulator
Start or connect to the Bigtable emulator for integration testing.
tests/conftest.py:805
Functionblake3_hash
(args)
lmcache/v1/multiprocess/token_hasher.py:37
Methodblock_align
Return the configured raw-device block alignment.
lmcache/v1/storage_backend/plugins/rust_raw_block_backend.py:169
Methodblock_size
(self, layer_idx: int = 0)
lmcache/v1/gpu_connector/kv_format/specs/nb_nl_two_bs_nh_hs.py:32
Methodblock_size
(self, layer_idx: int = 0)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_nb_two_bs_nh_hs.py:32
Methodblock_size
(self, layer_idx: int = 0)
lmcache/v1/gpu_connector/kv_format/specs/two_x_nl_x_nb_bs_nh_hs.py:32
Methodblock_size
(self, layer_idx: int = 0)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_nb_nh_bs_two_hs.py:35
Methodblock_size
(self, layer_idx: int = 0)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_nbbs_one_hs.py:35
Methodblock_size
(self, layer_idx: int = 0)
lmcache/v1/gpu_connector/kv_format/specs/nb_nl_two_nh_bs_hs.py:34
Methodblock_size
(self, layer_idx: int = 0)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_two_nb_nh_bs_hs.py:33
Methodblock_size
(self, layer_idx: int = 0)
lmcache/v1/gpu_connector/kv_format/specs/two_x_nl_x_nbbs_nh_hs.py:34
Methodblock_size
(self, layer_idx: int = 0)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_two_nb_bs_nh_hs.py:32
Methodblock_size
(self, layer_idx: int = 0)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_nb_two_nh_bs_hs.py:34
Methodblock_size
(self, layer_idx: int = 0)
lmcache/v1/gpu_connector/kv_format/specs/nl_x_nb_bs_hs.py:32
← previousnext →6,401–6,500 of 13,371, ranked by callers