MCPcopy Create free account

hub / github.com/LMCache/LMCache / functions

Functions13,371 in github.com/LMCache/LMCache

Methodadd_arguments
(self, parser: argparse.ArgumentParser)
lmcache/cli/commands/quota/list_command.py:21
Methodadd_arguments
(self, parser: argparse.ArgumentParser)
lmcache/cli/commands/quota/delete_command.py:25
Methodadd_arguments
(self, parser: argparse.ArgumentParser)
lmcache/cli/commands/quota/get_command.py:25
Methodadd_arguments
(self, parser: argparse.ArgumentParser)
lmcache/cli/commands/query/kvcache_command.py:20
Methodadd_arguments
(self, parser: argparse.ArgumentParser)
lmcache/cli/commands/query/engine_command.py:23
Methodadd_arguments
(self, parser: argparse.ArgumentParser)
lmcache/cli/commands/trace/info_command.py:24
Methodadd_arguments
(self, parser: argparse.ArgumentParser)
lmcache/cli/commands/trace/replay_command.py:36
Methodadd_arguments
(self, parser: argparse.ArgumentParser)
lmcache/cli/commands/bench/l2_adapter_bench/__init__.py:24
Methodadd_arguments
(self, parser: argparse.ArgumentParser)
lmcache/cli/commands/bench/server_bench/__init__.py:24
Functionadd_bypass_backend
Add a backend to the bypass list. Query Parameters: backend_name: The name of the backend to bypass. Args: request: The
lmcache/v1/internal_api_server/vllm/bypass_api.py:77
Methodadd_line
(self, line: str, source: str, *lineno: int)
docs/source/conf.py:52
Functionadd_node_to_proxy
Add child node to proxy
lmcache/lmcache_frontend/app.py:436
Methodadd_nonblocking_handler
( self, request_type: RequestType, payload_clss: list[Any], handler )
lmcache/v1/multiprocess/mq.py:755
Functionadd_proxy
Add a new proxy node
lmcache/lmcache_frontend/app.py:412
Methodadd_workers
(start_id)
tests/v1/cache_controller/test_registry_tree.py:216
Methodadmit_keys
(thread_id)
tests/v1/cache_controller/test_registry_tree.py:44
Methodadmit_keys
(instance_idx, worker_id)
tests/v1/cache_controller/test_registry_tree.py:473
Functionaggregated_metrics
Aggregate /metrics from all leaf (child) nodes across every proxy. Previously only nodes under the ``local_proxy`` entry were aggregated, whi
lmcache/lmcache_frontend/app.py:864
Methodall_keys_updatable
()
tests/v1/distributed/test_store_controller.py:394
Methodall_paths
All configured paths (unmodified order).
lmcache/v1/storage_backend/path_sharder.py:108
Methodall_token_ids
(self)
tests/v1/test_decode_save_and_preemption.py:32
Functionalloc
(shapes, dtype, fmt=MemoryFormat.KV_2LTD, **kw)
tests/v1/storage_backend/test_pd_backend_async.py:131
Methodalloc_and_free
()
tests/v1/test_address_manager.py:877
Functionalloc_fn
(*args, **kw)
tests/v1/storage_backend/test_pd_backend_async.py:293
Functionalloc_hugepage_pinned_numa_ptr
Non-CUDA fallback for alloc_hugepage_pinned_numa_ptr (no hugepage support).
lmcache/python_ops_fallback.py:518
Functionalloc_hugepage_pinned_ptr
Non-CUDA fallback for alloc_hugepage_pinned_ptr (no hugepage support).
lmcache/python_ops_fallback.py:502
Functionalloc_numa_ptr
Non-CUDA equivalent of allocating numa memory and returning pointer to it. Note: Numa memory is not supported on non-CUDA.
lmcache/python_ops_fallback.py:534
Functionalloc_shm_pinned_ptr
Non-CUDA equivalent of allocating shared memory pinned pointer. Uses multiprocessing.shared_memory for cross-platform POSIX shm.
lmcache/python_ops_fallback.py:455
Methodalloc_worker
()
tests/v1/test_address_manager.py:821
Methodallocate
( self, shapes: Union[torch.Size, list[torch.Size]], dtypes: Union[torch.dtype, list[t
lmcache/v1/lazy_memory_allocator.py:145
Methodallocate
Allocates the memory to hold a tensor of the given shape. :param torch.Size shapes: The shape of the tensor to allocate. :pa
lmcache/v1/memory_management.py:1144
Methodallocate
( self, shapes: Union[torch.Size, list[torch.Size]], dtypes: Union[torch.dtype, list[t
lmcache/v1/memory_management.py:1944
Methodallocate
( self, shapes: Union[torch.Size, list[torch.Size]], dtypes: Union[torch.dtype, list[t
lmcache/v1/memory_management.py:2158
Methodallocate
( self, shapes: Union[torch.Size, list[torch.Size]], dtypes: Union[torch.dtype, list[t
lmcache/v1/memory_management.py:2237
Methodallocate
( self, shapes: Union[torch.Size, list[torch.Size]], dtypes: Union[torch.dtype, list[t
lmcache/v1/memory_management.py:3303
Methodallocate
Allocate ``count`` memory objects for the given layout.
lmcache/v1/distributed/memory_manager/l1_manager_protocol.py:23
Methodallocate
Allocates memory in the backend to hold a tensor of the given shape. :param Union[torch.Size, list[torch.Size]] shapes:
lmcache/v1/storage_backend/abstract_backend.py:356
Methodallocate
Allocate CXL-backed memory via CxlMemoryAdapter. Args: shapes: Tensor shape(s). dtypes: Tensor dtype(s).
lmcache/v1/storage_backend/maru_backend.py:183
Methodallocate_and_free_task
()
tests/v1/distributed/test_l1_memory_manager.py:343
Methodallocate_task
()
tests/v1/distributed/test_l1_memory_manager.py:220
Methodallocate_worker
(thread_id: int)
tests/v1/test_address_manager.py:732
Methodapi_server
Get the API server instance.
lmcache/v1/manager.py:143
Methodapi_server
Get the API server instance.
lmcache/v1/standalone/__main__.py:232
Methodapp_with_registry
Create a fresh FastAPI app and register all HTTP APIs.
tests/v1/multiprocess/test_http_api_registry.py:176
Functionappend_value
(val: int)
tests/v1/multiprocess/test_affinity_pool.py:54
Functionapply
()
docs/source/_static/custom.js:258
Methodapply
(self, spec: KVCacheSpec, kv_cache: RegisteredKVCache)
lmcache/integration/vllm/kv_cache_group_edits.py:221
Methodapply
Re-view ``kv_cache`` at logical-block granularity. The tensor is kernel-paged as ``(num_kernel_pages, 2, kernel_block_size, num_kv_he
lmcache/integration/vllm/kv_cache_group_edits.py:293
Methodarena_bytes
Return the mapped arena size in bytes.
lmcache/v1/storage_backend/dax/core.py:153
Methodarena_view
Return the active arena memoryview, or ``None`` after close.
lmcache/v1/storage_backend/dax/core.py:178
Functionassert_torch
Test that torch is available and can be imported.
tests/v1/native_storage_ops/test_pattern_matcher.py:20
Methodasync_batched_read
Read tensors from global dict to simulate data transfer
lmcache/v1/transfer_channel/mock_memory_channel.py:136
Methodasync_batched_read
Async read a batch of data through the channel. :param buffers: A list of bytes or MemoryObj to store the read data. :param
lmcache/v1/transfer_channel/abstract.py:265
Methodasync_batched_recv
( self, buffers: Union[list[bytes], list[MemoryObj]], transfer_spec: Optional[dict] =
lmcache/v1/transfer_channel/mock_memory_channel.py:89
Methodasync_batched_recv
Async receive a batch of data through the channel. :param buffers: A list of bytes or MemoryObj to store the received data.
lmcache/v1/transfer_channel/abstract.py:200
Methodasync_batched_recv
( self, buffers: Union[list[bytes], list[MemoryObj]], transfer_spec: Optional[dict] =
lmcache/v1/transfer_channel/nixl_channel.py:407
Methodasync_batched_send
( self, objects: Union[list[bytes], list[MemoryObj]], transfer_spec: Optional[dict] =
lmcache/v1/transfer_channel/mock_memory_channel.py:82
Methodasync_batched_send
Async send a batch of data through the channel. :param objects: A list of bytes or MemoryObj to be sent. :param transfer_spe
lmcache/v1/transfer_channel/abstract.py:184
Methodasync_batched_send
( self, objects: Union[list[bytes], list[MemoryObj]], transfer_spec: Optional[dict] =
lmcache/v1/transfer_channel/nixl_channel.py:400
Methodasync_batched_submit_put_task
An async version of batched_submit_put_task. :param on_complete_callback: Optional callback invoked once per key after t
lmcache/v1/storage_backend/abstract_backend.py:103
Methodasync_batched_write
Write tensors to global dict to simulate data transfer
lmcache/v1/transfer_channel/mock_memory_channel.py:116
Methodasync_batched_write
Async write a batch of data through the channel. :param objects: A list of bytes or MemoryObj to be written. :param transfer
lmcache/v1/transfer_channel/abstract.py:249
Functionasync_contains_backend
Async wrapper for backend contains method
lmcache/v1/check/check_mode_test_remote.py:29
Functionasync_contains_storage_manager
Async wrapper for storage manager contains method
lmcache/v1/check/check_mode_test_storage_manager.py:24
Methodasync_download_file
( self, url: str, save_path: Path, *, timeout: Optional[float] = None,
lmcache/connections.py:155
Functionasync_get_backend
Async wrapper for backend get_blocking method
lmcache/v1/check/check_mode_test_remote.py:34
Methodasync_get_bytes
( self, url: str, *, timeout: Optional[float] = None, )
lmcache/connections.py:93
Methodasync_get_json
( self, url: str, *, timeout: Optional[float] = None, )
lmcache/connections.py:127
Functionasync_get_storage_manager
Async wrapper for storage manager get method
lmcache/v1/check/check_mode_test_storage_manager.py:32
Methodasync_get_text
( self, url: str, *, timeout: Optional[float] = None, )
lmcache/connections.py:110
Methodasync_lazy_init_peer_connection
(*args, **kwargs)
tests/v1/storage_backend/test_p2p_backend_with_controller.py:578
Methodasync_lazy_init_peer_connection
Async version of `lazy_init_peer_connection`.
lmcache/v1/transfer_channel/abstract.py:46
Methodasync_lazy_init_peer_connection
Initialize connection to a peer using ZMQ sockets for handshake. Note: peer_id is expected to be peer_init_url in this implementatio
lmcache/v1/transfer_channel/py_socket_channel.py:114
Functionasync_loop
()
tests/v1/storage_backend/test_bigtable_integration.py:61
Functionasync_loop
()
tests/v1/storage_backend/test_gds_backend.py:99
Functionasync_loop
Create an asyncio event loop running in a separate thread for testing.
tests/v1/storage_backend/test_hf3fs_connector.py:199
Functionasync_loop
()
tests/v1/storage_backend/test_bigtable_connector.py:215
Functionasync_loop
Create an asyncio event loop running in a background thread
tests/v1/storage_backend/test_p2p_backend_with_controller.py:222
Functionasync_loop
Provide an asyncio event loop running in a background thread.
tests/v1/storage_backend/test_maru_backend.py:143
Functionasync_loop
Create an asyncio event loop running in a separate thread for testing.
tests/v1/storage_backend/test_fs_connector.py:97
Functionasync_loop
Create an asyncio event loop for testing.
tests/v1/storage_backend/test_local_disk_backend.py:94
Methodasync_loop
Create an event loop for async operations.
tests/v1/internal_api_server/test_load_fs_chunks.py:41
Methodasync_loop
Create an async event loop for testing.
tests/v1/storage_backend/test_remote_storage_plugin.py:163
Methodasync_loop
Create an async event loop for testing.
tests/v1/storage_backend/test_storage_plugin.py:208
Methodasync_put_and_wait_msg
Return predefined responses for REQ-REP messages.
tests/v1/cache_controller/conftest.py:89
Methodasync_put_and_wait_msg
Send message to controller and wait for response
tests/v1/storage_backend/test_p2p_backend_with_controller.py:96
Functionasync_receiver
()
tests/v1/storage_backend/test_pd_backend_async.py:221
Methodasync_save_bytes_to_disk
Convert KV to bytes and async store bytes to disk. :param on_complete_callback: Optional callback invoked after the disk
lmcache/v1/storage_backend/local_disk_backend.py:519
Functionasync_sender
()
tests/v1/storage_backend/test_pd_backend_async.py:165
Functionasync_submit_put_backend
Async wrapper for backend submit_put_task
lmcache/v1/check/check_mode_test_remote.py:39
Functionasync_submit_put_storage_manager
Async wrapper for storage manager batched_put
lmcache/v1/check/check_mode_test_storage_manager.py:39
Methodattention_backend
Returns the attention backend name.
lmcache/v1/platform/base_cache_context.py:264
Functionautorelease
(request)
tests/conftest.py:701
Methodavailable
Number of slots currently available.
examples/disagg_prefill/disagg_proxy_server.py:76
Methodavg_duration
(self)
lmcache/cli/commands/bench/l2_adapter_bench/result.py:80
Methodavg_latency_per_key_ms
(self)
lmcache/cli/commands/bench/l2_adapter_bench/result.py:165
Methodavg_ops_per_sec
(self)
lmcache/cli/commands/bench/l2_adapter_bench/result.py:152
Methodavg_success_per_round
(self)
lmcache/cli/commands/bench/l2_adapter_bench/result.py:161
Methodavg_throughput_mbps
(self)
lmcache/cli/commands/bench/l2_adapter_bench/result.py:123
Functionbackend
Yield (backend_id, ops_module, device) for each backend config. For the cpu_py_ops variant, torch.cuda.is_available is patched to return Fals
tests/v1/test_python_ops_fallback.py:109
← previousnext →6,201–6,300 of 13,371, ranked by callers