MCPcopy Create free account

hub / github.com/LMCache/LMCache / functions

Functions13,371 in github.com/LMCache/LMCache

Functiontest_resolve_extra_config_default_mp_transfer_mode_is_auto
Without override the resolved mp_transfer_mode must be ``auto``.
tests/v1/multiprocess/test_engine_driven_transfer.py:267
Functiontest_resolve_extra_config_overrides_mp_transfer_mode
``lmcache.mp.mp_transfer_mode`` override flows through unchanged.
tests/v1/multiprocess/test_engine_driven_transfer.py:279
Methodtest_resolve_fractional_floors
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_qa.py:89
Methodtest_resolve_fractional_floors
(self)
tests/cli/commands/bench/engine_bench/workloads/test_multi_round_chat.py:98
Functiontest_resolve_hfbucket_connector_config_uses_full_plugin_name
Instance-specific plugin config should be resolved from the full name.
tests/v1/storage_backend/test_hfbucket_connector.py:262
Methodtest_resolve_minimum_one
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_qa.py:98
Methodtest_resolve_minimum_one
(self)
tests/cli/commands/bench/engine_bench/workloads/test_multi_round_chat.py:108
Methodtest_resolve_minimum_one_prefix
(self)
tests/cli/commands/bench/engine_bench/workloads/test_prefix_suffix_tuner.py:124
Methodtest_resolve_passes_all_fields
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_qa.py:107
Methodtest_resolve_passes_all_fields
(self)
tests/cli/commands/bench/engine_bench/workloads/test_multi_round_chat.py:117
Methodtest_resolve_suffix_at_minimum
(self)
tests/cli/commands/bench/engine_bench/workloads/test_prefix_suffix_tuner.py:143
Methodtest_resolve_suffix_too_small
(self)
tests/cli/commands/bench/engine_bench/workloads/test_prefix_suffix_tuner.py:133
Methodtest_resolve_thrash_scales_pool_linearly
(self)
tests/cli/commands/bench/engine_bench/workloads/test_prefix_suffix_tuner.py:153
Functiontest_resp_connector_basic_operations
Test basic RESP operations: exists, put, get.
tests/v1/storage_backend/test_resp_connector.py:105
Functiontest_resp_connector_batch_operations
Test RESP batch operations: batch_put, batch_get, batch_exists.
tests/v1/storage_backend/test_resp_connector.py:161
Functiontest_resp_connector_concurrent_operations
Test that concurrent operations are handled correctly.
tests/v1/storage_backend/test_resp_connector.py:373
Functiontest_resp_connector_different_chunk_sizes
Test that different operations can use different chunk sizes.
tests/v1/storage_backend/test_resp_connector.py:227
Functiontest_resp_connector_nonexistent_key
Test getting a non-existent key returns None.
tests/v1/storage_backend/test_resp_connector.py:292
Functiontest_resp_connector_sequential_operations
Test multiple sequential put/get operations work correctly.
tests/v1/storage_backend/test_resp_connector.py:328
Functiontest_resp_connector_thread_scaling
Test RESP connector with different numbers of worker threads.
tests/v1/storage_backend/test_resp_connector.py:431
Methodtest_response_is_indented_json
Indented JSON renderer keeps the payload human-readable.
tests/v1/multiprocess/http_apis/test_conf_api.py:86
Methodtest_results_are_sorted
Test that matches are returned in sorted order.
tests/v1/native_storage_ops/test_pattern_matcher.py:364
Methodtest_results_sorted_multiple_matches
Test that results are sorted with multiple matches.
tests/v1/native_storage_ops/test_pattern_matcher.py:379
Methodtest_results_structure
Test results structure initialization
tests/tools/test_controller_zmq_benchmark.py:478
Methodtest_resyncs_against_first_registered_instance
(self)
tests/v1/mp_coordinator/test_resync_manager.py:227
Functiontest_retrieve_1GB_allhit
In this test, it will run engine.retrieve to retrieve 10GB data in total. The configs are carefully tuned to have: - Each request has 2K
tests/benchmarks/test_benchmark.py:228
Functiontest_retrieve_1GB_allhit
( benchmark, device_type, backend, use_gpu, save_unfull_chunk, create_config, auto
tests/benchmarks/test_xpu_layerwise_connector_benchmark.py:416
Functiontest_retrieve_1gb_allhit_v2
( benchmark, device_type, backend, use_gpu, save_unfull_chunk, create_config, auto
tests/benchmarks/test_xpu_connector_benchmark.py:306
Functiontest_retrieve_and_store_speed
(stats_monitor)
tests/test_observability.py:143
Methodtest_retrieve_end_logs
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/logging/test_cb_server.py:124
Methodtest_retrieve_end_logs
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/logging/test_mp_server.py:77
Methodtest_retrieve_end_via_bus_increments_counter
(self)
tests/v1/mp_observability/subscribers/metrics/test_engine.py:216
Methodtest_retrieve_failure_counted
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_cb_server.py:139
Functiontest_retrieve_keeps_event_until_future_finishes
Retrieve requests keep the exported CUDA event alive while pending.
tests/v1/test_vllm_mp_adapter.py:349
Functiontest_retrieve_partial_miss
Test retrieving when some keys exist and some don't. The retrieve should return ALL FALSE if any key is missing.
tests/v1/multiprocess/test_cache_server.py:558
Functiontest_retrieve_refreshes_lru_in_reverse_prefix_order
After a prefix retrieve, earliest chunks are MRU and suffix chunks LRU. ``retrieve_hidden_states`` collects hit keys during the prefix walk, then
tests/v1/test_hidden_state_store.py:177
Methodtest_retrieve_returns_empty_mask_when_init_failed
Test retrieve returns all-False mask when engine init failed.
tests/v1/test_manager.py:517
Functiontest_retrieve_reverse_lru_evicts_suffix_before_prefix
HS-only eviction after retrieve drops the suffix chunk, not the prefix.
tests/v1/test_hidden_state_store.py:199
Methodtest_retrieve_span_deregistered_after_close
Registry entry is cleaned up when mp.retrieve ends so stale contexts do not leak into subsequent requests.
tests/v1/mp_observability/subscribers/tracing/test_mp_server.py:483
Methodtest_retrieve_span_lifecycle
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/tracing/test_cb_server.py:454
Methodtest_retrieve_span_lifecycle
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/tracing/test_mp_server.py:529
Methodtest_retrieve_span_registered_in_registry_while_open
An open mp.retrieve span is accessible in the registry under ``span_name="retrieve"`` so that a future sub-span subscriber can look it
tests/v1/mp_observability/subscribers/tracing/test_mp_server.py:465
Methodtest_retrieve_start_logs
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/logging/test_cb_server.py:112
Methodtest_retrieve_start_logs
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/logging/test_mp_server.py:65
Methodtest_retrieve_success
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_cb_server.py:120
Functiontest_retrieve_without_bound_sm_returns_full_prefix
()
tests/v1/test_hidden_state_store.py:331
Methodtest_returned_list_is_independent_of_internal_state
(self)
tests/v1/distributed/test_storage_manager_l2_keys.py:109
Methodtest_returns_32_char_lowercase_hex
(self)
tests/v1/test_nixl_doca_memos.py:62
Methodtest_returns_503_when_configs_missing
/conf returns 503 if app.state.configs is absent.
tests/v1/multiprocess/http_apis/test_conf_api.py:78
Methodtest_returns_all_adapters_in_configuration_order
(self)
tests/v1/distributed/test_storage_manager_l2_keys.py:57
Methodtest_returns_all_false
Default policy marks all keys as temporary.
tests/v1/distributed/test_prefetch_policy.py:227
Methodtest_returns_all_true
Retain policy marks all keys as permanent.
tests/v1/distributed/test_prefetch_policy.py:264
Methodtest_returns_copies_not_references
Returned lists should be independent copies of the input.
tests/v1/distributed/test_store_policy.py:88
Methodtest_returns_correct_size
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_permutator.py:122
Methodtest_returns_distinct_gds_objects
(self)
tests/v1/distributed/memory_manager/test_gds_l1_memory_manager.py:31
Methodtest_returns_first_model_id
(self, mock_openai_cls)
tests/cli/commands/bench/engine_bench/test_config.py:99
Methodtest_returns_negative_when_all_done
(self)
tests/cli/commands/bench/engine_bench/workloads/test_random_prefill.py:207
Methodtest_returns_only_block_aligned_cur_st
Every match has cur_st divisible by BLOCK_SIZE.
tests/v1/multiprocess/test_optimized_lookup_v3.py:611
Methodtest_returns_sorted
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_permutator.py:140
Methodtest_returns_string
(self)
tests/v1/mp_observability/subscribers/logging/test_lookup_hash_logger.py:46
Functiontest_returns_tuples_not_lists
Each yielded batch is a tuple, mirroring batched_iteration.
tests/v1/multiprocess/test_batched_iteration_with_skip.py:107
Methodtest_returns_zero_when_no_instance_within_max_wait
(self)
tests/v1/mp_coordinator/test_resync_manager.py:206
Methodtest_reuse_gap_after_release_and_reuse
Proper release→reuse cycle should record reuse gaps on eviction.
tests/v1/mp_observability/subscribers/metrics/test_l0_lifecycle.py:336
Methodtest_rewrite_after_eviction_records_gap
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_l1_lifecycle.py:186
Methodtest_rewrite_clears_evicted_at
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_l1_lifecycle.py:210
Methodtest_rewrite_records_reuse_gap
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_l1_lifecycle.py:157
Methodtest_rolling_state_across_calls
Simulates the lookup then store flow: lookup hashes all, store hashes a subrange. The rolling state from lookup should be reused.
tests/v1/multiprocess/test_session.py:85
Methodtest_root
GET / returns ok.
tests/v1/multiprocess/test_http_server.py:256
Methodtest_root_endpoint_registered
The ``/`` endpoint from root_api is reachable.
tests/v1/multiprocess/test_http_api_registry.py:183
Methodtest_root_span_created_on_request_start
(self, bus, registry, subscriber)
tests/v1/mp_observability/subscribers/tracing/test_cb_server.py:67
Methodtest_root_span_created_on_request_start
(self, bus, registry, subscriber)
tests/v1/mp_observability/subscribers/tracing/test_mp_server.py:62
Functiontest_rope
()
tests/v1/test_pos_kernels.py:25
Methodtest_round_trip
(self)
tests/cli/commands/bench/engine_bench/interactive/test_state.py:258
Methodtest_round_trip
(self)
tests/v1/mp_coordinator/test_blend_directory.py:235
Methodtest_round_trip_normalizes_whitespace
format() always produces the canonical (whitespace-free) form.
tests/v1/test_kv_layer_groups_manager.py:285
Methodtest_round_trip_object_key
(self)
tests/v1/distributed/test_encoded_object_key.py:45
Methodtest_roundtrip
Compress then decompress should return original.
tests/test_utils.py:128
Methodtest_roundtrip
(self, model_name: str, cache_salt: str, object_group_id: int)
tests/v1/distributed/test_fs_l2_adapter_keys.py:36
Methodtest_roundtrip
(self)
tests/v1/mp_observability/trace/test_codecs.py:48
Methodtest_roundtrip
(self)
tests/v1/mp_observability/trace/test_codecs.py:73
Methodtest_roundtrip
(self)
tests/v1/mp_observability/trace/test_codecs.py:83
Methodtest_roundtrip
(self)
tests/v1/mp_observability/trace/test_codecs.py:97
Methodtest_roundtrip
(self)
tests/v1/mp_observability/trace/test_codecs.py:103
Functiontest_roundtrip_bfloat16_preserves_structure
Values survive fp8 round-trip with high correlation.
tests/v1/distributed/serde/test_fp8.py:64
Methodtest_roundtrip_cache_engine_key_with_tags
Test that CacheEngineKey with tags serialization round-trips correctly.
tests/test_utils.py:621
Methodtest_roundtrip_cache_engine_key_without_tags
Test that CacheEngineKey serialization round-trips correctly.
tests/test_utils.py:601
Methodtest_roundtrip_layer_cache_engine_key_with_tags
Test that LayerCacheEngineKey with tags serialization round-trips correctly.
tests/test_utils.py:665
Methodtest_roundtrip_layer_cache_engine_key_without_tags
Test that LayerCacheEngineKey serialization round-trips correctly.
tests/test_utils.py:644
Methodtest_roundtrip_set_test_all_positions
(self, size)
tests/v1/native_storage_ops/test_bitmap.py:595
Methodtest_roundtrip_single_key
(self, adapter: HFBucketL2Adapter)
tests/v1/distributed/test_hfbucket_l2_adapter.py:262
Methodtest_roundtrip_single_key
(self, adapter)
tests/v1/distributed/test_s3_l2_adapter.py:463
Methodtest_rp_condition
(self)
tests/cli/commands/bench/engine_bench/interactive/test_schema.py:108
Methodtest_run_all_checks
(self, monitor, checks, expected)
tests/v1/test_health_monitor.py:158
Methodtest_run_all_checks_irrecoverable_before_other_checks
Test that IrrecoverableException stops further checks.
tests/v1/test_health_monitor.py:287
Methodtest_run_all_checks_propagates_irrecoverable_exception
Test that _run_all_checks propagates IrrecoverableException.
tests/v1/test_health_monitor.py:281
Methodtest_run_calls_stats_reset
(self)
tests/cli/commands/bench/engine_bench/workloads/test_base_workload.py:123
Methodtest_run_calls_step
(self)
tests/cli/commands/bench/engine_bench/workloads/test_base_workload.py:128
Methodtest_run_calls_warmup
(self)
tests/cli/commands/bench/engine_bench/workloads/test_base_workload.py:118
Methodtest_run_drains_queue_after_warmup
(self)
tests/cli/commands/bench/engine_bench/workloads/test_base_workload.py:134
Methodtest_run_loop_stops_immediately_on_irrecoverable
Test that the monitor stops checking after IrrecoverableException.
tests/v1/test_health_monitor.py:315
← previousnext →12,201–12,300 of 13,371, ranked by callers