Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LMCache/LMCache
/ functions
Functions
13,371 in github.com/LMCache/LMCache
⨍
Functions
13,371
◇
Types & classes
2,044
↳
Endpoints
181
Method
test_construct
(self)
tests/v1/test_trtllm_integration.py:294
Method
test_construction
(self)
tests/cli/commands/bench/engine_bench/test_stats.py:104
Method
test_construction
(self)
tests/cli/commands/bench/engine_bench/workloads/test_multi_round_chat.py:144
Method
test_constructor_copies_setup_config
Constructor should copy the setup_config dict.
tests/v1/distributed/test_mooncake_store_l2_adapter.py:311
Method
test_constructor_rejects_non_positive_page_size
(self)
tests/v1/mp_coordinator/test_resync_manager.py:192
Method
test_consume_fd_after_notify
consume_fd() drains a notifier's fd.
tests/v1/test_event_notifier.py:167
Method
test_consume_fd_returns_on_pipe_eof
consume_fd() returns when the pipe write end is closed.
tests/v1/test_event_notifier.py:152
Method
test_consume_fd_uses_pipe_path
(self, force_pipe)
tests/v1/test_event_notifier.py:237
Method
test_consume_fd_without_signal
consume_fd() on unsignaled fd does not block.
tests/v1/test_event_notifier.py:181
Method
test_consume_without_notify_is_noop
consume() without prior notify() does not block or raise.
tests/v1/test_event_notifier.py:69
Method
test_contains_false
(self, backend)
tests/v1/storage_backend/test_maru_backend.py:542
Method
test_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
Method
test_contains_key_exists
(self, gds_backend)
tests/v1/storage_backend/test_gds_backend.py:163
Method
test_contains_key_exists
Test contains() when key exists.
tests/v1/storage_backend/test_local_cpu_backend.py:174
Method
test_contains_key_not_exists
(self, gds_backend)
tests/v1/storage_backend/test_gds_backend.py:158
Method
test_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
Method
test_contains_key_not_exists
Test contains() when key doesn't exist.
tests/v1/storage_backend/test_local_cpu_backend.py:166
Method
test_contains_key_not_exists
Test contains() when key doesn't exist in filesystem.
tests/v1/storage_backend/test_fs_connector.py:247
Method
test_contains_key_not_exists
Test contains() when key doesn't exist.
tests/v1/storage_backend/test_local_disk_backend.py:182
Method
test_contains_respects_bypass
Test contains operation respects bypass mode.
tests/v1/test_health_monitor_fallback_recovery.py:625
Method
test_contains_true
(self, backend)
tests/v1/storage_backend/test_maru_backend.py:535
Method
test_contains_with_pin
(self, backend)
tests/v1/storage_backend/test_maru_backend.py:569
Method
test_contains_with_pin_false
(self, backend)
tests/v1/storage_backend/test_maru_backend.py:577
Method
test_context_manager
EventNotifier works as a context manager.
tests/v1/test_event_notifier.py:83
Method
test_context_manager
Test lock context manager.
tests/v1/cache_controller/test_locks.py:275
Method
test_context_manager_timeout
Test lock context manager raises on timeout.
tests/v1/cache_controller/test_locks.py:281
Method
test_contexts_are_unique
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_permutator.py:177
Method
test_contexts_count
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_permutator.py:296
Method
test_contiguous
(self)
tests/v1/platform/test_gpu_cache_context.py:235
Method
test_contiguous_tensor_passes
(self)
tests/v1/test_trtllm_integration.py:45
Method
test_controller_disabled_no_error
(self)
tests/v1/test_config.py:879
Function
test_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
Method
test_controller_rejects_empty_worker_ports
(self)
tests/v1/test_config.py:870
Method
test_controller_requires_controller_pull_url
(self)
tests/v1/test_config.py:855
Method
test_controller_requires_controller_reply_url
(self)
tests/v1/test_config.py:860
Method
test_controller_requires_lmcache_instance_id
(self)
tests/v1/test_config.py:850
Method
test_controller_requires_lmcache_worker_ports
(self)
tests/v1/test_config.py:865
Method
test_controller_valid_config_no_error
(self)
tests/v1/test_config.py:875
Function
test_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
Function
test_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
Function
test_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
Function
test_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
Function
test_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
Function
test_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
Function
test_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
Function
test_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
Method
test_convert_already_correct_type
Test that values of correct type are passed through.
tests/v1/test_config.py:717
Method
test_convert_invalid_string_to_int_fails
Test that invalid string fails to convert to int.
tests/v1/test_config.py:700
Method
test_convert_none_value_succeeds
Test that None value can be set without conversion error.
tests/v1/test_config.py:709
Method
test_convert_string_false_to_bool
Test that 'false' string is converted to False.
tests/v1/test_config.py:683
Method
test_convert_string_to_bool
Test that string values are converted to bool for bool config keys.
tests/v1/test_config.py:674
Method
test_convert_string_to_int
Test that string values are converted to int for int config keys.
tests/v1/test_config.py:665
Method
test_convert_string_to_int_list
Test that comma-separated string is converted to int list.
tests/v1/test_config.py:690
Method
test_coordinator_match_span_nests_under_cb_lookup
(self, exporter)
tests/v1/mp_observability/subscribers/tracing/test_cb_server.py:997
Method
test_correct_count
(self)
tests/cli/commands/bench/engine_bench/workloads/test_random_prefill.py:131
Method
test_correct_count
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_qa.py:190
Method
test_correct_count
(self)
tests/cli/commands/bench/engine_bench/workloads/test_multi_round_chat.py:288
Method
test_correct_count
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_permutator.py:166
Method
test_correct_prefix_count
(self)
tests/cli/commands/bench/engine_bench/workloads/test_prefix_suffix_tuner.py:261
Method
test_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
Method
test_counter_advances_correctly
(self)
tests/v1/test_device_id_race.py:78
Method
test_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
Method
test_counter_balances_to_zero_after_store_cycle
(self, l1_manager)
tests/v1/distributed/test_l1_l2_state_metrics.py:208
Method
test_counter_uses_per_adapter_attribution
(self, l1_manager)
tests/v1/distributed/test_l1_l2_state_metrics.py:236
Method
test_covers_expected_events
(self, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_l0_l1_throughput.py:119
Method
test_covers_expected_events
(self, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_l2_throughput.py:167
Method
test_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
Method
test_cpu_device_selects_first_path
(self, _avail)
tests/v1/storage_backend/test_path_sharder.py:102
Method
test_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
Method
test_cpu_mode_agreeing_values_no_conflict
(self)
tests/v1/test_config.py:1015
Method
test_cpu_mode_aliases_to_local_cpu_use_hugepages
(self)
tests/v1/test_config.py:994
Method
test_cpu_mode_conflicting_values_raise
(self)
tests/v1/test_config.py:1002
Method
test_cpu_mode_raises_if_wrong_allocator_type
RuntimeError when LocalCPUBackend uses non-paged MixedMemoryAllocator.
tests/v1/storage_backend/test_nixl_shared_pool.py:313
Method
test_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
Method
test_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
Method
test_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
Method
test_cpu_mode_rejects_nixl_buffer_size
(self)
tests/v1/test_config.py:905
Method
test_cpu_mode_requires_max_local_cpu_size_positive
(self)
tests/v1/test_config.py:910
Method
test_cpu_mode_valid_when_buffer_size_unset
(self)
tests/v1/test_config.py:915
Method
test_create_and_get
(self)
tests/v1/native_storage_ops/test_periodic_event_notifier.py:74
Method
test_create_dirs
(self)
tests/v1/storage_backend/test_path_sharder.py:52
Method
test_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
Function
test_create_engine_driven_context_falls_back_to_pickle_without_shm_info
()
tests/v1/multiprocess/test_engine_driven_transfer.py:1506
Function
test_create_engine_driven_context_use_pickle_ignores_valid_shm_info
()
tests/v1/multiprocess/test_engine_driven_transfer.py:1524
Method
test_create_exception
(self, client_with_engine, mock_storage_manager)
tests/v1/internal_api_server/test_backend_api.py:167
Function
test_create_excl_collision
()
tests/v1/multiprocess/test_posix_shm.py:45
Method
test_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
Function
test_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
Function
test_create_fp8_returns_async_processor
fp8 config produces an AsyncSerdeProcessor with distinct event fds.
tests/v1/distributed/serde/test_factory.py:42
Function
test_create_gpu_connector_blending_rejected_on_musa
``enable_blending`` must fail fast on MUSA.
tests/v1/test_musa_support.py:159
Function
test_create_gpu_connector_blending_rejected_on_unsupported_devices
The blending guard rejects devices without a blending connector.
tests/v1/test_musa_support.py:171
Function
test_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
Function
test_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
Function
test_create_gpu_connector_rejects_sglang_on_musa
Stage2 does not expose SGLang MUSA connector dispatch.
tests/v1/test_musa_support.py:256
Function
test_create_gpu_connector_v3_rejected_on_musa
``use_gpu_connector_v3`` must fail fast on MUSA.
tests/v1/test_musa_support.py:182
Function
test_create_invokes_registered_factory_with_kwargs
()
tests/v1/distributed/transfer_channel/test_factory.py:68
Method
test_create_keys_increases_tracked_count
Creating keys should increase the tracked key count.
tests/v1/distributed/test_lru_eviction_policy.py:52
Function
test_create_l1_memory_desc_uses_requested_alignment
()
tests/cli/commands/bench/l2_adapter_bench/test_data.py:22
Method
test_create_l2_adapter_registers_hfbucket
( self, monkeypatch, tmp_path: Path, )
tests/v1/distributed/test_hfbucket_l2_adapter.py:538
Method
test_create_l2_adapter_registers_s3
(self)
tests/v1/distributed/test_s3_l2_adapter.py:756
← previous
next →
9,501–9,600 of 13,371, ranked by callers