MCPcopy Create free account

hub / github.com/LMCache/LMCache / functions

Functions13,371 in github.com/LMCache/LMCache

Methodtest_is_cross_layer_format
(self)
tests/v1/test_trtllm_integration.py:78
Methodtest_is_hnd
(self)
tests/v1/test_trtllm_integration.py:87
Methodtest_is_subclass
(self)
tests/v1/test_trtllm_integration.py:363
Methodtest_is_worker_syncing
Test worker syncing status.
tests/v1/cache_controller/test_full_sync.py:69
Methodtest_isolated_lru_without_quota_manager_falls_through_to_global
Defensive: IsolatedLRU configured on a controller that wasn't given a QuotaManager falls through to the aggregate-watermark branch. Th
tests/v1/distributed/test_cache_salt_l2_eviction.py:265
Methodtest_json_file_is_valid_json
(self, tmp_path: object)
tests/cli/commands/bench/engine_bench/interactive/test_state.py:312
Methodtest_json_output_is_valid
( self, config: LookupHashLogConfig, log_dir: Path, bus: EventBus, )
tests/v1/mp_observability/subscribers/logging/test_lookup_hash_logger.py:263
Methodtest_k_equals_1
With window size 1 each output equals the corresponding input element.
tests/v1/multiprocess/test_token_hasher.py:152
Functiontest_keep_registered_heartbeats_then_deregisters
()
tests/v1/mp_coordinator/test_registrar.py:111
Functiontest_keep_registered_keeps_id_on_transient_heartbeat_failure
()
tests/v1/mp_coordinator/test_registrar.py:155
Functiontest_keep_registered_reregisters_on_404
()
tests/v1/mp_coordinator/test_registrar.py:134
Functiontest_keep_registered_survives_malformed_response
()
tests/v1/mp_coordinator/test_registrar.py:180
Functiontest_keep_registered_survives_unreachable_coordinator
()
tests/v1/mp_coordinator/test_registrar.py:205
Methodtest_keeps_existing_v1
(self)
tests/cli/commands/bench/engine_bench/test_request_sender.py:138
Methodtest_kernel_groups_carry_sw_size_tokens
(self)
tests/v1/test_kv_layer_groups_manager.py:402
Methodtest_kernel_groups_match_deprecated_alias
(self)
tests/v1/test_kv_layer_groups_manager.py:373
Methodtest_key0_missing
L2 has keys {1,2,3} but not 0 → prefix = 0, nothing loaded.
tests/v1/distributed/test_prefetch_controller.py:400
Methodtest_key_absent_returns_none_without_policy_update
get_blocking must return None immediately when the key is not cached.
tests/v1/storage_backend/test_local_disk_backend.py:455
Methodtest_key_becomes_evictable_after_read_unlock
A key should become evictable after all read locks are released.
tests/v1/distributed/test_l1_manager.py:1834
Methodtest_key_becomes_evictable_after_write_unlock
A key should become evictable after write lock is released.
tests/v1/distributed/test_l1_manager.py:1855
Methodtest_key_eligible_filter_none_evicts_all
When key_eligible_filter is None, all keys should be eligible.
tests/v1/distributed/test_lru_eviction_policy.py:288
Methodtest_key_eligible_filter_preserves_lru_order
Filtered eviction should still respect LRU order.
tests/v1/distributed/test_lru_eviction_policy.py:340
Methodtest_key_eligible_filter_rejects_all_returns_empty
When filter rejects all keys, no eviction actions should be returned.
tests/v1/distributed/test_lru_eviction_policy.py:298
Methodtest_key_eligible_filter_respects_target_count
Filter should stop collecting once target_count is reached.
tests/v1/distributed/test_lru_eviction_policy.py:307
Methodtest_key_eligible_filter_skips_filtered_keys
Keys that fail the filter should be skipped during eviction.
tests/v1/distributed/test_lru_eviction_policy.py:268
Methodtest_key_eligible_filter_skips_locked_keys
The filter is useful for skipping pinned / locked keys. Any key for which the filter returns False should be bypassed when choosing vi
tests/v1/distributed/test_isolated_lru_eviction_policy.py:123
Methodtest_key_eligible_filter_skips_locked_simulated
Simulate the real use case: filter skips 'locked' keys.
tests/v1/distributed/test_lru_eviction_policy.py:360
Methodtest_key_eligible_filter_with_partial_acceptance
When filter accepts some keys, only accepted keys up to target_count should be evicted.
tests/v1/distributed/test_lru_eviction_policy.py:319
Methodtest_key_eligible_filter_with_small_ratio_and_many_filtered
When many keys are filtered, a small ratio should still collect enough eligible keys.
tests/v1/distributed/test_lru_eviction_policy.py:383
Methodtest_key_not_exist
Test that non-existing key returns KEY_NOT_EXIST.
tests/v1/distributed/test_l1_manager.py:1077
Methodtest_key_to_path
Test key to path conversion.
tests/v1/storage_backend/test_local_disk_backend.py:172
Methodtest_key_to_path_and_insert_key
(self, gds_backend)
tests/v1/storage_backend/test_gds_backend.py:148
Methodtest_key_to_path_uses_selected_path
_key_to_path builds file paths under the selected gds_path.
tests/v1/storage_backend/test_gds_backend.py:838
Methodtest_key_with_multiple_read_locks_not_evictable
A key with extra_count read locks should not be evictable until all locks are released.
tests/v1/distributed/test_l1_manager.py:1914
Methodtest_keys_bucketed_by_salt
Each ``cache_salt`` lives in its own LRU list; buckets do not bleed into each other.
tests/v1/distributed/test_isolated_lru_eviction_policy.py:34
Methodtest_known_key
(self)
tests/cli/commands/bench/engine_bench/interactive/test_schema.py:67
Methodtest_known_timestamp
(self)
tests/v1/mp_observability/subscribers/logging/test_lookup_hash_logger.py:40
Methodtest_kv_admit_msg_serialization
Test KVAdmitMsg encode/decode.
tests/v1/cache_controller/test_messages.py:115
Methodtest_kv_evict_msg_serialization
Test KVEvictMsg encode/decode.
tests/v1/cache_controller/test_messages.py:135
Functiontest_kv_eviction_truncates_retrieved_prefix
()
tests/v1/test_hidden_state_store.py:151
Methodtest_kv_layer_groups_manager
(self)
tests/v1/platform/test_gpu_cache_context.py:436
Methodtest_kvcache_check_consistency
Test that checksums are consistent across calls.
tests/v1/internal_api_server/test_kvcache_check_api.py:153
Methodtest_kvcache_check_empty_kv_caches
Test kvcache check when kv_caches is empty.
tests/v1/internal_api_server/test_kvcache_check_api.py:180
Methodtest_kvcache_check_invalid_params
Test kvcache check with various invalid parameters.
tests/v1/internal_api_server/test_kvcache_check_api.py:125
Methodtest_kvcache_check_success_layer_only
Test successful kvcache check with layer-level checksums.
tests/v1/internal_api_server/test_kvcache_check_api.py:101
Methodtest_kvcache_check_with_chunk_size
Test kvcache check with various chunk sizes.
tests/v1/internal_api_server/test_kvcache_check_api.py:142
Methodtest_kvcache_default
Verify that url=None resolves to localhost:8080/healthcheck.
tests/cli/test_ping.py:207
Methodtest_kvcache_info_empty
Test kvcache info when kvcaches is empty.
tests/v1/internal_api_server/test_kvcache_check_api.py:205
Methodtest_kvcache_info_success
Test successful kvcache info retrieval.
tests/v1/internal_api_server/test_kvcache_check_api.py:197
Methodtest_kvcache_record_slot_invalid
Test with invalid enabled parameter.
tests/v1/internal_api_server/test_kvcache_check_api.py:235
Methodtest_kvcache_record_slot_toggle
Test enabling/disabling KVCache Check logging.
tests/v1/internal_api_server/test_kvcache_check_api.py:222
Methodtest_kvcache_shape_spec_custom
( self, parser: argparse.ArgumentParser, )
tests/cli/commands/bench/test_server_bench.py:155
Methodtest_kvcache_shape_spec_default
( self, parser: argparse.ArgumentParser, )
tests/cli/commands/bench/test_server_bench.py:148
Methodtest_kvcache_typing_unchanged
``KVCache = list[DeviceIPCWrapper]`` should accept concrete wrappers — load-bearing for msgspec ext-code reuse over ZMQ.
tests/v1/test_trtllm_integration.py:372
Methodtest_l1_cleaned_after_l2_store
L1 data should be deleted after successful L2 store.
tests/v1/distributed/test_store_controller.py:654
Functiontest_l1_manager_round_trip_on_devdax_mapping
(tmp_path)
tests/v1/distributed/test_devdax_l1_allocator.py:286
Methodtest_l1_manager_status_shape
(self, storage_manager_no_l2)
tests/v1/distributed/test_report_status.py:151
Methodtest_l1_memory_desc_forwarded
l1_memory_desc should reach the adapter constructor when provided.
tests/v1/distributed/test_l2_adapter_factory.py:352
Methodtest_l1_memory_desc_omitted
l1_memory_desc should be None when not provided.
tests/v1/distributed/test_l2_adapter_factory.py:373
Functiontest_l1_memory_manager_reports_devdax_desc
(tmp_path)
tests/v1/distributed/test_devdax_l1_allocator.py:366
Functiontest_l1_memory_manager_spills_from_dram_to_devdax
(tmp_path)
tests/v1/distributed/test_devdax_l1_allocator.py:324
Methodtest_l1_status_reflects_writes
After writing objects, L1 status should reflect them.
tests/v1/distributed/test_report_status.py:197
Methodtest_l1_write_triggers_l2_store
Writing to L1 should cause the object to appear in L2.
tests/v1/distributed/test_store_controller.py:270
Methodtest_l2_adapters_reflects_runtime_changes
l2_adapters() tracks runtime add/delete in stable-id order.
tests/v1/distributed/test_runtime_adapters.py:372
Methodtest_large_adversarial_hybrid
(self)
tests/v1/distributed/test_bitmap_ops.py:526
Methodtest_large_data
Test with large data.
tests/v1/native_storage_ops/test_pattern_matcher.py:314
Methodtest_large_numbers
Test with large numbers.
tests/v1/native_storage_ops/test_pattern_matcher.py:218
Methodtest_large_numbers
Test with large numbers.
tests/v1/native_storage_ops/test_pattern_matcher.py:566
Methodtest_large_pattern
Test with a large pattern.
tests/v1/native_storage_ops/test_pattern_matcher.py:139
Methodtest_large_tensor
Large tensor (~4M elements, ~8MB bf16). Stress the buffer boundary.
tests/v1/distributed/serde/test_serde_e2e.py:530
Methodtest_large_token_lookup
Test lookup with large number of tokens.
tests/v1/lookup_client/test_lmcache_lookup_client.py:433
Methodtest_large_values
(self)
tests/test_utils.py:43
Methodtest_large_world_size_tp8
Test with larger world_size (TP=8) through the API. All 8 workers store and lookup works correctly.
tests/v1/distributed/test_object_key_parallel.py:527
Methodtest_last_chunk_not_full
Test with last chunk not being full size.
tests/v1/storage_backend/test_storage_manager.py:257
Methodtest_late_registered_subscriber
(self, bus)
tests/v1/mp_observability/test_event_bus.py:238
Methodtest_late_write_corrupts_recycled_slot
A write into a dangling memoryview destroys another allocation.
tests/v1/test_staging_buffer.py:44
Methodtest_launch_plugins_delegates
launch_plugins delegates to inner launcher.
tests/v1/multiprocess/test_mp_runtime_plugin_launcher.py:130
Functiontest_launch_plugins_location_does_not_exist
Test launch_plugins when location does not exist.
tests/v1/plugin/test_runtime_plugin_launcher.py:74
Functiontest_launch_plugins_no_locations
Test launch_plugins when no locations are configured.
tests/v1/plugin/test_runtime_plugin_launcher.py:63
Functiontest_launch_plugins_python_file
Test launching a Python plugin file.
tests/v1/plugin/test_runtime_plugin_launcher.py:92
Functiontest_launch_plugins_role_filtering
Test plugin filtering based on role.
tests/v1/plugin/test_runtime_plugin_launcher.py:135
Functiontest_launch_plugins_worker_id_filtering
Test plugin filtering based on worker ID.
tests/v1/plugin/test_runtime_plugin_launcher.py:188
Functiontest_layer_allowlist_filters_writes
()
tests/v1/test_hidden_state_store.py:287
Methodtest_layerwise_partial_chunk_tail_released
keys_per_chunk=4, backend returns 7 mem_objs for 2 chunks (8 keys); the 3 mem_objs in the rounded-off partial-chunk tail must be released.
tests/v1/storage_backend/test_storage_manager.py:337
Functiontest_layerwise_save_kv_producer_ignores_can_save_flag
()
tests/v1/test_vllm_layerwise_wait_for_save.py:140
Functiontest_layerwise_save_skips_requests_that_cannot_save
()
tests/v1/test_vllm_layerwise_wait_for_save.py:132
Methodtest_layerwise_shape
(self)
tests/v1/multiprocess/test_compute_mp_checksums.py:67
Methodtest_layerwise_shape
(self)
tests/v1/multiprocess/test_compute_mp_checksums.py:159
Functiontest_layerwise_storer_is_request_scoped_across_interleaved_finalize
()
tests/v1/test_vllm_layerwise_wait_for_save.py:79
Functiontest_layerwise_vllm_buffer_connector_with_gpu
(use_gpu)
tests/v1/test_xpu_connector.py:656
Functiontest_layerwise_vllm_buffer_connector_with_gpu
(use_gpu)
tests/v1/test_gpu_connector.py:666
Functiontest_layerwise_vllm_paged_connector_with_gpu
(use_gpu, engine_kv_format)
tests/v1/test_xpu_connector.py:375
Functiontest_layerwise_vllm_paged_connector_with_gpu
(use_gpu, engine_kv_format)
tests/v1/test_gpu_connector.py:385
Functiontest_layout
(test_shape, test_dtype)
tests/v1/distributed/test_object_key_parallel.py:77
Methodtest_layout_desc_roundtrip
End-to-end: a publish carrying a MemoryLayoutDesc round-trips through codec encode → file → reader → codec decode.
tests/v1/mp_observability/trace/test_recorder.py:151
Methodtest_lazy_expansion_allows_larger_allocations
Test that lazy expansion allows allocations beyond init_size. The background thread should expand the available memory over time,
tests/v1/test_memory_management.py:825
Methodtest_lazy_module_not_in_sys_modules
Pending modules are NOT in sys.modules until ensure_adapter_loaded triggers the import.
tests/v1/distributed/test_l2_adapter_factory.py:638
Methodtest_lazy_root_on_store_only_path
(self, bus, registry, subscriber)
tests/v1/mp_observability/subscribers/tracing/test_mp_server.py:268
Methodtest_ldqa_condition
(self)
tests/cli/commands/bench/engine_bench/interactive/test_schema.py:95
Methodtest_length_matches_input
Output length always matches input length.
tests/v1/distributed/test_prefetch_policy.py:247
← previousnext →10,801–10,900 of 13,371, ranked by callers