MCPcopy Create free account

hub / github.com/LMCache/LMCache / functions

Functions13,371 in github.com/LMCache/LMCache

Methodtest_construct
(self)
tests/v1/test_trtllm_integration.py:294
Methodtest_construction
(self)
tests/cli/commands/bench/engine_bench/test_stats.py:104
Methodtest_construction
(self)
tests/cli/commands/bench/engine_bench/workloads/test_multi_round_chat.py:144
Methodtest_constructor_copies_setup_config
Constructor should copy the setup_config dict.
tests/v1/distributed/test_mooncake_store_l2_adapter.py:311
Methodtest_constructor_rejects_non_positive_page_size
(self)
tests/v1/mp_coordinator/test_resync_manager.py:192
Methodtest_consume_fd_after_notify
consume_fd() drains a notifier's fd.
tests/v1/test_event_notifier.py:167
Methodtest_consume_fd_returns_on_pipe_eof
consume_fd() returns when the pipe write end is closed.
tests/v1/test_event_notifier.py:152
Methodtest_consume_fd_uses_pipe_path
(self, force_pipe)
tests/v1/test_event_notifier.py:237
Methodtest_consume_fd_without_signal
consume_fd() on unsignaled fd does not block.
tests/v1/test_event_notifier.py:181
Methodtest_consume_without_notify_is_noop
consume() without prior notify() does not block or raise.
tests/v1/test_event_notifier.py:69
Methodtest_contains_false
(self, backend)
tests/v1/storage_backend/test_maru_backend.py:542
Methodtest_contains_kernel_group_data
Bytes written through kernel-group views are visible through the object-group flat view at matching offsets.
tests/v1/platform/test_gpu_cache_context.py:324
Methodtest_contains_key_exists
(self, gds_backend)
tests/v1/storage_backend/test_gds_backend.py:163
Methodtest_contains_key_exists
Test contains() when key exists.
tests/v1/storage_backend/test_local_cpu_backend.py:174
Methodtest_contains_key_not_exists
(self, gds_backend)
tests/v1/storage_backend/test_gds_backend.py:158
Methodtest_contains_key_not_exists
Test contains() when key doesn't exist in 3FS storage. This test verifies that the contains() method correctly returns False when
tests/v1/storage_backend/test_hf3fs_connector.py:352
Methodtest_contains_key_not_exists
Test contains() when key doesn't exist.
tests/v1/storage_backend/test_local_cpu_backend.py:166
Methodtest_contains_key_not_exists
Test contains() when key doesn't exist in filesystem.
tests/v1/storage_backend/test_fs_connector.py:247
Methodtest_contains_key_not_exists
Test contains() when key doesn't exist.
tests/v1/storage_backend/test_local_disk_backend.py:182
Methodtest_contains_respects_bypass
Test contains operation respects bypass mode.
tests/v1/test_health_monitor_fallback_recovery.py:625
Methodtest_contains_true
(self, backend)
tests/v1/storage_backend/test_maru_backend.py:535
Methodtest_contains_with_pin
(self, backend)
tests/v1/storage_backend/test_maru_backend.py:569
Methodtest_contains_with_pin_false
(self, backend)
tests/v1/storage_backend/test_maru_backend.py:577
Methodtest_context_manager
EventNotifier works as a context manager.
tests/v1/test_event_notifier.py:83
Methodtest_context_manager
Test lock context manager.
tests/v1/cache_controller/test_locks.py:275
Methodtest_context_manager_timeout
Test lock context manager raises on timeout.
tests/v1/cache_controller/test_locks.py:281
Methodtest_contexts_are_unique
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_permutator.py:177
Methodtest_contexts_count
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_permutator.py:296
Methodtest_contiguous
(self)
tests/v1/platform/test_gpu_cache_context.py:235
Methodtest_contiguous_tensor_passes
(self)
tests/v1/test_trtllm_integration.py:45
Methodtest_controller_disabled_no_error
(self)
tests/v1/test_config.py:879
Functiontest_controller_monitor_ports_json_parsing
Test that controller_monitor_ports JSON string is correctly parsed as dict
tests/v1/cache_controller/test_config.py:176
Methodtest_controller_rejects_empty_worker_ports
(self)
tests/v1/test_config.py:870
Methodtest_controller_requires_controller_pull_url
(self)
tests/v1/test_config.py:855
Methodtest_controller_requires_controller_reply_url
(self)
tests/v1/test_config.py:860
Methodtest_controller_requires_lmcache_instance_id
(self)
tests/v1/test_config.py:850
Methodtest_controller_requires_lmcache_worker_ports
(self)
tests/v1/test_config.py:865
Methodtest_controller_valid_config_no_error
(self)
tests/v1/test_config.py:875
Functiontest_conversion_defaults_sliding_window_for_non_sw_spec
Groups whose spec is not a SlidingWindowSpec resolve to non-sliding-window.
tests/v1/test_vllm_kv_cache_groups.py:167
Functiontest_conversion_defaults_to_single_group_without_config
No vLLM KV cache groups -> all layers fall into a single engine group.
tests/v1/test_vllm_kv_cache_groups.py:67
Functiontest_conversion_ignores_full_attention_sliding_window
SWA layers managed as full attention (hybrid allocator disabled) are not sliding window: vLLM allocates blocks for all tokens.
tests/v1/test_vllm_kv_cache_groups.py:149
Functiontest_conversion_mixed_window_layers_in_one_group_rejected
Same-identity layers mixing different windows are inconsistent vLLM metadata and fail loudly.
tests/v1/test_vllm_kv_cache_groups.py:207
Functiontest_conversion_preserves_engine_group_layers
Two engine groups with identical tensor shape stay separate by group.
tests/v1/test_vllm_kv_cache_groups.py:78
Functiontest_conversion_resolves_sliding_window_size
A SlidingWindowSpec group carries its window size in tokens; subclasses count too.
tests/v1/test_vllm_kv_cache_groups.py:127
Functiontest_conversion_splits_by_lmcache_layer_identity
Layers split by both engine group and physical transfer identity.
tests/v1/test_vllm_kv_cache_groups.py:99
Functiontest_conversion_uniform_type_specs_resolve_per_layer
Inside a UniformTypeKVCacheSpecs group, per-layer specs decide the window. SW layers with a distinct transfer identity get their own group car
tests/v1/test_vllm_kv_cache_groups.py:182
Methodtest_convert_already_correct_type
Test that values of correct type are passed through.
tests/v1/test_config.py:717
Methodtest_convert_invalid_string_to_int_fails
Test that invalid string fails to convert to int.
tests/v1/test_config.py:700
Methodtest_convert_none_value_succeeds
Test that None value can be set without conversion error.
tests/v1/test_config.py:709
Methodtest_convert_string_false_to_bool
Test that 'false' string is converted to False.
tests/v1/test_config.py:683
Methodtest_convert_string_to_bool
Test that string values are converted to bool for bool config keys.
tests/v1/test_config.py:674
Methodtest_convert_string_to_int
Test that string values are converted to int for int config keys.
tests/v1/test_config.py:665
Methodtest_convert_string_to_int_list
Test that comma-separated string is converted to int list.
tests/v1/test_config.py:690
Methodtest_coordinator_match_span_nests_under_cb_lookup
(self, exporter)
tests/v1/mp_observability/subscribers/tracing/test_cb_server.py:997
Methodtest_correct_count
(self)
tests/cli/commands/bench/engine_bench/workloads/test_random_prefill.py:131
Methodtest_correct_count
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_qa.py:190
Methodtest_correct_count
(self)
tests/cli/commands/bench/engine_bench/workloads/test_multi_round_chat.py:288
Methodtest_correct_count
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_permutator.py:166
Methodtest_correct_prefix_count
(self)
tests/cli/commands/bench/engine_bench/workloads/test_prefix_suffix_tuner.py:261
Methodtest_count_mismatch_range_skipped
A range whose object_keys count != chunk count is skipped, not partial.
tests/v1/mp_coordinator/test_blend_directory.py:112
Methodtest_counter_advances_correctly
(self)
tests/v1/test_device_id_race.py:78
Methodtest_counter_advances_for_all_accesses
Counter bumps on every read AND write, all chunks under salt.
tests/v1/mp_observability/subscribers/metrics/test_sm_lifecycle.py:212
Methodtest_counter_balances_to_zero_after_store_cycle
(self, l1_manager)
tests/v1/distributed/test_l1_l2_state_metrics.py:208
Methodtest_counter_uses_per_adapter_attribution
(self, l1_manager)
tests/v1/distributed/test_l1_l2_state_metrics.py:236
Methodtest_covers_expected_events
(self, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_l0_l1_throughput.py:119
Methodtest_covers_expected_events
(self, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_l2_throughput.py:167
Methodtest_cpu_device_always_selects_first
cpu' always resolves to index 0, even when CUDA is available.
tests/v1/storage_backend/test_path_sharder.py:166
Methodtest_cpu_device_selects_first_path
(self, _avail)
tests/v1/storage_backend/test_path_sharder.py:102
Methodtest_cpu_dst_device_defaults_to_first_path
dst_device='cpu' should fall back to device_id=0.
tests/v1/storage_backend/test_local_disk_backend.py:328
Methodtest_cpu_mode_agreeing_values_no_conflict
(self)
tests/v1/test_config.py:1015
Methodtest_cpu_mode_aliases_to_local_cpu_use_hugepages
(self)
tests/v1/test_config.py:994
Methodtest_cpu_mode_conflicting_values_raise
(self)
tests/v1/test_config.py:1002
Methodtest_cpu_mode_raises_if_wrong_allocator_type
RuntimeError when LocalCPUBackend uses non-paged MixedMemoryAllocator.
tests/v1/storage_backend/test_nixl_shared_pool.py:313
Methodtest_cpu_mode_raises_if_wrong_allocator_type
Static backend: RuntimeError when LocalCPUBackend uses flat allocator.
tests/v1/storage_backend/test_nixl_shared_pool.py:378
Methodtest_cpu_mode_raises_without_local_cpu
Constructor raises RuntimeError if local_cpu_backend is None in CPU mode.
tests/v1/storage_backend/test_nixl_shared_pool.py:293
Methodtest_cpu_mode_rejects_enable_p2p
P2P and the NIXL storage backend would both run NIXL agents over LocalCPUBackend's pinned pool when nixl_buffer_device=cpu. The combin
tests/v1/test_config.py:930
Methodtest_cpu_mode_rejects_nixl_buffer_size
(self)
tests/v1/test_config.py:905
Methodtest_cpu_mode_requires_max_local_cpu_size_positive
(self)
tests/v1/test_config.py:910
Methodtest_cpu_mode_valid_when_buffer_size_unset
(self)
tests/v1/test_config.py:915
Methodtest_create_and_get
(self)
tests/v1/native_storage_ops/test_periodic_event_notifier.py:74
Methodtest_create_dirs
(self)
tests/v1/storage_backend/test_path_sharder.py:52
Methodtest_create_duplicate_key_does_not_increase_count
Creating the same key twice should not duplicate it.
tests/v1/distributed/test_lru_eviction_policy.py:73
Functiontest_create_engine_driven_context_falls_back_to_pickle_without_shm_info
()
tests/v1/multiprocess/test_engine_driven_transfer.py:1506
Functiontest_create_engine_driven_context_use_pickle_ignores_valid_shm_info
()
tests/v1/multiprocess/test_engine_driven_transfer.py:1524
Methodtest_create_exception
(self, client_with_engine, mock_storage_manager)
tests/v1/internal_api_server/test_backend_api.py:167
Functiontest_create_excl_collision
()
tests/v1/multiprocess/test_posix_shm.py:45
Methodtest_create_existing_key_moves_to_most_recent
Creating an existing key should move it to most recent position.
tests/v1/distributed/test_lru_eviction_policy.py:127
Functiontest_create_fp8_accepts_float_max_workers
``max_workers`` from a YAML float (e.g. 2.0) must round to int. Regression: the old ``int(str(...))`` parse rejected float-encoded integers;
tests/v1/distributed/serde/test_factory.py:59
Functiontest_create_fp8_returns_async_processor
fp8 config produces an AsyncSerdeProcessor with distinct event fds.
tests/v1/distributed/serde/test_factory.py:42
Functiontest_create_gpu_connector_blending_rejected_on_musa
``enable_blending`` must fail fast on MUSA.
tests/v1/test_musa_support.py:159
Functiontest_create_gpu_connector_blending_rejected_on_unsupported_devices
The blending guard rejects devices without a blending connector.
tests/v1/test_musa_support.py:171
Functiontest_create_gpu_connector_layerwise_rejected_on_hpu
HPU ships only ``VLLMPagedMemHPUConnectorV2`` (no layerwise variant). Previously, ``use_layerwise=True`` on HPU silently fell through into ``
tests/v1/test_musa_support.py:193
Functiontest_create_gpu_connector_musa_dispatches_to_musa_connector
``torch_device_type == 'musa'`` selects a MUSA connector class. We do not need real MUSA hardware: the factory's ``torch.device`` call is pat
tests/v1/test_musa_support.py:214
Functiontest_create_gpu_connector_rejects_sglang_on_musa
Stage2 does not expose SGLang MUSA connector dispatch.
tests/v1/test_musa_support.py:256
Functiontest_create_gpu_connector_v3_rejected_on_musa
``use_gpu_connector_v3`` must fail fast on MUSA.
tests/v1/test_musa_support.py:182
Functiontest_create_invokes_registered_factory_with_kwargs
()
tests/v1/distributed/transfer_channel/test_factory.py:68
Methodtest_create_keys_increases_tracked_count
Creating keys should increase the tracked key count.
tests/v1/distributed/test_lru_eviction_policy.py:52
Functiontest_create_l1_memory_desc_uses_requested_alignment
()
tests/cli/commands/bench/l2_adapter_bench/test_data.py:22
Methodtest_create_l2_adapter_registers_hfbucket
( self, monkeypatch, tmp_path: Path, )
tests/v1/distributed/test_hfbucket_l2_adapter.py:538
Methodtest_create_l2_adapter_registers_s3
(self)
tests/v1/distributed/test_s3_l2_adapter.py:756
← previousnext →9,501–9,600 of 13,371, ranked by callers