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
pin
(req: PinRequest)
lmcache/v1/api_server/__main__.py:238
Method
pin
(self)
lmcache/utils.py:327
Method
pin
Pin the memory obj so that it will not be evicted.
lmcache/v1/memory_management.py:294
Method
pin
(self)
lmcache/v1/memory_management.py:942
Method
pin
(self)
lmcache/v1/memory_management.py:1091
Method
pin
Pin kv chunks of instance-worker(s).
lmcache/v1/cache_controller/controllers/kv_controller.py:114
Method
pin
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/nixl_storage_backend.py:946
Method
pin
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/nixl_storage_backend.py:1320
Method
pin
Not implemented yet
lmcache/v1/storage_backend/nixl_storage_backend.py:2123
Method
pin
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/audit_backend.py:167
Method
pin
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/remote_backend.py:580
Method
pin
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/pd_backend.py:1081
Method
pin
Pin a memory object so it will not be evicted. :param CacheEngineKey key: The key of the MemoryObj. :return: a bool indicat
lmcache/v1/storage_backend/abstract_backend.py:195
Method
pin
(self, key: CacheEngineKey)
lmcache/v1/storage_backend/gds_backend.py:1071
Method
pin
Pin the memory object for the given key to prevent eviction. PDBackendAsync has no eviction mechanism, so this is a no-op that always
lmcache/v1/storage_backend/pd_backend_async.py:1681
Function
pin_concurrently
()
tests/v1/storage_backend/test_rust_raw_block_backend.py:550
Function
pin_monitor
()
tests/v1/test_cache_engine_cleanup.py:32
Method
ping
(self)
tests/v1/test_health_monitor_fallback_recovery.py:463
Method
ping
Ping the remote server Returns: The error code, 0 means success
lmcache/v1/storage_backend/connector/base_connector.py:228
Method
ping
Check basic access to the configured bucket.
lmcache/v1/storage_backend/connector/hfbucket_connector.py:292
Method
ping
(self)
lmcache/v1/storage_backend/connector/bigtable_connector.py:912
Method
ping
Ping operation not implemented.
lmcache/v1/storage_backend/connector/sagemaker_hyperpod_connector.py:945
Method
ping
(self)
lmcache/v1/storage_backend/connector/instrumented_connector.py:91
Method
ping
(self)
lmcache/v1/storage_backend/connector/s3_connector.py:659
Method
policy
(self)
lmcache/v1/distributed/eviction.py:138
Method
policy
(self)
lmcache/v1/distributed/eviction.py:182
Method
pop_completed_store_tasks
(self)
lmcache/v1/distributed/l2_adapters/s3_l2_adapter.py:591
Method
pop_completed_store_tasks
(self)
lmcache/v1/distributed/l2_adapters/p2p_l2_adapter.py:204
Method
pop_completed_store_tasks
(self)
lmcache/v1/distributed/l2_adapters/hfbucket_l2_adapter.py:360
Method
pop_completed_store_tasks
Delegate to the inner adapter; store results are passed through.
lmcache/v1/distributed/l2_adapters/fault_inject_l2_adapter.py:305
Method
pop_completed_store_tasks
Pop all completed store tasks. Returns: dict[L2TaskId, L2StoreResult]: a dictionary mapping the task id to an ``L2Sto
lmcache/v1/distributed/l2_adapters/fs_l2_adapter.py:342
Method
pop_completed_store_tasks
Drain completed store task results. Returns: Mapping from task id to store result. Each task appears at most once; su
lmcache/v1/distributed/l2_adapters/dax_l2_adapter.py:424
Method
popcount
(self)
tests/v1/storage_backend/raw_block_test_utils.py:217
Method
post_blocking
Post a Nixl transfer handle and block until the transfer is done.
lmcache/v1/distributed/l2_adapters/nixl_store_l2_adapter.py:356
Method
post_init
(self, **kwargs)
lmcache/v1/cache_engine.py:298
Method
post_init
Post-initialization method to be called after the connector is created. This can be used to perform any additional setup required by
lmcache/v1/storage_backend/connector/base_connector.py:141
Method
post_init
(self)
lmcache/v1/storage_backend/connector/instrumented_connector.py:215
Method
pread_into
(self, offset, out, payload_len, total_len=None)
tests/v1/storage_backend/test_rust_raw_block_backend.py:63
Method
prefetch_single_done_callback
Callback function when a single prefetch task (i.e., prefetching from a single backend) is done.
lmcache/v1/storage_backend/storage_manager.py:541
Method
prepare_retrieve
Retrieve prefetched chunks and return serialized CPU tensors. Args: key: Cache key for the token range to retrieve. i
lmcache/v1/multiprocess/modules/engine_driven_transfer.py:479
Method
prepare_retrieve
Prepare source resources for a retrieve request. Args: key: Cache key identifying the requested token range. instance
lmcache/v1/multiprocess/modules/server_transfer.py:131
Method
prepare_retrieve
Read prefetched objects and return serialized pickle payload.
lmcache/v1/multiprocess/modules/server_transfer.py:237
Method
prepare_retrieve
Read SHM objects and return slot descriptors for worker access.
lmcache/v1/multiprocess/modules/server_transfer.py:392
Method
prepare_retrieve
Send PREPARE_RETRIEVE and deserialize the response data. Returns: Chunks on hit, or None on miss/timeout.
lmcache/v1/multiprocess/transfer_context/pickle.py:74
Method
prepare_store
Prepare a store operation. Args: key: Cache key for the token range to store. instance_id: Worker instance identifier
lmcache/v1/multiprocess/modules/engine_driven_transfer.py:411
Method
prepare_store
Prepare destination resources for a store request. Args: key: Cache key identifying the requested token range. instan
lmcache/v1/multiprocess/modules/server_transfer.py:89
Method
prepare_store
Return empty store context for pickle mode. Pickle transport does not pre-allocate SHM slots during prepare.
lmcache/v1/multiprocess/modules/server_transfer.py:185
Method
prepare_store
Reserve SHM-backed objects and return slot descriptors. Returns: Context with ``slots`` and ``chunk_indices``.
lmcache/v1/multiprocess/modules/server_transfer.py:312
Method
prepare_store
Send PREPARE_STORE RPC. For pickle, returns no pre-allocated buffers.
lmcache/v1/multiprocess/transfer_context/pickle.py:40
Method
preprocess
Preprocess token IDs into hex hash strings.
lmcache/v1/lookup_client/record_strategies/file_hash.py:43
Method
preprocess
Preprocess token IDs into bloom filter hash positions. Args: token_ids: List of token IDs to process Returns:
lmcache/v1/lookup_client/record_strategies/memory_bloom_filter.py:27
Method
priority_range
Return the range of stream priorities. Returns: A tuple of (lowest_priority, highest_priority). Always (0, 0) for the
lmcache/v1/platform/cpu/stub_cpu_device.py:191
Method
process_batch
input shape should be [channels, tokens]
lmcache/storage_backend/serde/cachegen_encoder.py:195
Method
process_layers
x is a iterator of dict values each element's shape is [tokens, channels]
lmcache/storage_backend/serde/cachegen_encoder.py:208
Method
process_request
()
lmcache/v1/lookup_client/lmcache_lookup_client.py:194
Method
process_request
()
lmcache/v1/offload_server/zmq_server.py:46
Method
process_requests_from_scheduler
(self)
lmcache/v1/lookup_client/lmcache_async_lookup_client.py:356
Method
process_responses_from_workers
(self)
lmcache/v1/lookup_client/lmcache_async_lookup_client.py:223
Method
producer_task
(thread_id)
tests/v1/storage_backend/test_batched_message_sender.py:228
Method
profile_process_tokens
(self)
lmcache/observability.py:164
Method
protocol
(self)
lmcache/v1/storage_backend/connector/mooncakestore_connector.py:220
Function
proxy_request_by_name
Proxy requests using node name as identifier. Searches top-level target_nodes first, then child nodes of every proxy, so both direct nodes an
lmcache/lmcache_frontend/app.py:536
Function
publish_fingerprints
Register published chunk fingerprints (idempotent). Returns: Number of fingerprints newly inserted.
lmcache/v1/mp_coordinator/http_apis/blend_directory_api.py:55
Method
publisher
()
tests/v1/mp_coordinator/test_blend_directory.py:206
Method
put
(self, key: CacheEngineKey, memory_obj: MemoryObj)
tests/v1/test_health_monitor_fallback_recovery.py:61
Method
put
(self, item)
tests/v1/storage_backend/test_pd_backend_bidirectional.py:207
Method
put
Store the KV cache of the tokens into the cache server. Args: key: the key of the token chunk, in the format of CacheEng
lmcache/v1/server/storage_backend/abstract_backend.py:17
Method
put
Non-blocking function to put the memory object into the storages. Do not store if the same object is being stored (handled here by
lmcache/v1/storage_backend/storage_manager.py:368
Method
put
(self, key: CacheEngineKey, memory_obj: MemoryObj)
lmcache/v1/storage_backend/connector/redis_connector.py:103
Method
put
(self, key: CacheEngineKey, memory_obj: MemoryObj)
lmcache/v1/storage_backend/connector/redis_connector.py:381
Method
put
(self, key: CacheEngineKey, memory_obj: MemoryObj)
lmcache/v1/storage_backend/connector/redis_connector.py:572
Method
put
(self, key: CacheEngineKey, memory_obj: MemoryObj)
lmcache/v1/storage_backend/connector/redis_connector.py:760
Method
put
(self, key: CacheEngineKey, memory_obj: MemoryObj)
lmcache/v1/storage_backend/connector/blackhole_connector.py:29
Method
put
Store a memory object in Valkey.
lmcache/v1/storage_backend/connector/valkey_connector.py:425
Method
put
Send the memory_obj with the corresponding key directly to the remote server. Will decrease the ref count after send finishes
lmcache/v1/storage_backend/connector/base_connector.py:189
Method
put
(self, key: CacheEngineKey, memory_obj: MemoryObj)
lmcache/v1/storage_backend/connector/mock_connector.py:245
Method
put
Store a full chunk in Hugging Face Buckets.
lmcache/v1/storage_backend/connector/hfbucket_connector.py:270
Method
put
Put operation with metadata-consistent handling. Uses put_from (without metadata) or put_parts (with metadata) to match get b
lmcache/v1/storage_backend/connector/mooncakestore_connector.py:680
Method
put
(self, key: CacheEngineKey, memory_obj: MemoryObj)
lmcache/v1/storage_backend/connector/bigtable_connector.py:430
Method
put
( self, key: CacheEngineKey, memory_obj: MemoryObj, )
lmcache/v1/storage_backend/connector/lm_connector.py:111
Method
put
(self, key: CacheEngineKey, memory_obj: MemoryObj)
lmcache/v1/storage_backend/connector/instrumented_connector.py:27
Method
put
(self, key: CacheEngineKey, memory_obj: MemoryObj)
lmcache/v1/storage_backend/connector/s3_connector.py:580
Method
put
(self, key: CacheEngineKey, memory_obj: MemoryObj)
lmcache/v1/storage_backend/connector/hf3fs_connector.py:217
Method
put
(self, key: CacheEngineKey, memory_obj: MemoryObj)
lmcache/v1/storage_backend/connector/infinistore_connector.py:133
Method
put
(self, key: CacheEngineKey, memory_obj: MemoryObj)
lmcache/v1/storage_backend/connector/eic_connector.py:612
Method
put
Store data to file system
lmcache/v1/storage_backend/connector/fs_connector.py:324
Method
put_done_callback
(f: Future)
lmcache/v1/storage_backend/remote_backend.py:258
Method
put_failed_count
(self)
lmcache/v1/storage_backend/remote_backend.py:393
Method
put_msg
Record pushed messages.
tests/v1/cache_controller/conftest.py:85
Method
put_msg
(self, msg)
tests/v1/storage_backend/test_batched_message_sender.py:37
Method
put_msg
(self, msg)
tests/v1/storage_backend/test_local_cpu_backend.py:39
Method
put_msg
(self, msg)
tests/v1/storage_backend/test_local_disk_backend.py:39
Method
put_worker
Simulates async PUT: register → transfer → deregister.
tests/v1/test_device_id_race.py:145
Method
pwrite_from_buffer
(self, offset, data, payload_len=None, total_len=None)
tests/v1/storage_backend/test_rust_raw_block_backend.py:67
Function
quant
(bins: int, xq: torch.Tensor, max1: float)
lmcache/storage_backend/serde/cachegen_decoder.py:27
Method
quantize
Quantize the key and value tensors (self.fp_k and self.fp_v)
lmcache/storage_backend/serde/cachegen_encoder.py:159
Method
query
Check if the future is done. Returns: bool: True if the future is done, False otherwise.
lmcache/v1/multiprocess/futures.py:175
Method
query
Check whether the event has completed. Returns: True always, since the stub has no real work.
lmcache/v1/platform/cpu/stub_cpu_device.py:63
Method
query
Check whether all kernels on this stream have completed. Returns: True always, since the stub has no real work.
lmcache/v1/platform/cpu/stub_cpu_device.py:182
Method
query_deserialize_result
(self, task_id)
tests/v1/distributed/serde/test_factory.py:96
← previous
next →
8,201–8,300 of 13,371, ranked by callers