MCPcopy Create free account

hub / github.com/LMCache/LMCache / functions

Functions13,371 in github.com/LMCache/LMCache

Methodcreate_connector
(self, context: ConnectorContext)
lmcache/v1/storage_backend/connector/infinistore_adapter.py:20
Methodcreate_connector
(self, context: ConnectorContext)
lmcache/v1/storage_backend/connector/audit_adapter.py:21
Methodcreate_connector
(self, context: ConnectorContext)
lmcache/v1/storage_backend/connector/__init__.py:201
Methodcreate_connector
(self, context: ConnectorContext)
lmcache/v1/storage_backend/connector/lm_adapter.py:20
Methodcreate_connector
(self, context: ConnectorContext)
lmcache/v1/storage_backend/connector/s3_adapter.py:19
Methodcreate_connector
Create an External connector. This connector stores data in the key-value store. URL format: - external://host:port/m
lmcache/v1/storage_backend/connector/external_adapter.py:20
Methodcreate_connector
Create a ValkeyConnector from the given context. Args: context: Connector creation context containing URL, config,
lmcache/v1/storage_backend/connector/valkey_adapter.py:30
Methodcreate_connector
(self, context: ConnectorContext)
lmcache/v1/storage_backend/connector/bigtable_adapter.py:24
Methodcreate_connector
(self, context: ConnectorContext)
lmcache/v1/storage_backend/connector/mooncakestore_adapter.py:32
Methodcreate_connector
(self, context: ConnectorContext)
lmcache/v1/storage_backend/connector/hf3fs_adapter.py:37
Methodcreate_connector
(self, context: ConnectorContext)
lmcache/v1/storage_backend/connector/blackhole_adapter.py:16
Methodcreate_connector
(self, context: ConnectorContext)
lmcache/v1/storage_backend/connector/eic_adapter.py:22
Methodcreate_connector
(self, context: ConnectorContext)
lmcache/v1/storage_backend/connector/fs_adapter.py:33
Functioncreate_fake_device
(path: str, **kwargs)
tests/v1/storage_backend/test_rust_raw_block_backend.py:77
Methodcreate_immediate_empty_future
()
lmcache/v1/storage_backend/remote_backend.py:234
Functioncreate_lookup
Create a new lookup client (scheduler) or server (worker). Args: dryrun: If true, only show what would be created without creating i
lmcache/v1/internal_api_server/vllm/lookup_api.py:76
Methodcreate_message
Create a message for this operation
lmcache/tools/controller_benchmark/handlers/base.py:33
Functioncreate_mock_vllm_config
Create a mock VllmConfig for testing.
tests/v1/utils.py:812
Functioncreate_nixl_transfer_channel_context
Create a ``NixlTransferChannelContext``. Args: l1_memory_desc: Describes the L1 memory region to register. listen_url: ``host:por
lmcache/v1/distributed/transfer_channel/impl/nixl_impl.py:599
Functioncreate_test_data_for_backend
Create test data for backend based tests
lmcache/v1/check/check_mode_test_remote.py:68
Functioncreate_test_data_for_storage_manager
Create test data for storage manager based tests
lmcache/v1/check/check_mode_test_storage_manager.py:54
Functioncreate_test_key
Create a test CacheEngineKey.
tests/v1/storage_backend/test_batched_message_sender.py:56
Functioncreate_test_metadata
Create a test metadata for LMCacheMetadata.
tests/v1/storage_backend/test_local_disk_backend.py:59
Functioncsv_ints
(s)
examples/disagg_prefill_mp/disagg_proxy_server.py:102
Functioncsv_ints
(s)
examples/disagg_prefill/disagg_proxy_server.py:241
Functioncsv_strs
(s)
examples/disagg_prefill_mp/disagg_proxy_server.py:106
Functioncsv_strs
(s)
examples/disagg_prefill/disagg_proxy_server.py:245
Methodctrl
Create KVController.
tests/v1/cache_controller/test_full_sync.py:226
Methodcupy_stream
(self)
tests/v1/platform/test_cache_context_dispatch.py:83
Methodcupy_stream
Returns the cupy ExternalStream wrapping *stream*.
lmcache/v1/platform/base_cache_context.py:95
Methodcupy_stream
Returns the (mock) external stream.
lmcache/v1/platform/cpu/cache_context.py:245
Methodcupy_stream
(self)
lmcache/v1/platform/cuda/cache_context.py:454
Methodcupy_stream
(self)
lmcache/v1/platform/cuda/cache_context.py:614
Methodcurrent_stream
(self)
tests/v1/test_musa_connector.py:115
Methoddata_base_offset
Return the byte offset where raw-block data slots begin.
lmcache/v1/storage_backend/raw_block/core.py:610
Methoddata_base_offset
Return the byte offset where data slots begin.
lmcache/v1/storage_backend/plugins/rust_raw_block_backend.py:199
Methoddata_ptr
(self)
lmcache/v1/memory_management.py:854
Methoddata_ptr
(self)
lmcache/v1/memory_management.py:987
Methoddata_ptr
(self)
lmcache/v1/memory_management.py:1114
Methoddata_ptrs
(self, layer_indices: list[int])
lmcache/v1/gpu_connector/kv_format/specs/nb_nl_two_bs_nh_hs.py:57
Methoddata_ptrs
(self, layer_indices: list[int])
lmcache/v1/gpu_connector/kv_format/specs/nl_x_nb_two_bs_nh_hs.py:58
Methoddata_ptrs
(self, layer_indices: list[int])
lmcache/v1/gpu_connector/kv_format/specs/two_x_nl_x_nb_bs_nh_hs.py:57
Methoddata_ptrs
(self, layer_indices: list[int])
lmcache/v1/gpu_connector/kv_format/specs/nl_x_nb_nh_bs_two_hs.py:61
Methoddata_ptrs
(self, layer_indices: list[int])
lmcache/v1/gpu_connector/kv_format/specs/nl_x_nbbs_one_hs.py:61
Methoddata_ptrs
(self, layer_indices: list[int])
lmcache/v1/gpu_connector/kv_format/specs/nb_nl_two_nh_bs_hs.py:59
Methoddata_ptrs
(self, layer_indices: list[int])
lmcache/v1/gpu_connector/kv_format/specs/nl_x_two_nb_nh_bs_hs.py:59
Methoddata_ptrs
(self, layer_indices: list[int])
lmcache/v1/gpu_connector/kv_format/specs/two_x_nl_x_nbbs_nh_hs.py:61
Methoddata_ptrs
(self, layer_indices: list[int])
lmcache/v1/gpu_connector/kv_format/specs/nl_x_two_nb_bs_nh_hs.py:58
Methoddata_ptrs
(self, layer_indices: list[int])
lmcache/v1/gpu_connector/kv_format/specs/nl_x_nb_two_nh_bs_hs.py:60
Methoddata_ptrs
(self, layer_indices: list[int])
lmcache/v1/gpu_connector/kv_format/specs/nl_x_nb_bs_hs.py:56
Methoddeallocate
(self, ptr)
lmcache/v1/storage_backend/connector/eic_connector.py:90
Methoddebug_print_device
(self)
lmcache/storage_backend/serde/cachegen_basics.py:202
Functiondec_hook
(expected_type: type, obj: Any)
lmcache/v1/multiprocess/custom_types.py:468
Functiondeco
(func: F)
lmcache/v1/mp_observability/trace/decorator.py:115
Functiondecode_args
Decode an argument dict back to native values.
lmcache/v1/mp_observability/trace/codecs.py:140
Functiondecode_fast_new
Python implementation of Arithmetic Decoding. Strictly aligned with CUDA decode_with_accessor_kernel. bytestreams shape: [nlayers, nchann
lmcache/python_ops_fallback.py:2341
Functiondecode_fast_prefsum
Python equivalent of C++ decode_fast_prefsum. bytestreams shape: [total_bytes] (1D, all channels packed)
lmcache/python_ops_fallback.py:2378
Functiondecode_one
(args)
lmcache/python_ops_fallback.py:2354
Functiondecode_request_uid
(b_uid: bytes)
lmcache/v1/multiprocess/mq.py:49
Functiondecompress
(req: DecompressRequest)
lmcache/v1/api_server/__main__.py:295
Methoddecompress
Decompress kv chunks of instance-worker(s).
lmcache/v1/cache_controller/controllers/kv_controller.py:128
Functiondecorator
(func)
lmcache/utils.py:26
Functiondecorator
(cls: type[MetricsFormatter])
lmcache/cli/metrics/formatter.py:51
Functiondecorator
(method)
lmcache/v1/memory_management.py:39
Functiondecorator
(func)
lmcache/v1/check/__init__.py:65
Methoddefault_cxx_flags
Default C++ flags to hand to downstream consumers (e.g. optional L2 storage backends) that need a representative set of flags compatib
setup_extensions/build_profiles/__init__.py:136
Methoddefault_cxx_flags
SYCL downstream consumers use the CXX11 ABI.
setup_extensions/build_profiles/sycl.py:85
Methoddefault_stream
Return the default stream for the given device. Args: device: The device to query. Ignored in the stub. Returns:
lmcache/v1/platform/cpu/stub_cpu_device.py:251
Methoddelete
(self, key)
tests/conftest.py:190
Methoddelete
(self, key)
tests/conftest.py:224
Methoddelete
(self, key)
tests/conftest.py:363
Methoddelete
(self, keys: list[ObjectKey])
lmcache/v1/distributed/l2_adapters/s3_l2_adapter.py:673
Methoddelete
Delete objects from storage, removing their files from disk.
lmcache/v1/distributed/l2_adapters/nixl_store_dynamic_l2_adapter.py:470
Methoddelete
Delete a batch of objects from Nixl storage, freeing their page slots. Pinned objects (pin_count > 0) are skipped to avoid racing wi
lmcache/v1/distributed/l2_adapters/nixl_store_l2_adapter.py:612
Methoddelete
(self, keys: list[ObjectKey])
lmcache/v1/distributed/l2_adapters/hfbucket_l2_adapter.py:428
Methoddelete
Delegate the delete to the inner adapter.
lmcache/v1/distributed/l2_adapters/fault_inject_l2_adapter.py:387
Methoddelete
(self, keys: list[ObjectKey])
lmcache/v1/distributed/l2_adapters/fs_l2_adapter.py:422
Methoddelete
Delete unlocked keys from every DAX device index. Externally locked keys are skipped. Slots borrowed by active reads are reclaimed af
lmcache/v1/distributed/l2_adapters/dax_l2_adapter.py:538
Methoddelete
Delete a batch of objects from the mock adapter.
lmcache/v1/distributed/l2_adapters/mock_l2_adapter.py:350
Methoddelete_files
( self, bucket_id: str, delete: Sequence[str], )
tests/v1/distributed/test_hfbucket_l2_adapter.py:120
Methoddelete_files
Remove stored objects.
tests/v1/storage_backend/test_hfbucket_connector.py:113
Methoddelete_files
Delete files from a bucket in one batch call.
lmcache/v1/storage_backend/connector/hfbucket_connector.py:116
Functiondelete_from_l2
Delete a caller-supplied list of keys from one L2 adapter. Body: ``{"keys": [EncodedObjectKey, ...]}``. Query parameters: adapter: `
lmcache/v1/multiprocess/http_apis/l2_api.py:136
Functiondelete_node
Delete a proxy or child node by ``node_name``. Mirrors :func:`update_node`: matches top-level proxies first, falls back to scanning children
lmcache/lmcache_frontend/app.py:500
Functiondelete_quota
Remove a salt's quota entry. Any bytes still cached under this salt become over-budget on the next eviction cycle (effective limit drops to 0
lmcache/v1/multiprocess/http_apis/quota_api.py:139
Functiondelete_quota
Remove a salt's quota entry. Args: cache_salt: Tenant identifier; use ``_default`` for the empty salt. Returns: ``QuotaRespo
lmcache/v1/mp_coordinator/http_apis/l2_api.py:98
Methoddelete_sync
(self, key: str)
lmcache/v1/storage_backend/connector/eic_connector.py:251
Methoddeleter
()
tests/v1/distributed/test_quota_manager.py:154
Methodderegister
Deregister an instance-worker connection mapping.
lmcache/v1/cache_controller/controllers/registration_controller.py:172
Functionderegister_buffer
Reverse of :func:`register_buffer`.
lmcache/v1/gpu_connector/_cufile_async.py:158
Methodderegister_fd
Mock deregister_fd - no-op for testing.
tests/conftest.py:557
Functionderegister_instance
Deregister an mp server. Idempotent: returns 204 whether or not the instance was registered. Returns: An empty 204 response.
lmcache/v1/mp_coordinator/http_apis/instances_api.py:104
Functionderegister_stream
Reverse of :func:`register_stream`.
lmcache/v1/gpu_connector/_cufile_async.py:201
Methoddescribe
(self)
lmcache/v1/cache_controller/message.py:21
Methoddescribe
(self)
lmcache/v1/cache_controller/message.py:39
Methoddescribe
(self)
lmcache/v1/cache_controller/message.py:47
Methoddescribe
(self)
lmcache/v1/cache_controller/message.py:78
Methoddescribe
(self)
lmcache/v1/cache_controller/message.py:99
Methoddescribe
(self)
lmcache/v1/cache_controller/message.py:106
Methoddescribe
(self)
lmcache/v1/cache_controller/message.py:151
← previousnext →6,801–6,900 of 13,371, ranked by callers