MCPcopy Create free account

hub / github.com/LMCache/LMCache / functions

Functions13,371 in github.com/LMCache/LMCache

Functiontest_vllm_paged_connector_v3_with_gpu_and_mla
( use_gpu, num_groups, engine_kv_format )
tests/v1/test_gpu_connector.py:248
Methodtest_wait_blocks_until_result_ready
wait_prefetch_result blocks until the background result is published, returns True, and does not consume the result.
tests/v1/distributed/test_prefetch_controller.py:1321
Functiontest_wait_for_save_repeated_call_does_not_readvance_finalized_storer
()
tests/v1/test_vllm_layerwise_wait_for_save.py:103
Functiontest_wait_for_save_skips_desynced_request_and_keeps_engine_alive
Length mismatch must drop only the affected request's save, log a warning, and let ``wait_for_save`` return normally. Regression for https://
tests/v1/test_v1_adapter_state_desync.py:101
Functiontest_wait_prefetch_status_returns_count_and_consumes_job
()
tests/v1/multiprocess/test_lookup_wait_prefetch.py:40
Functiontest_wait_prefetch_status_timeout_returns_none_and_keeps_job
()
tests/v1/multiprocess/test_lookup_wait_prefetch.py:62
Functiontest_wait_prefetch_status_unknown_request_returns_zero
()
tests/v1/multiprocess/test_lookup_wait_prefetch.py:79
Methodtest_wait_times_out_for_unknown_request
wait_prefetch_result returns False, after genuinely waiting, when no result arrives within the timeout.
tests/v1/distributed/test_prefetch_controller.py:1349
Methodtest_warmup_defaults_max_tokens_1
(self, mock_openai_cls)
tests/cli/commands/bench/engine_bench/test_request_sender.py:475
Methodtest_warmup_failed_result_logs_message
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_permutator.py:396
Methodtest_warmup_is_noop
(self)
tests/cli/commands/bench/engine_bench/workloads/test_random_prefill.py:154
Methodtest_warmup_logs_progress
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_qa.py:310
Methodtest_warmup_logs_progress
(self)
tests/cli/commands/bench/engine_bench/workloads/test_multi_round_chat.py:349
Methodtest_warmup_logs_progress
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_permutator.py:390
Methodtest_warmup_request_id_is_warmup_0
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_permutator.py:376
Methodtest_warmup_request_ignored
(self)
tests/cli/commands/bench/engine_bench/workloads/test_multi_round_chat.py:460
Methodtest_warmup_sends_all_documents
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_qa.py:292
Methodtest_warmup_sends_all_sessions
(self)
tests/cli/commands/bench/engine_bench/workloads/test_multi_round_chat.py:333
Methodtest_warmup_sends_chat_messages
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_permutator.py:382
Methodtest_warmup_sends_engine_warmup_then_each_prefix_once
(self)
tests/cli/commands/bench/engine_bench/workloads/test_prefix_suffix_tuner.py:403
Methodtest_warmup_sends_exactly_one_request
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_permutator.py:371
Methodtest_warmup_sends_pass1_prefixes_in_order
(self)
tests/cli/commands/bench/engine_bench/workloads/test_prefix_suffix_tuner.py:418
Methodtest_warmup_uses_real_request_structure
(self)
tests/cli/commands/bench/engine_bench/workloads/test_prefix_suffix_tuner.py:428
Functiontest_watermark_above_threshold_evicts
()
tests/v1/mp_coordinator/test_eviction_manager.py:212
Functiontest_watermark_below_threshold_skips
()
tests/v1/mp_coordinator/test_eviction_manager.py:204
Methodtest_weka_disallows_disabling_gds
(self, temp_gds_path, async_loop)
tests/v1/storage_backend/test_gds_backend.py:464
Methodtest_weka_initialization_suffix
(self, temp_gds_path, async_loop)
tests/v1/storage_backend/test_gds_backend.py:407
Methodtest_whitespace_around_paths
(self)
tests/v1/storage_backend/test_local_disk_backend.py:376
Methodtest_whitespace_handling
(self)
tests/test_utils.py:151
Methodtest_whitespace_handling
Test that whitespace around group separators is handled.
tests/v1/test_kv_layer_groups_manager.py:252
Functiontest_whitespace_instance_id_is_generated
()
tests/v1/mp_coordinator/test_api.py:119
Methodtest_whitespace_only_raises
(self)
tests/v1/storage_backend/test_path_sharder.py:76
Methodtest_wire_compat_new_payload_roundtrip
(self)
tests/v1/distributed/test_fs_l2_adapter_keys.py:306
Methodtest_wire_compat_old_payload_decodes
An old 7-field msgspec payload must decode cleanly on new code with cache_salt defaulting to "".
tests/v1/distributed/test_fs_l2_adapter_keys.py:284
Methodtest_with_new_worker_id
(self, basic_key)
tests/test_utils.py:337
Functiontest_worker_after_scheduler_still_works
Reverse order: worker initialized after scheduler also stays healthy.
tests/v1/internal_api_server/test_per_instance_app.py:98
Methodtest_worker_attach_and_io
Verify the worker can attach, write, and read.
tests/v1/shm_allocator/test_shm_allocator.py:320
Methodtest_worker_id
(self)
tests/cli/commands/bench/test_server_bench.py:225
Methodtest_worker_tcp_mode
Verify the worker can run in TCP mode and communicate via socket.
tests/v1/shm_allocator/test_shm_allocator.py:385
Methodtest_workload_items_all_default_initially
(self)
tests/cli/commands/bench/engine_bench/interactive/test_state.py:181
Methodtest_workload_items_not_default_after_set
(self)
tests/cli/commands/bench/engine_bench/interactive/test_state.py:185
Methodtest_workload_phase
(self)
tests/cli/commands/bench/engine_bench/interactive/test_schema.py:59
Methodtest_world_size_1_stores_and_retrieves
Test that world_size=1 (no TP) works correctly through the API. Single worker stores and retrieves data successfully.
tests/v1/distributed/test_object_key_parallel.py:502
Methodtest_world_size_multiplier
(self, mock_fetch)
tests/cli/commands/bench/engine_bench/test_config.py:278
Methodtest_worst_case_overhead
Test worst case performance with different strategies and configs.
tests/v1/lookup_client/test_chunk_statistics_lookup_client.py:256
Functiontest_wrap_kv_caches_unlinks_partial_batch_on_failure
If wrapping the N-th tensor raises, earlier SHM names are unlinked. Drives :func:`wrap_kv_caches` with two CPU tensors and forces the second
tests/v1/platform/test_cpu_shm.py:204
Functiontest_wrap_kv_caches_wraps_all_tensors
Verify wrap_kv_caches wraps all provided KV tensors.
tests/v1/multiprocess/test_engine_driven_transfer.py:228
Methodtest_write_dedupes_tp_fanout
Write fanout produces a single anchor, not one per rank.
tests/v1/mp_observability/subscribers/metrics/test_sm_lifecycle.py:333
Methodtest_write_finished_and_read_reserved_increments_write_counter
( self, bus, subscriber )
tests/v1/mp_observability/subscribers/metrics/test_l1.py:75
Methodtest_write_finished_increments_counter
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_l1.py:69
Methodtest_write_isolation
Writing to one batch slot must not corrupt another.
tests/v1/platform/test_gpu_cache_context.py:269
Methodtest_write_lock_context_manager
Test write lock context manager.
tests/v1/cache_controller/test_locks.py:150
Methodtest_write_lock_context_manager_timeout
Test write lock context manager raises on timeout.
tests/v1/cache_controller/test_locks.py:167
Methodtest_write_lock_timeout
Test write lock timeout when another writer holds the lock.
tests/v1/cache_controller/test_locks.py:131
Methodtest_write_locked_key_is_not_evictable
A write-locked key should not be evictable.
tests/v1/distributed/test_l1_manager.py:1795
Methodtest_write_populates_shadow
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_l1_lifecycle.py:88
Methodtest_write_serialize_clear_prefetch_deserialize
Write KV → fp8 serialize → disk → clear L1 → prefetch → verify. Checks: - Serialized files appear on disk. - Prefetch ret
tests/v1/distributed/serde/test_serde_fs_e2e.py:91
Methodtest_write_then_read_records_gap
Write seeds the anchor; first read records gap = read - write.
tests/v1/mp_observability/subscribers/metrics/test_sm_lifecycle.py:137
Methodtest_write_then_write_no_emission
Write → write does not record a sample.
tests/v1/mp_observability/subscribers/metrics/test_sm_lifecycle.py:167
Methodtest_write_updates_anchor_for_next_read
After read → write, the next read measures from the write.
tests/v1/mp_observability/subscribers/metrics/test_sm_lifecycle.py:193
Methodtest_write_with_no_adapters_no_read_lock
With no adapters, no read locks should be held after L1 write.
tests/v1/distributed/test_store_controller.py:489
Methodtest_writer_blocks_readers
Test that a writer blocks new readers.
tests/v1/cache_controller/test_locks.py:85
Methodtest_writer_exclusive
Test writer has exclusive access.
tests/v1/cache_controller/test_locks.py:62
Methodtest_writers_waiting_priority
Test that waiting writers get priority over new readers.
tests/v1/cache_controller/test_locks.py:214
Methodtest_zero
(self)
tests/test_utils.py:57
Methodtest_zero
(self)
tests/v1/storage_backend/test_maru_backend.py:227
Methodtest_zero_bytes_is_noop
(self, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_l0_l1_throughput.py:235
Methodtest_zero_bytes_is_noop
(self, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_l2_throughput.py:264
Functiontest_zero_bytes_stores_entry_without_changing_total
()
tests/v1/mp_coordinator/test_usage_manager.py:162
Methodtest_zero_bytes_transferred_drops_sample
(self, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_l2_throughput.py:370
Methodtest_zero_capacity_explicit_means_no_eviction
(self)
tests/v1/distributed/test_l2_adapter_base.py:121
Methodtest_zero_chunk_size
400 when chunk_size is zero.
tests/v1/multiprocess/test_http_server.py:168
Functiontest_zero_chunks
()
tests/v1/distributed/test_bitmap_ops.py:154
Methodtest_zero_count_is_noop
(self, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_engine.py:187
Functiontest_zero_division_protection
(stats_monitor)
tests/test_observability.py:273
Methodtest_zero_hit_is_empty
(self)
tests/v1/distributed/test_bitmap_ops.py:349
Functiontest_zero_limit_accepted
()
tests/v1/mp_coordinator/test_l2_api.py:98
Methodtest_zero_limit_is_accepted
Zero is a valid limit — it registers the salt but evaluates to ``0`` bytes (same effective behavior as no entry, but the entry shows u
tests/v1/multiprocess/test_http_quota_endpoints.py:141
Methodtest_zero_limit_is_registered_and_distinguishable
A zero limit IS a registration — ``has_quota`` returns True, so the entry shows up in ``list_quotas``. Evaluating the quota still yiel
tests/v1/distributed/test_quota_manager.py:46
Methodtest_zero_loss_vs_v3_filtered
Strided probe content-hash set ⊇ V3 set filtered to block-aligned cur_st.
tests/v1/multiprocess/test_optimized_lookup_v3.py:645
Functiontest_zero_quota_evicts_all
()
tests/v1/mp_coordinator/test_eviction_manager.py:181
Methodtest_zero_ratio_evicts_nothing
(self)
tests/v1/distributed/test_isolated_lru_eviction_policy.py:112
Methodtest_zero_size_manager
Test manager with zero size.
tests/v1/test_address_manager.py:1039
Methodtest_zero_size_notify_is_listener_only
Calling ``_notify_keys_stored`` with size=0 fires the listener but leaves byte counters untouched. Used by the native connector to bum
tests/v1/distributed/test_l2_adapter_base.py:236
Methodtest_zero_tokens
(self)
tests/cli/commands/bench/test_server_bench.py:183
Methodtest_zeros_in_pattern
Test with zeros in the pattern.
tests/v1/native_storage_ops/test_pattern_matcher.py:208
Methodtest_zeros_in_patterns
Test with zeros in patterns.
tests/v1/native_storage_ops/test_pattern_matcher.py:555
Functionthread_safe
Wrap a callable with the shared observability lock. Args: func: Callable to execute while holding the lock. Returns: A wrapp
lmcache/utils.py:687
Methodtimed_worker
(thread_id: int)
benchmarks/microbenchmark/ttl_lock_benchmark.py:107
Methodto_bytes
Save the output to a file
lmcache/storage_backend/serde/cachegen_basics.py:154
Methodto_bytes
Save the output to a file
lmcache/storage_backend/serde/cachegen_basics.py:190
Methodto_bytes
(self, t: torch.Tensor)
lmcache/storage_backend/serde/serde.py:37
Methodto_dict
Return metrics as a JSON-serialisable dictionary. Returns: A dict with ``"title"`` and ``"metrics"`` keys. Named sect
lmcache/cli/metrics/metrics.py:152
Methodto_gpu
( self, memory_obj: MemoryObj, start: int, end: int, **kwargs: Any )
lmcache/v1/gpu_connector/musa_connectors.py:505
Methodto_gpu
Store the data in the memory object into a GPU buffer. Sub-classes should define the format of the kwargs. :param MemoryObj memory_ob
lmcache/v1/gpu_connector/gpu_connectors.py:44
Methodto_gpu
lmcache/v1/gpu_connector/gpu_connectors.py:767
Methodto_gpu
lmcache/v1/gpu_connector/gpu_connectors.py:1170
Methodto_gpu
(self, memory_obj: MemoryObj, start: int, end: int, **kwargs)
lmcache/v1/gpu_connector/gpu_connectors.py:1706
Methodto_gpu
(self, memory_obj: MemoryObj, start: int, end: int, **kwargs)
lmcache/v1/gpu_connector/gpu_connectors.py:2117
Methodto_gpu
Mock to_gpu operation.
lmcache/v1/gpu_connector/mock_gpu_connector.py:35
← previousnext →13,101–13,200 of 13,371, ranked by callers