MCPcopy Create free account

hub / github.com/LMCache/LMCache / functions

Functions13,371 in github.com/LMCache/LMCache

Methodtest_model_auto_detect
(self, mock_auto_detect, base_namespace)
tests/cli/commands/bench/engine_bench/test_config.py:150
Methodtest_model_filter
(self)
tests/tools/test_cache_simulator.py:178
Methodtest_model_name_pushed_down_as_prefix
(self, adapter)
tests/v1/distributed/test_s3_l2_adapter.py:819
Methodtest_model_name_with_slash_round_trips
(self, adapter)
tests/v1/distributed/test_s3_l2_adapter.py:828
Methodtest_model_not_found_raises
(self, mock_fetch)
tests/cli/commands/bench/engine_bench/test_config.py:306
Methodtest_modifies_in_place
(self)
tests/v1/multiprocess/test_token_hasher.py:290
Methodtest_module_filter_applies_per_level
The short-name filter is evaluated for every leaf module regardless of its depth, matching the documented contract.
tests/v1/test_subclass_discovery.py:489
Methodtest_module_filter_skips_modules
(self, temp_pkg: Tuple[str, Path])
tests/v1/test_subclass_discovery.py:178
Methodtest_modulo_wraps
(self)
tests/v1/storage_backend/test_path_sharder.py:41
Methodtest_monitor_detects_state_changes
(self, monitor)
tests/v1/test_health_monitor.py:189
Methodtest_mooncake_store_type_registered
mooncake_store' should be in the registered adapter types.
tests/v1/distributed/test_mooncake_store_l2_adapter.py:335
Methodtest_move_delegates_to_executor
Test move operation delegates to cluster executor.
tests/v1/cache_controller/test_kv_controller.py:664
Methodtest_move_msg_serialization
Test MoveMsg encode/decode.
tests/v1/cache_controller/test_messages.py:398
Methodtest_move_ret_msg_serialization
Test MoveRetMsg encode/decode.
tests/v1/cache_controller/test_messages.py:535
Methodtest_move_worker_msg_serialization
Test MoveWorkerMsg encode/decode.
tests/v1/cache_controller/test_messages.py:290
Methodtest_move_worker_ret_msg
Test MoveWorkerRetMsg encode/decode.
tests/v1/cache_controller/test_messages.py:692
Functiontest_mp_gather_scatter_roundtrip
()
tests/v1/gpu_connector/test_blocks_first_fused_kv_format.py:84
Methodtest_mp_mode_allowed_imports
script_allowed_imports in MPServerConfig is respected.
tests/v1/multiprocess/http_apis/test_common_api.py:104
Methodtest_mp_mode_basic_script
Script executes and returns result in mp mode.
tests/v1/multiprocess/http_apis/test_common_api.py:85
Methodtest_mp_mode_no_script_file
Missing script file returns 400.
tests/v1/multiprocess/http_apis/test_common_api.py:97
Methodtest_mp_mode_no_state
No app.state set — allowed_imports falls back to empty list.
tests/v1/multiprocess/http_apis/test_common_api.py:117
Methodtest_mp_server_args_registered
(self, parser)
tests/cli/commands/test_server.py:51
Functiontest_mq_free_locks
Test MessageQueue with FREE_LOOKUP_LOCKS request type. FREE_LOOKUP_LOCKS takes (key: KeyType) and returns None.
tests/v1/multiprocess/test_free_locks.py:65
Functiontest_mq_lookup
Test MessageQueue with LOOKUP request type. LOOKUP takes (key: KeyType, tp_size: int) and returns None. The job is tracked server-side by
tests/v1/multiprocess/test_mq.py:501
Functiontest_mq_lookup_with_different_key
Test MessageQueue with LOOKUP request type with a different key. Tests that the handler correctly processes a single key.
tests/v1/multiprocess/test_mq.py:526
Functiontest_mq_noop_multiple_clients
Test MessageQueue with multiple concurrent clients. Verifies that server can handle requests from multiple clients simultaneously.
tests/v1/multiprocess/test_mq.py:343
Functiontest_mq_noop_multiple_requests
Test MessageQueue with multiple NOOP requests. Verifies that server can handle multiple sequential requests.
tests/v1/multiprocess/test_mq.py:326
Functiontest_mq_noop_request
Test MessageQueue with NOOP request type. NOOP takes no payloads and returns a string response.
tests/v1/multiprocess/test_mq.py:308
Functiontest_mq_query_prefetch_lookup_hits
Test MessageQueue with QUERY_PREFETCH_LOOKUP_HITS request type.
tests/v1/multiprocess/test_query_lookup_hits.py:68
Functiontest_mq_query_prefetch_lookup_hits_none_response
Test MessageQueue returns None when lookup is still in progress.
tests/v1/multiprocess/test_query_lookup_hits.py:89
Functiontest_mq_register_kv_cache
Test MessageQueue with REGISTER_KV_CACHE request type. REGISTER_KV_CACHE takes (gpu_id: int, kv_cache: KVCache) and returns None.
tests/v1/multiprocess/test_mq.py:365
Functiontest_mq_report_block_allocation
Test MessageQueue with REPORT_BLOCK_ALLOCATION request type. REPORT_BLOCK_ALLOCATION takes (instance_id, model_name, records) and returns
tests/v1/multiprocess/test_mq.py:550
Functiontest_mq_report_block_allocation_empty
Test REPORT_BLOCK_ALLOCATION with an empty records list.
tests/v1/multiprocess/test_mq.py:583
Functiontest_mq_retrieve
Test MessageQueue with RETRIEVE request type. RETRIEVE takes (key: KeyType, gpu_id: int, gpu_block_ids: list[list[int]], event_ipc_handle
tests/v1/multiprocess/test_mq.py:474
Functiontest_mq_store
Test MessageQueue with STORE request type. STORE takes (key: KeyType, gpu_id: int, gpu_block_ids: list[list[int]], event_ipc_handle: byte
tests/v1/multiprocess/test_mq.py:449
Functiontest_mq_unregister_kv_cache
Test MessageQueue with UNREGISTER_KV_CACHE request type. UNREGISTER_KV_CACHE takes (gpu_id: int) and returns None.
tests/v1/multiprocess/test_mq.py:402
Functiontest_mq_unregister_kv_cache_multiple_clients
Test MessageQueue with UNREGISTER_KV_CACHE from multiple clients. Verifies that multiple clients can unregister KV caches concurrently.
tests/v1/multiprocess/test_mq.py:425
Methodtest_mrc_condition
(self)
tests/cli/commands/bench/engine_bench/interactive/test_schema.py:102
Functiontest_mru
()
tests/v1/test_cache_policy.py:164
Functiontest_mru_with_pin
()
tests/v1/test_cache_policy.py:187
Methodtest_multi_adapter_disjoint
Each adapter gets its unique keys.
tests/v1/distributed/test_prefetch_policy.py:103
Methodtest_multi_adapter_locks_released
Both adapters' L2 locks released after overlapping prefetch.
tests/v1/distributed/test_prefetch_controller.py:704
Methodtest_multi_adapter_overlap_first_wins
When key is in multiple adapters, lowest-index adapter gets it.
tests/v1/distributed/test_prefetch_policy.py:87
Functiontest_multi_device_backends
Test running GPU-related backend with local CPU backends together
tests/v1/test_cache_engine.py:1572
Functiontest_multi_layer_block_kv_transfer_roundtrip
Server-side copy (handle mode) D2H + H2D round-trip. Regression for the CI ``cpu_e2e_validation (server-side copy)`` failure: ``LMCacheDriven
tests/v1/gpu_connector/test_blocks_first_fused_kv_format.py:115
Functiontest_multi_layer_kernel
(num_tokens, engine_kv_format)
tests/v1/test_mem_kernels.py:207
Functiontest_multi_layer_kernel_hnd
Round-trip test for HND multi-layer kernel: D2H then H2D.
tests/v1/test_mem_kernels.py:558
Functiontest_multi_layer_kernel_use_mla
(num_tokens, head_size, engine_kv_format)
tests/v1/test_mem_kernels.py:344
Functiontest_multi_layer_save_and_finalize
()
tests/v1/test_vllm_layerwise_wait_for_save.py:116
Functiontest_multi_layer_store_and_retrieve
()
tests/v1/test_hidden_state_store.py:263
Methodtest_multi_model_buckets_separately
(self, bus, subscriber, snapshot)
tests/v1/mp_observability/subscribers/metrics/test_l2_failures.py:102
Methodtest_multi_model_in_one_event_buckets_separately
A single event with keys from multiple models should emit per-model increments.
tests/v1/mp_observability/subscribers/metrics/test_l1_failures.py:103
Methodtest_multi_page_object_workflow
Test store-lookup-load with an object spanning multiple pages.
tests/v1/distributed/test_nixl_store_l2_adapter.py:617
Methodtest_multi_path_parsing
Comma-separated paths are split into gds_paths list.
tests/v1/storage_backend/test_gds_backend.py:774
Methodtest_multi_path_parsing_with_spaces
Spaces around commas are stripped.
tests/v1/storage_backend/test_gds_backend.py:789
Methodtest_multi_path_selects_by_device_id
(self)
tests/v1/storage_backend/test_path_sharder.py:30
Methodtest_multi_reader_lifecycle_with_extra_count
Full lifecycle using extra_count (MLA TP>1 scenario). Simulates multiple workers sharing the same key: reserve_read(extra_count=N-1)
tests/v1/distributed/test_l1_manager.py:1566
Methodtest_multi_round_chat
(self)
tests/cli/commands/bench/engine_bench/workloads/test_create_workload.py:141
Methodtest_multi_round_chat
(self)
tests/cli/commands/bench/engine_bench/interactive/test_state.py:167
Methodtest_multi_round_chat_custom_args
(self)
tests/cli/commands/bench/engine_bench/workloads/test_create_workload.py:157
Methodtest_multiple_adapters_all_keys_to_each
All keys should be sent to every adapter.
tests/v1/distributed/test_store_policy.py:57
Methodtest_multiple_allocate_free_cycles
Test multiple allocate-free cycles.
tests/v1/distributed/test_l1_memory_manager.py:462
Methodtest_multiple_allocations
Test multiple sequential allocations.
tests/v1/test_address_manager.py:78
Methodtest_multiple_backends_fallback_and_partial_recovery
Test that original_hot_cache is preserved correctly when multiple backends fail and only some recover. Scenario: 1.
tests/v1/test_health_monitor_fallback_recovery.py:315
Methodtest_multiple_batch
Test batched_allocate with multiple blocks.
tests/v1/test_address_manager.py:161
Methodtest_multiple_callbacks_per_event_type
(self, bus)
tests/v1/mp_observability/test_event_bus.py:86
Methodtest_multiple_concurrent_requests_same_adapter
Each L1-write batch produces an independent in-flight store request. When two batches target the same adapter, the adapter's single e
tests/v1/distributed/test_store_controller.py:360
Methodtest_multiple_concurrent_sessions
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/tracing/test_cb_server.py:553
Methodtest_multiple_concurrent_sessions
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/tracing/test_mp_server.py:595
Methodtest_multiple_create_close_cycles
Create and close multiple notifiers without leaking.
tests/v1/test_event_notifier.py:133
Methodtest_multiple_decode_steps
Trace through multiple decode steps to verify consistency.
tests/v1/test_decode_save_and_preemption.py:198
Methodtest_multiple_ends_after_start
Test multiple end patterns after a start (should pick first).
tests/v1/native_storage_ops/test_pattern_matcher.py:647
Methodtest_multiple_enqueues
(self)
tests/cli/commands/bench/engine_bench/workloads/test_base_workload.py:85
Methodtest_multiple_entries
( self, config: LookupHashLogConfig, log_dir: Path, bus: EventBus, )
tests/v1/mp_observability/subscribers/logging/test_lookup_hash_logger.py:136
Methodtest_multiple_events_accumulate
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_l1.py:103
Methodtest_multiple_events_accumulate
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_cb_server.py:218
Methodtest_multiple_events_no_crash
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/logging/test_cb_server.py:189
Methodtest_multiple_events_no_crash
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/logging/test_mp_server.py:112
Methodtest_multiple_events_ordered
(self, stream)
tests/v1/mp_observability/test_event_recorder.py:94
Methodtest_multiple_failures_do_not_duplicate_fallback
Test that consecutive failures don't duplicate fallback actions.
tests/v1/test_health_monitor_fallback_recovery.py:290
Methodtest_multiple_fds_all_signaled
(self)
tests/v1/native_storage_ops/test_periodic_event_notifier.py:110
Methodtest_multiple_gpu_ops_all_must_finish
(self, bus, registry, subscriber)
tests/v1/mp_observability/subscribers/tracing/test_cb_server.py:321
Methodtest_multiple_groups
Test parsing multiple groups separated by semicolons.
tests/v1/test_kv_layer_groups_manager.py:214
Methodtest_multiple_groups
(self)
tests/v1/test_kv_layer_groups_manager.py:275
Methodtest_multiple_independent_locks
Test that multiple lock instances are independent.
tests/v1/native_storage_ops/test_ttl_lock.py:445
Methodtest_multiple_keys_mixed_evictability
Test evictability with multiple keys in different states.
tests/v1/distributed/test_l1_manager.py:1872
Methodtest_multiple_keys_mixed_results
Test with multiple keys where some succeed and some fail.
tests/v1/distributed/test_l1_manager.py:1137
Methodtest_multiple_keys_stored_to_l2
Multiple L1 writes should result in all keys in L2.
tests/v1/distributed/test_store_controller.py:296
Methodtest_multiple_listeners_all_notified
All registered listeners should receive the same store event.
tests/v1/distributed/test_mock_l2_adapter.py:877
Methodtest_multiple_locks_same_ttl_window
Test multiple locks within the same TTL window.
tests/v1/native_storage_ops/test_ttl_lock.py:409
Methodtest_multiple_log_messages
(self)
tests/cli/commands/bench/engine_bench/test_progress.py:77
Functiontest_multiple_lookup_operations
(stats_monitor)
tests/test_observability.py:161
Methodtest_multiple_lookups
Test multiple lookup requests.
tests/v1/lookup_client/test_lmcache_lookup_client.py:155
Methodtest_multiple_lookups_accumulate
Counters accumulate across multiple completed lookups.
tests/v1/mp_observability/subscribers/metrics/test_cb_server.py:359
Methodtest_multiple_lookups_accumulate
Counters should accumulate across multiple completed lookups.
tests/v1/mp_observability/subscribers/metrics/test_lookup.py:198
Methodtest_multiple_matchers_same_result
Test that multiple matcher instances produce the same result.
tests/v1/native_storage_ops/test_pattern_matcher.py:167
Methodtest_multiple_matchers_same_result
Test that multiple matcher instances produce the same result.
tests/v1/native_storage_ops/test_pattern_matcher.py:596
Methodtest_multiple_matches
Test when pattern appears multiple times.
tests/v1/native_storage_ops/test_pattern_matcher.py:78
Methodtest_multiple_notify_single_consume
Multiple notify() calls are coalesced by one consume().
tests/v1/test_event_notifier.py:53
Methodtest_multiple_object_groups
Each requested object group gets its own positional key list.
tests/v1/distributed/test_fs_l2_adapter_keys.py:201
← previousnext →11,201–11,300 of 13,371, ranked by callers