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_is_cross_layer_format
(self)
tests/v1/test_trtllm_integration.py:78
Method
test_is_hnd
(self)
tests/v1/test_trtllm_integration.py:87
Method
test_is_subclass
(self)
tests/v1/test_trtllm_integration.py:363
Method
test_is_worker_syncing
Test worker syncing status.
tests/v1/cache_controller/test_full_sync.py:69
Method
test_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
Method
test_json_file_is_valid_json
(self, tmp_path: object)
tests/cli/commands/bench/engine_bench/interactive/test_state.py:312
Method
test_json_output_is_valid
( self, config: LookupHashLogConfig, log_dir: Path, bus: EventBus, )
tests/v1/mp_observability/subscribers/logging/test_lookup_hash_logger.py:263
Method
test_k_equals_1
With window size 1 each output equals the corresponding input element.
tests/v1/multiprocess/test_token_hasher.py:152
Function
test_keep_registered_heartbeats_then_deregisters
()
tests/v1/mp_coordinator/test_registrar.py:111
Function
test_keep_registered_keeps_id_on_transient_heartbeat_failure
()
tests/v1/mp_coordinator/test_registrar.py:155
Function
test_keep_registered_reregisters_on_404
()
tests/v1/mp_coordinator/test_registrar.py:134
Function
test_keep_registered_survives_malformed_response
()
tests/v1/mp_coordinator/test_registrar.py:180
Function
test_keep_registered_survives_unreachable_coordinator
()
tests/v1/mp_coordinator/test_registrar.py:205
Method
test_keeps_existing_v1
(self)
tests/cli/commands/bench/engine_bench/test_request_sender.py:138
Method
test_kernel_groups_carry_sw_size_tokens
(self)
tests/v1/test_kv_layer_groups_manager.py:402
Method
test_kernel_groups_match_deprecated_alias
(self)
tests/v1/test_kv_layer_groups_manager.py:373
Method
test_key0_missing
L2 has keys {1,2,3} but not 0 → prefix = 0, nothing loaded.
tests/v1/distributed/test_prefetch_controller.py:400
Method
test_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
Method
test_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
Method
test_key_becomes_evictable_after_write_unlock
A key should become evictable after write lock is released.
tests/v1/distributed/test_l1_manager.py:1855
Method
test_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
Method
test_key_eligible_filter_preserves_lru_order
Filtered eviction should still respect LRU order.
tests/v1/distributed/test_lru_eviction_policy.py:340
Method
test_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
Method
test_key_eligible_filter_respects_target_count
Filter should stop collecting once target_count is reached.
tests/v1/distributed/test_lru_eviction_policy.py:307
Method
test_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
Method
test_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
Method
test_key_eligible_filter_skips_locked_simulated
Simulate the real use case: filter skips 'locked' keys.
tests/v1/distributed/test_lru_eviction_policy.py:360
Method
test_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
Method
test_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
Method
test_key_not_exist
Test that non-existing key returns KEY_NOT_EXIST.
tests/v1/distributed/test_l1_manager.py:1077
Method
test_key_to_path
Test key to path conversion.
tests/v1/storage_backend/test_local_disk_backend.py:172
Method
test_key_to_path_and_insert_key
(self, gds_backend)
tests/v1/storage_backend/test_gds_backend.py:148
Method
test_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
Method
test_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
Method
test_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
Method
test_known_key
(self)
tests/cli/commands/bench/engine_bench/interactive/test_schema.py:67
Method
test_known_timestamp
(self)
tests/v1/mp_observability/subscribers/logging/test_lookup_hash_logger.py:40
Method
test_kv_admit_msg_serialization
Test KVAdmitMsg encode/decode.
tests/v1/cache_controller/test_messages.py:115
Method
test_kv_evict_msg_serialization
Test KVEvictMsg encode/decode.
tests/v1/cache_controller/test_messages.py:135
Function
test_kv_eviction_truncates_retrieved_prefix
()
tests/v1/test_hidden_state_store.py:151
Method
test_kv_layer_groups_manager
(self)
tests/v1/platform/test_gpu_cache_context.py:436
Method
test_kvcache_check_consistency
Test that checksums are consistent across calls.
tests/v1/internal_api_server/test_kvcache_check_api.py:153
Method
test_kvcache_check_empty_kv_caches
Test kvcache check when kv_caches is empty.
tests/v1/internal_api_server/test_kvcache_check_api.py:180
Method
test_kvcache_check_invalid_params
Test kvcache check with various invalid parameters.
tests/v1/internal_api_server/test_kvcache_check_api.py:125
Method
test_kvcache_check_success_layer_only
Test successful kvcache check with layer-level checksums.
tests/v1/internal_api_server/test_kvcache_check_api.py:101
Method
test_kvcache_check_with_chunk_size
Test kvcache check with various chunk sizes.
tests/v1/internal_api_server/test_kvcache_check_api.py:142
Method
test_kvcache_default
Verify that url=None resolves to localhost:8080/healthcheck.
tests/cli/test_ping.py:207
Method
test_kvcache_info_empty
Test kvcache info when kvcaches is empty.
tests/v1/internal_api_server/test_kvcache_check_api.py:205
Method
test_kvcache_info_success
Test successful kvcache info retrieval.
tests/v1/internal_api_server/test_kvcache_check_api.py:197
Method
test_kvcache_record_slot_invalid
Test with invalid enabled parameter.
tests/v1/internal_api_server/test_kvcache_check_api.py:235
Method
test_kvcache_record_slot_toggle
Test enabling/disabling KVCache Check logging.
tests/v1/internal_api_server/test_kvcache_check_api.py:222
Method
test_kvcache_shape_spec_custom
( self, parser: argparse.ArgumentParser, )
tests/cli/commands/bench/test_server_bench.py:155
Method
test_kvcache_shape_spec_default
( self, parser: argparse.ArgumentParser, )
tests/cli/commands/bench/test_server_bench.py:148
Method
test_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
Method
test_l1_cleaned_after_l2_store
L1 data should be deleted after successful L2 store.
tests/v1/distributed/test_store_controller.py:654
Function
test_l1_manager_round_trip_on_devdax_mapping
(tmp_path)
tests/v1/distributed/test_devdax_l1_allocator.py:286
Method
test_l1_manager_status_shape
(self, storage_manager_no_l2)
tests/v1/distributed/test_report_status.py:151
Method
test_l1_memory_desc_forwarded
l1_memory_desc should reach the adapter constructor when provided.
tests/v1/distributed/test_l2_adapter_factory.py:352
Method
test_l1_memory_desc_omitted
l1_memory_desc should be None when not provided.
tests/v1/distributed/test_l2_adapter_factory.py:373
Function
test_l1_memory_manager_reports_devdax_desc
(tmp_path)
tests/v1/distributed/test_devdax_l1_allocator.py:366
Function
test_l1_memory_manager_spills_from_dram_to_devdax
(tmp_path)
tests/v1/distributed/test_devdax_l1_allocator.py:324
Method
test_l1_status_reflects_writes
After writing objects, L1 status should reflect them.
tests/v1/distributed/test_report_status.py:197
Method
test_l1_write_triggers_l2_store
Writing to L1 should cause the object to appear in L2.
tests/v1/distributed/test_store_controller.py:270
Method
test_l2_adapters_reflects_runtime_changes
l2_adapters() tracks runtime add/delete in stable-id order.
tests/v1/distributed/test_runtime_adapters.py:372
Method
test_large_adversarial_hybrid
(self)
tests/v1/distributed/test_bitmap_ops.py:526
Method
test_large_data
Test with large data.
tests/v1/native_storage_ops/test_pattern_matcher.py:314
Method
test_large_numbers
Test with large numbers.
tests/v1/native_storage_ops/test_pattern_matcher.py:218
Method
test_large_numbers
Test with large numbers.
tests/v1/native_storage_ops/test_pattern_matcher.py:566
Method
test_large_pattern
Test with a large pattern.
tests/v1/native_storage_ops/test_pattern_matcher.py:139
Method
test_large_tensor
Large tensor (~4M elements, ~8MB bf16). Stress the buffer boundary.
tests/v1/distributed/serde/test_serde_e2e.py:530
Method
test_large_token_lookup
Test lookup with large number of tokens.
tests/v1/lookup_client/test_lmcache_lookup_client.py:433
Method
test_large_values
(self)
tests/test_utils.py:43
Method
test_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
Method
test_last_chunk_not_full
Test with last chunk not being full size.
tests/v1/storage_backend/test_storage_manager.py:257
Method
test_late_registered_subscriber
(self, bus)
tests/v1/mp_observability/test_event_bus.py:238
Method
test_late_write_corrupts_recycled_slot
A write into a dangling memoryview destroys another allocation.
tests/v1/test_staging_buffer.py:44
Method
test_launch_plugins_delegates
launch_plugins delegates to inner launcher.
tests/v1/multiprocess/test_mp_runtime_plugin_launcher.py:130
Function
test_launch_plugins_location_does_not_exist
Test launch_plugins when location does not exist.
tests/v1/plugin/test_runtime_plugin_launcher.py:74
Function
test_launch_plugins_no_locations
Test launch_plugins when no locations are configured.
tests/v1/plugin/test_runtime_plugin_launcher.py:63
Function
test_launch_plugins_python_file
Test launching a Python plugin file.
tests/v1/plugin/test_runtime_plugin_launcher.py:92
Function
test_launch_plugins_role_filtering
Test plugin filtering based on role.
tests/v1/plugin/test_runtime_plugin_launcher.py:135
Function
test_launch_plugins_worker_id_filtering
Test plugin filtering based on worker ID.
tests/v1/plugin/test_runtime_plugin_launcher.py:188
Function
test_layer_allowlist_filters_writes
()
tests/v1/test_hidden_state_store.py:287
Method
test_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
Function
test_layerwise_save_kv_producer_ignores_can_save_flag
()
tests/v1/test_vllm_layerwise_wait_for_save.py:140
Function
test_layerwise_save_skips_requests_that_cannot_save
()
tests/v1/test_vllm_layerwise_wait_for_save.py:132
Method
test_layerwise_shape
(self)
tests/v1/multiprocess/test_compute_mp_checksums.py:67
Method
test_layerwise_shape
(self)
tests/v1/multiprocess/test_compute_mp_checksums.py:159
Function
test_layerwise_storer_is_request_scoped_across_interleaved_finalize
()
tests/v1/test_vllm_layerwise_wait_for_save.py:79
Function
test_layerwise_vllm_buffer_connector_with_gpu
(use_gpu)
tests/v1/test_xpu_connector.py:656
Function
test_layerwise_vllm_buffer_connector_with_gpu
(use_gpu)
tests/v1/test_gpu_connector.py:666
Function
test_layerwise_vllm_paged_connector_with_gpu
(use_gpu, engine_kv_format)
tests/v1/test_xpu_connector.py:375
Function
test_layerwise_vllm_paged_connector_with_gpu
(use_gpu, engine_kv_format)
tests/v1/test_gpu_connector.py:385
Function
test_layout
(test_shape, test_dtype)
tests/v1/distributed/test_object_key_parallel.py:77
Method
test_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
Method
test_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
Method
test_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
Method
test_lazy_root_on_store_only_path
(self, bus, registry, subscriber)
tests/v1/mp_observability/subscribers/tracing/test_mp_server.py:268
Method
test_ldqa_condition
(self)
tests/cli/commands/bench/engine_bench/interactive/test_schema.py:95
Method
test_length_matches_input
Output length always matches input length.
tests/v1/distributed/test_prefetch_policy.py:247
← previous
next →
10,801–10,900 of 13,371, ranked by callers