MCPcopy Create free account

hub / github.com/LMCache/LMCache / functions

Functions13,371 in github.com/LMCache/LMCache

Method__init__
( self, vllm_attn: Attention, )
lmcache/v1/compute/attention/flash_attn.py:34
Method__init__
( self, vllm_attn: Attention, )
lmcache/v1/compute/attention/flash_infer_sparse.py:190
Method__init__
Initialize from a vLLM Attention module. Args: vllm_attn: vLLM Attention layer (for extracting config)
lmcache/v1/compute/attention/triton_sparse.py:35
Method__init__
( self, cache_engine, gpu_connector, vllm_model, config: LMCacheEngine
lmcache/v1/compute/blend/blender.py:25
Method__init__
( self, vllm_model, blender, enable_sparse: bool = False, )
lmcache/v1/compute/models/base.py:19
Method__init__
(self, s: Serializer)
lmcache/storage_backend/serde/serde.py:34
Method__init__
(self, dtype)
lmcache/storage_backend/serde/serde.py:47
Method__init__
(self, d: Deserializer)
lmcache/storage_backend/serde/serde.py:65
Method__init__
( self, config: LMCacheEngineConfig, metadata: LMCacheMetadata, dtype, )
lmcache/storage_backend/serde/cachegen_decoder.py:118
Method__init__
Fields: - fp_kv: should be a tensor of shape (num_layers, num_tokens, num_channels) - fp_v: should be
lmcache/storage_backend/serde/cachegen_encoder.py:141
Method__init__
(self, config: LMCacheEngineConfig, metadata: LMCacheMetadata)
lmcache/storage_backend/serde/cachegen_encoder.py:342
Method__init__
(self)
lmcache/lmcache_frontend/heartbeat.py:19
Method__init__
(self)
lmcache/lmcache_frontend/app.py:52
Method__init__
( self, name: str, num_ops: int, concurrency: int, use_odirect: bool,
benchmarks/storage_backend_io/storage_backend_io_benchmark.py:227
Method__init__
( self, num_ops: int, concurrency: int, local_disk_dir: str, max_disk_
benchmarks/storage_backend_io/storage_backend_io_benchmark.py:635
Method__init__
( self, num_ops: int, concurrency: int, raw_device: str, raw_device_si
benchmarks/storage_backend_io/storage_backend_io_benchmark.py:700
Method__init__
( self, name: str, num_ops: int, concurrency: int, remote_url: str,
benchmarks/storage_backend_io/storage_backend_io_benchmark.py:860
Method__init__
( self, num_ops: int, concurrency: int, remote_url: str, use_odirect:
benchmarks/storage_backend_io/storage_backend_io_benchmark.py:912
Method__init__
( self, num_ops: int, concurrency: int, remote_url: str, use_odirect:
benchmarks/storage_backend_io/storage_backend_io_benchmark.py:988
Method__init__
( self, )
benchmarks/multi_round_qa/multi-round-qa.py:89
Method__init__
(self, base_url: str, api_key: str, model: str)
benchmarks/multi_round_qa/multi-round-qa.py:125
Method__init__
(self, user_config: UserConfig, use_sharegpt=False, sharegpt_data=None)
benchmarks/multi_round_qa/multi-round-qa.py:189
Method__init__
( self, workload_config: WorkloadConfig, init_user_id=0, use_sharegpt=False,
benchmarks/multi_round_qa/multi-round-qa.py:353
Method__init__
( self, num_locks: int = 100_000, default_threads: int = 4, default_duration:
benchmarks/microbenchmark/ttl_lock_benchmark.py:72
Method__init__
( self, num_key_value_heads: int, head_dim: int, num_layers: int, prec
benchmarks/rag/precompute.py:47
Method__init__
( self, base_url: str, api_key: str, prompt_build_method: PromptBuildMethodTyp
benchmarks/rag/rag.py:150
Method__init__
(self, workload_config: WorkloadConfig)
benchmarks/rag/rag.py:235
Method__invert__
(self)
tests/v1/distributed/conftest.py:76
Method__invert__
(self)
tests/v1/storage_backend/raw_block_test_utils.py:251
Method__ior__
(self, other: "Bitmap")
tests/v1/distributed/conftest.py:71
Method__ior__
(self, other: "Bitmap")
tests/v1/storage_backend/raw_block_test_utils.py:246
Method__len__
(self)
tests/conftest.py:512
Method__len__
(self)
lmcache/tools/cache_simulator/lru_cache.py:59
Method__len__
(self)
lmcache/tools/cache_simulator/lru_cache.py:123
Method__len__
(self)
lmcache/integration/vllm/lmcache_mp_connector.py:473
Method__len__
(self)
lmcache/integration/vllm/lmcache_mp_connector_0201.py:447
Method__len__
(self)
lmcache/integration/vllm/lmcache_mp_connector_0180.py:426
Method__len__
Get the number of items in cache (without checking expiration).
lmcache/v1/utils/cache_utils.py:111
Method__len__
(self)
lmcache/v1/distributed/l2_adapters/s3_l2_adapter.py:293
Method__len__
(self)
lmcache/v1/storage_backend/connector/s3_connector.py:64
Method__len__
(self)
benchmarks/multi_round_qa/multi-round-qa.py:109
Method__new__
( cls, backend: str = "fs", base_path: str = "/tmp/lmcache_ext", num_workers:
examples/lmc_external_native_connector/src/lmc_external_native_connector/connector.py:56
Method__new__
(mcs, name, bases, namespace)
lmcache/v1/storage_backend/connector/audit_connector.py:26
Method__or__
(self, other: "Bitmap")
tests/v1/distributed/conftest.py:65
Method__or__
(self, other: "Bitmap")
tests/v1/storage_backend/raw_block_test_utils.py:240
Method__post_init__
(self)
lmcache/utils.py:409
Method__post_init__
Apply derived defaults and validate the configuration. Raises: ValueError: If any field is out of range or mutually inconsistent.
lmcache/tools/transfer_channel_benchmark/config.py:101
Method__post_init__
(self)
lmcache/tools/controller_benchmark/config.py:31
Method__post_init__
(self)
lmcache/cli/commands/bench/engine_bench/config.py:44
Method__post_init__
(self)
lmcache/cli/commands/bench/engine_bench/workloads/multi_round_chat.py:32
Method__post_init__
(self)
lmcache/cli/commands/bench/engine_bench/workloads/long_doc_qa.py:32
Method__post_init__
(self)
lmcache/cli/commands/bench/engine_bench/workloads/prefix_suffix_tuner.py:203
Method__post_init__
(self)
lmcache/cli/commands/bench/engine_bench/workloads/random_prefill.py:27
Method__post_init__
(self)
lmcache/cli/commands/bench/engine_bench/workloads/long_doc_permutator.py:47
Method__post_init__
(self)
lmcache/v1/cache_controller/utils.py:53
Method__post_init__
(self)
lmcache/v1/cache_controller/utils.py:78
Method__post_init__
(self)
lmcache/v1/cache_controller/utils.py:258
Method__post_init__
(self)
lmcache/v1/distributed/config.py:131
Method__post_init__
(self)
lmcache/v1/distributed/config.py:252
Method__post_init__
(self)
lmcache/v1/distributed/api.py:80
Method__post_init__
(self)
lmcache/v1/distributed/api.py:237
Method__post_init__
Validate the worker-reaping timeouts. Raises: ValueError: If a timeout is non-finite, the reap timeout is negativ
lmcache/v1/multiprocess/config.py:93
Method__post_init__
(self)
lmcache/v1/multiprocess/custom_types.py:292
Method__post_init__
Validate timing parameters. Raises: ValueError: If a timing parameter is non-positive/negative.
lmcache/v1/mp_coordinator/config.py:69
Method__radd__
(self, other)
tests/v1/multiprocess/test_blend_v3_load_store_opts.py:283
Method__repr__
(self)
tests/v1/storage_backend/test_remote_storage_plugin.py:72
Method__repr__
(self)
tests/v1/storage_backend/test_storage_manager.py:48
Method__repr__
(self)
lmcache/integration/vllm/lmcache_mp_connector.py:488
Method__repr__
(self)
lmcache/integration/vllm/lmcache_mp_connector_0201.py:462
Method__repr__
(self)
lmcache/integration/vllm/lmcache_mp_connector_0180.py:441
Method__repr__
(self)
lmcache/v1/kv_layer_groups.py:188
Method__repr__
String representation of the cache.
lmcache/v1/utils/cache_utils.py:115
Method__repr__
(self)
lmcache/v1/standalone/__main__.py:77
Method__repr__
(self)
lmcache/v1/platform/cpu/stub_cpu_device.py:26
Method__repr__
(self)
lmcache/v1/platform/cpu/stub_cpu_device.py:113
Method__repr__
(self)
lmcache/v1/platform/cpu/stub_cpu_device.py:200
Method__repr__
(self)
lmcache/v1/platform/cpu/stub_cpu_device.py:337
Method__repr__
(self)
lmcache/v1/storage_backend/connector/base_connector.py:378
Method__repr__
(self)
lmcache/v1/storage_backend/connector/mock_connector.py:343
Method__repr__
(self)
lmcache/v1/storage_backend/connector/hfbucket_connector.py:473
Method__repr__
(self)
lmcache/v1/storage_backend/connector/mooncakestore_connector.py:178
Method__str__
(self)
tests/v1/test_json_utils.py:53
Method__str__
(self)
tests/v1/cache_controller/conftest.py:136
Method__str__
(self)
tests/v1/distributed/conftest.py:81
Method__str__
(self)
tests/v1/internal_api_server/test_backend_api.py:39
Method__str__
(self)
tests/v1/storage_backend/raw_block_test_utils.py:256
Method__str__
(self)
tests/v1/storage_backend/test_storage_plugin.py:68
Method__str__
(self)
lmcache/integration/vllm/lmcache_mp_connector.py:286
Method__str__
(self)
lmcache/integration/vllm/lmcache_mp_connector_0201.py:289
Method__str__
(self)
lmcache/integration/vllm/lmcache_mp_connector_0180.py:271
Method__str__
(self)
lmcache/v1/memory_management.py:1846
Method__str__
(self)
lmcache/v1/memory_management.py:2130
Method__str__
(self)
lmcache/v1/memory_management.py:2200
Method__str__
(self)
lmcache/v1/memory_management.py:2280
Method__str__
(self)
lmcache/v1/memory_management.py:2366
Method__str__
(self)
lmcache/v1/memory_management.py:2566
Method__str__
(self)
lmcache/v1/memory_management.py:3020
Method__str__
(self)
lmcache/v1/memory_management.py:3109
Method__str__
(self)
lmcache/v1/memory_management.py:3197
Method__str__
(self)
lmcache/v1/memory_management.py:3223
← previousnext →5,601–5,700 of 13,371, ranked by callers