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
_get_lmcache_worker_ids
(self, use_mla, world_size)
lmcache/v1/config.py:894
Function
_get_lookup_server_worker_ids
(self, use_mla, world_size)
lmcache/v1/config.py:908
Function
_get_num_free_hugepages
Return the number of free huge pages, or 0 if unknown.
tests/v1/test_memory_management.py:908
Function
_get_ref_count
()
tests/v1/storage_backend/test_pd_backend_async.py:78
Method
_get_scratch
(size)
tests/v1/test_staging_buffer.py:130
Function
_get_temp_kernel_group_buffer
(batch_idx, kernel_group_idx)
tests/v1/multiprocess/test_blend_v3_load_store_opts.py:246
Function
_get_test_scripts_static
Static function to get test scripts for parametrize.
tests/v1/internal_api_server/test_run_script.py:16
Method
_get_total_chunks
Return total number of chunks in the PD buffer. Computed as ``_aligned_buffer_size // _chunk_size_bytes``. :return: Total number of
lmcache/v1/storage_backend/pd_backend_async.py:1565
Method
_get_with_odirect
Synchronous direct IO read, executed in a thread.
lmcache/v1/storage_backend/connector/fs_connector.py:175
Function
_handle_exit
(signum, frame)
lmcache/lmcache_frontend/lmcache_mp_plugin/lmcache_mp_frontend_plugin.py:65
Method
_handle_match
POST a match query and store the parsed matches (miss on error).
lmcache/v1/mp_coordinator/blend_client.py:254
Function
_handler
(ctx: ReplayContext, args: dict[str, Any])
lmcache/cli/commands/trace/_dispatch.py:156
Function
_has_cuda
()
tests/v1/test_trtllm_integration.py:29
Function
_has_ext
()
tests/v1/storage_backend/test_rust_raw_block_backend.py:45
Function
_has_lmc_ops
()
tests/v1/test_trtllm_integration.py:19
Function
_has_lmcache
Show this item only when the user said they have LMCache.
lmcache/cli/commands/bench/engine_bench/interactive/schema.py:64
Function
_has_raw_block_ext
()
tests/v1/distributed/test_l2_adapter_factory.py:32
Method
_http_request
(method: str, path: str, payload: dict)
lmcache/v1/mp_coordinator/blend_client.py:116
Method
_incr_seq_discontinuity_count
Increment the sequence discontinuity counter (thread-safe).
lmcache/v1/cache_controller/utils.py:374
Method
_init_loop
(self)
lmcache/v1/transfer_channel/nixl_channel.py:299
Method
_init_loop
Synchronous initialization loop for handling incoming connections
lmcache/v1/transfer_channel/py_socket_channel.py:203
Function
_init_pin_monitor
Initialize PinMonitor singleton required by TensorMemoryObj.pin().
tests/v1/storage_backend/test_maru_backend.py:134
Function
_initialize_attributes
(_kv_caches: list[torch.Tensor])
tests/v1/test_musa_connector.py:85
Method
_int
(key, default)
lmcache/v1/distributed/l2_adapters/s3_l2_adapter.py:366
Method
_isolate_registry
Snapshot and restore the factory registry and pending-module list around each test.
tests/v1/distributed/test_l2_adapter_factory.py:471
Function
_kv_wrapper_factory
Indirect-dispatch wrapper. Defers loading :mod:`lmcache.v1.platform.cpu.shm` (which pulls in ``multiprocess.custom_types``) until first use,
lmcache/v1/platform/cpu/__init__.py:21
Function
_kv_wrapper_factory
Indirect-dispatch wrapper. Re-imports :class:`CudaIPCWrapper` on every call so test suites that swap the symbol still see their override take
lmcache/v1/platform/cuda/__init__.py:23
Method
_list_internal
(self)
lmcache/v1/storage_backend/connector/bigtable_connector.py:828
Method
_list_sync
Return LMCache key strings discovered under the configured prefix.
lmcache/v1/storage_backend/connector/hfbucket_connector.py:545
Function
_lmcache_nvtx_annotate
Decorator for applying nvtx annotations to methods in lmcache.
lmcache/utils.py:674
Method
_load_batch_sync
( self, keys: list[ObjectKey], objects: list[MemoryObj], )
lmcache/v1/distributed/l2_adapters/hfbucket_l2_adapter.py:717
Function
_load_objs
(_r: int)
lmcache/cli/commands/bench/l2_adapter_bench/command.py:332
Function
_log_config
Log configuration
lmcache/v1/config.py:874
Function
_log_config
Log configuration
lmcache/v1/cache_controller/config.py:82
Method
_loop
(self)
lmcache/v1/distributed/l2_adapters/serde_wrapper.py:396
Method
_main_loop
Unified poll loop for all registered clients.
lmcache/v1/multiprocess/mq.py:229
Method
_main_loop
(self)
lmcache/v1/multiprocess/mq.py:597
Method
_make_chunk
(content="", usage=None)
tests/cli/commands/bench/test_bench_command.py:556
Function
_make_hnd_flashinfer_kv_caches
Build per-layer HND flash-infer KV tensors for non-CUDA data transfer tests.
tests/v1/multiprocess/test_engine_driven_transfer.py:134
Function
_make_mla_kv_caches
Build per-layer MLA KV tensors for non-CUDA data transfer tests. Args: num_layers: Number of KV layers to generate. num_blocks: N
tests/v1/multiprocess/test_engine_driven_transfer.py:94
Function
_make_result
(request_id: str = "req_0")
tests/cli/commands/bench/test_bench_command.py:115
Function
_make_result
(request_id: str = "req_0")
tests/cli/commands/bench/engine_bench/test_progress.py:28
Method
_make_transfer_key
( key: IPCCacheServerKey, instance_id: int )
lmcache/v1/multiprocess/modules/engine_driven_transfer.py:290
Method
_mem_alloc_loop
Running the memory allocation loop.
lmcache/v1/storage_backend/pd_backend.py:951
Function
_merge_attention_kernel
Merge two attention outputs using their LSE values. out = (o1 * exp(lse1) + o2 * exp(lse2)) / (exp(lse1) + exp(lse2)) This is used to blend
lmcache/v1/compute/attention/triton_kernels/block_sparse_attention.py:299
Method
_meta
Typed accessor for ``self._metadata`` set by the base class.
lmcache/integration/tensorrt_llm/tensorrt_adapter.py:283
Method
_meta
(iid: int)
lmcache/v1/multiprocess/modules/blend_v3.py:419
Method
_mmap_obj
(self)
lmcache/v1/storage_backend/plugins/dax_backend.py:243
Function
_mock_otel_provider
Avoid mutating the process-global OTel MeterProvider.
tests/v1/mp_observability/test_otel_init.py:19
Function
_native_from_gpu
(**_kwargs: object)
tests/v1/test_musa_connector.py:440
Function
_native_to_gpu
(**_kwargs: object)
tests/v1/test_musa_connector.py:298
Method
_nixl_worker_loop
Dedicated NIXL worker thread. Processes transfer requests from queue. All NIXL GPU operations (batched_write, batched_read) run on this
lmcache/v1/storage_backend/pd_backend.py:598
Function
_no_lmcache_url
Show this item only when lmcache_url is not set.
lmcache/cli/commands/bench/engine_bench/interactive/schema.py:69
Method
_notify_freed
()
lmcache/v1/storage_backend/pd_backend_async.py:1534
Method
_notify_response
(fut: Future)
lmcache/v1/multiprocess/mq.py:560
Method
_num
(name: str, default: float, cast)
lmcache/v1/mp_coordinator/config.py:111
Method
_on_allocation_failed
(self, event: Event)
lmcache/v1/mp_observability/subscribers/metrics/l1_failures.py:67
Method
_on_block_allocation
Process a batch of ``BlockAllocationRecord`` from vLLM.
lmcache/v1/mp_observability/subscribers/metrics/l0_lifecycle.py:136
Method
_on_block_allocation
(self, event: Event)
lmcache/v1/mp_observability/subscribers/logging/mp_server.py:79
Method
_on_chunks_evicted
(self, event: Event)
lmcache/v1/mp_observability/subscribers/metrics/cb_server.py:210
Method
_on_chunks_evicted
(self, event: Event)
lmcache/v1/mp_observability/subscribers/logging/cb_server.py:115
Method
_on_end
Close a pending child span and handle store-count deferral. On ``MP_STORE_END``: decrements the store counter; if it reaches zero and
lmcache/v1/mp_observability/subscribers/tracing/mp_server.py:235
Method
_on_end
Close a pending child span and handle GPU-ops counter deferral. For GPU-backed END events (store_pre_computed, retrieve, store_final),
lmcache/v1/mp_observability/subscribers/tracing/cb_server.py:303
Method
_on_end_session
Handle request completion — release blocks owned by this request.
lmcache/v1/mp_observability/subscribers/metrics/l0_lifecycle.py:146
Method
_on_event
(self, event: Event)
tests/v1/mp_observability/test_event_bus.py:49
Method
_on_event
(self, event)
tests/v1/mp_observability/test_event_bus.py:366
Method
_on_event
(self, event)
tests/v1/mp_observability/subscribers/metrics/test_event_bus_self_metrics.py:66
Method
_on_evicted
(self, event: Event)
lmcache/v1/mp_observability/subscribers/metrics/l1_lifecycle.py:143
Method
_on_evicted
(self, event: Event)
lmcache/v1/mp_observability/subscribers/metrics/l2.py:181
Method
_on_evicted
(self, event: Event)
lmcache/v1/mp_observability/subscribers/metrics/l1.py:61
Method
_on_evicted
(self, event: Event)
lmcache/v1/mp_observability/subscribers/logging/l2.py:76
Method
_on_evicted
(self, event: Event)
lmcache/v1/mp_observability/subscribers/logging/l1.py:55
Method
_on_fingerprints_registered
(self, event: Event)
lmcache/v1/mp_observability/subscribers/metrics/cb_server.py:207
Method
_on_fingerprints_registered
(self, event: Event)
lmcache/v1/mp_observability/subscribers/logging/cb_server.py:108
Method
_on_load_completed
(self, event: Event)
lmcache/v1/mp_observability/subscribers/metrics/l2_throughput.py:113
Method
_on_load_completed
(self, event: Event)
lmcache/v1/mp_observability/subscribers/logging/l2.py:68
Method
_on_load_submitted
(self, event: Event)
lmcache/v1/mp_observability/subscribers/metrics/l2_throughput.py:107
Method
_on_load_submitted
(self, event: Event)
lmcache/v1/mp_observability/subscribers/logging/l2.py:60
Method
_on_load_task_completed
(self, event: Event)
lmcache/v1/mp_observability/subscribers/metrics/l2.py:155
Method
_on_lookup_completed
(self, event: Event)
lmcache/v1/mp_observability/subscribers/metrics/l2.py:165
Method
_on_lookup_completed
(self, event: Event)
lmcache/v1/mp_observability/subscribers/logging/l2.py:53
Method
_on_lookup_end
(self, event: Event)
lmcache/v1/mp_observability/subscribers/metrics/cb_server.py:167
Method
_on_lookup_end
(self, event: Event)
lmcache/v1/mp_observability/subscribers/logging/cb_server.py:60
Method
_on_lookup_hashes
Write a lookup hash event to the current JSONL file.
lmcache/v1/mp_observability/subscribers/logging/lookup_hash.py:141
Method
_on_lookup_prefetch_end
(self, event: Event)
lmcache/v1/mp_observability/subscribers/metrics/lookup.py:90
Method
_on_lookup_prefetch_end
(self, event: Event)
lmcache/v1/mp_observability/subscribers/logging/mp_server.py:72
Method
_on_lookup_prefetch_start
(self, event: Event)
lmcache/v1/mp_observability/subscribers/logging/mp_server.py:66
Method
_on_lookup_start
(self, event: Event)
lmcache/v1/mp_observability/subscribers/metrics/cb_server.py:164
Method
_on_lookup_start
(self, event: Event)
lmcache/v1/mp_observability/subscribers/logging/cb_server.py:53
Method
_on_lookup_submitted
(self, event: Event)
lmcache/v1/mp_observability/subscribers/metrics/l2.py:158
Method
_on_lookup_submitted
(self, event: Event)
lmcache/v1/mp_observability/subscribers/logging/l2.py:45
Method
_on_peer_connected
Initialize data store when a peer connects
lmcache/v1/transfer_channel/mock_memory_channel.py:43
Method
_on_point
Emit an instant span for point events (no paired END). Args: event: ``CB_FINGERPRINTS_REGISTERED`` or ``CB_CHUNKS_EVICTED``.
lmcache/v1/mp_observability/subscribers/tracing/cb_server.py:388
Method
_on_prefetch_failed
(self, event: Event)
lmcache/v1/mp_observability/subscribers/metrics/l2_failures.py:53
Method
_on_read_failed
(self, event: Event)
lmcache/v1/mp_observability/subscribers/metrics/l1_failures.py:76
Method
_on_read_finished
(self, event: Event)
lmcache/v1/mp_observability/subscribers/metrics/l1_lifecycle.py:108
Method
_on_read_finished
(self, event: Event)
lmcache/v1/mp_observability/subscribers/metrics/l1.py:55
Method
_on_read_finished
(self, event: Event)
lmcache/v1/mp_observability/subscribers/logging/l1.py:40
Method
_on_read_prefetched
(self, event: Event)
lmcache/v1/mp_observability/subscribers/logging/sm.py:33
Method
_on_read_prefetched_finished
(self, event: Event)
lmcache/v1/mp_observability/subscribers/logging/sm.py:40
← previous
next →
5,901–6,000 of 13,371, ranked by callers