MCPcopy Create free account

hub / github.com/LMCache/LMCache / functions

Functions13,371 in github.com/LMCache/LMCache

Methodtest_multiple_objects_workflow
(self, adapter)
tests/v1/distributed/test_native_connector_l2_adapter.py:704
Methodtest_multiple_objects_workflow
Test workflow with multiple objects.
tests/v1/distributed/test_mock_l2_adapter.py:543
Methodtest_multiple_objects_workflow
Test workflow with multiple objects.
tests/v1/distributed/test_nixl_store_l2_adapter.py:656
Methodtest_multiple_paths_config
Test HF3fsConnector with multiple base paths. This test verifies that the connector can handle multiple base paths (comma-separate
tests/v1/storage_backend/test_hf3fs_connector.py:448
Methodtest_multiple_paths_config
Test FSConnector with multiple paths.
tests/v1/storage_backend/test_fs_connector.py:321
Functiontest_multiple_pools
Test that normal and affinity pools can coexist.
tests/v1/multiprocess/test_mq.py:817
Methodtest_multiple_prefetch_events_accumulate
(self, bus, subscriber, snapshot)
tests/v1/mp_observability/subscribers/metrics/test_l2.py:548
Methodtest_multiple_ranges
(self)
tests/test_utils.py:89
Methodtest_multiple_ranges
Test multiple ranges in the data.
tests/v1/native_storage_ops/test_pattern_matcher.py:451
Methodtest_multiple_readers
Test multiple readers can hold the lock simultaneously.
tests/v1/cache_controller/test_locks.py:39
Methodtest_multiple_results
(self)
tests/cli/commands/bench/engine_bench/test_stats.py:153
Functiontest_multiple_retrieve_operations
Test multiple retrieve operations: Store 8,8,8,8 keys and then retrieve 8,8,8,8 keys in sequence.
tests/v1/multiprocess/test_cache_server.py:623
Functiontest_multiple_salts
()
tests/v1/mp_coordinator/test_usage_manager.py:136
Functiontest_multiple_salts_independent
()
tests/v1/mp_coordinator/test_eviction_manager.py:191
Methodtest_multiple_store_events_accumulate
(self, bus, subscriber, snapshot)
tests/v1/mp_observability/subscribers/metrics/test_l2.py:513
Functiontest_multiple_store_operations
Test multiple store operations in sequence.
tests/v1/multiprocess/test_cache_server.py:710
Methodtest_multiple_store_tasks_get_unique_ids
(self, adapter)
tests/v1/distributed/test_native_connector_l2_adapter.py:462
Methodtest_multiple_stores_all_must_finish
(self, bus, registry, subscriber)
tests/v1/mp_observability/subscribers/tracing/test_mp_server.py:183
Methodtest_multiple_subscribers_same_event
(self, bus)
tests/v1/mp_observability/test_event_bus.py:205
Methodtest_multiple_tensors
(self)
tests/tools/test_cache_simulator.py:127
Methodtest_multiple_unique_ids
(self)
tests/v1/multiprocess/test_token_hasher.py:335
Methodtest_multiple_updates
(self)
tests/v1/multiprocess/test_token_hasher.py:272
Methodtest_multiple_writes_accumulate
Multiple on_l1_keys_write_finished calls should accumulate keys.
tests/v1/distributed/test_store_controller.py:212
Functiontest_munmap_no_op_on_zero_addr
()
tests/v1/multiprocess/test_posix_shm.py:76
Functiontest_musa_connector_from_gpu_uses_native_when_available
Connector skips torch gather when the native adapter completes.
tests/v1/test_musa_connector.py:409
Functiontest_musa_connector_rejects_unsupported_kv_layout
Unsupported MUSA KV layouts fail with a connector-level message.
tests/v1/test_musa_connector.py:202
Functiontest_musa_connector_roundtrip_layerwise
Round-trip batched_from_gpu -> batched_to_gpu on layerwise MUSA connector.
tests/v1/test_musa_connector.py:683
Functiontest_musa_connector_roundtrip_layerwise_multi_chunk
Layerwise multi-chunk round-trip on MUSA connector.
tests/v1/test_musa_connector.py:903
Functiontest_musa_connector_roundtrip_non_layerwise
Round-trip from_gpu -> to_gpu on the non-layerwise MUSA connector.
tests/v1/test_musa_connector.py:502
Functiontest_musa_connector_roundtrip_non_layerwise_multi_chunk
Non-layerwise multi-chunk round-trip on MUSA connector.
tests/v1/test_musa_connector.py:797
Functiontest_musa_connector_to_gpu_accepts_cpu_slot_mapping
Round-trip with CPU ``slot_mapping`` and MUSA KV cache tensors.
tests/v1/test_musa_connector.py:596
Functiontest_musa_connector_to_gpu_falls_back_when_native_declines
Connector keeps Stage1 torch behavior when native returns False.
tests/v1/test_musa_connector.py:330
Functiontest_musa_connector_to_gpu_skips_vllm_cached_prefix
``vllm_cached_tokens`` skips prefix slots before torch ``index_copy_``.
tests/v1/test_musa_connector.py:122
Functiontest_musa_connector_to_gpu_uses_native_when_available
Connector skips torch scatter when the native adapter completes.
tests/v1/test_musa_connector.py:267
Functiontest_musa_data_context_keeps_layout_validation_device_agnostic
MUSA MP data path must not put device layout gates in transfer context.
tests/v1/multiprocess/test_engine_driven_transfer.py:394
Functiontest_musa_data_context_retrieve_uses_device_agnostic_scatter
Stage3 retrieve keeps MUSA native details behind block-transfer entry.
tests/v1/multiprocess/test_engine_driven_transfer.py:510
Functiontest_musa_data_context_store_uses_device_agnostic_gather
Stage3 store keeps MUSA native details behind block-transfer entry.
tests/v1/multiprocess/test_engine_driven_transfer.py:438
Functiontest_musa_ops_block_transfer_entry_dispatches_to_musa_platform
MUSA ops backend hides native dispatch behind the c_ops-compatible API.
tests/v1/test_musa_native.py:414
Methodtest_mutual_exclusion
Test that lock provides mutual exclusion.
tests/v1/cache_controller/test_locks.py:300
Methodtest_name
(self, cmd: QueryCommand)
tests/cli/commands/test_query.py:45
Methodtest_name
(self, cmd)
tests/cli/commands/test_coordinator.py:30
Methodtest_name
(self, cmd)
tests/cli/commands/test_server.py:30
Methodtest_name
(self, cmd: BenchCommand)
tests/cli/commands/bench/test_server_bench.py:61
Methodtest_name_and_help
(self, cmd: QuotaCommand)
tests/cli/commands/test_quota.py:56
Methodtest_name_includes_url
(self, mock_backend)
tests/v1/test_health_monitor.py:244
Methodtest_nan_limit_is_400
``nan`` would propagate to ``int()`` below and raise a 500; reject it cleanly at parse time. Strict JSON doesn't allow ``NaN``, but P
tests/v1/multiprocess/test_http_quota_endpoints.py:110
Functiontest_native_block_gather_skips_native_when_disabled
Block-level native gather is not attempted when env opt-in is disabled.
tests/v1/test_musa_native.py:361
Functiontest_native_block_gather_uses_device_staging_for_cpu_out
Block-level native gather stages CPU output and expands slot IDs.
tests/v1/test_musa_native.py:252
Functiontest_native_block_scatter_uses_device_staging_for_cpu_chunks
Block-level native scatter must not pass CPU/SHM chunks directly.
tests/v1/test_musa_native.py:293
Functiontest_native_block_scatter_uses_whole_block_skip
Block-level native scatter receives skip offsets in whole-block tokens.
tests/v1/test_musa_native.py:327
Functiontest_native_block_transfer_rejects_unvalidated_layout
Unsupported MUSA layouts fall back below the device-layer entry.
tests/v1/test_musa_native.py:391
Methodtest_native_plugin_type_registered
native_plugin' config type should be registered.
tests/v1/distributed/test_l2_adapter_factory.py:854
Functiontest_native_transfer_disabled_by_default
Native MUSA transfer is opt-in so Stage1 behavior remains unchanged.
tests/v1/test_musa_native.py:48
Functiontest_native_transfer_enabled_by_env
The opt-in environment variable enables native dispatch attempts.
tests/v1/test_musa_native.py:83
Functiontest_native_transfer_module_lives_under_musa_platform
The native KV-transfer adapter belongs to the MUSA platform package.
tests/v1/test_musa_native.py:55
Methodtest_nb_nl_two_nh_bs_hs_exists
(self)
tests/v1/test_trtllm_integration.py:72
Methodtest_need_gpu_interm_buffer_returns_not_enable_pd
Test _need_gpu_interm_buffer returns opposite of enable_pd.
tests/v1/test_manager.py:336
Functiontest_negative_bytes_rejected
()
tests/v1/mp_coordinator/test_l2_api.py:206
Methodtest_negative_chunk_size
400 when chunk_size is negative.
tests/v1/multiprocess/test_http_server.py:173
Methodtest_negative_limit_is_400
(self, client)
tests/v1/multiprocess/test_http_quota_endpoints.py:104
Functiontest_negative_limit_rejected
()
tests/v1/mp_coordinator/test_l2_api.py:86
Functiontest_negative_num_chunks_raises
()
tests/v1/distributed/test_bitmap_ops.py:228
Methodtest_negative_numbers
Test with negative numbers in pattern and data.
tests/v1/native_storage_ops/test_pattern_matcher.py:188
Methodtest_negative_numbers
Test with negative numbers.
tests/v1/native_storage_ops/test_pattern_matcher.py:544
Methodtest_negative_object_group_id_rejected
(self)
tests/v1/distributed/test_fs_l2_adapter_keys.py:230
Functiontest_negative_skip_count_raises
A negative skip_count raises ValueError.
tests/v1/multiprocess/test_batched_iteration_with_skip.py:99
Methodtest_negative_step_stops_loop
(self)
tests/cli/commands/bench/engine_bench/workloads/test_base_workload.py:149
Functiontest_negative_store_raises
()
tests/v1/mp_coordinator/test_usage_manager.py:172
Methodtest_nested
(self)
tests/cli/test_describe.py:124
Methodtest_nested_brackets_error
(self)
tests/test_utils.py:156
Methodtest_nested_like_patterns
Test when a new start pattern appears before the first end.
tests/v1/native_storage_ops/test_pattern_matcher.py:618
Methodtest_nested_mixed_structures
(self)
tests/v1/test_json_utils.py:58
Methodtest_never_deletes
DefaultStorePolicy should never delete from L1.
tests/v1/distributed/test_store_policy.py:104
Methodtest_new_block_no_metrics_emitted
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_l0_lifecycle.py:116
Methodtest_nixl_cpu_mode_alignment_warning
When cpu_size_bytes is NOT a multiple of chunk_bytes, a warning is logged and the size is rounded down to the nearest chunk multiple.
tests/v1/storage_backend/test_local_cpu_backend_nixl_paged.py:160
Methodtest_nixl_cpu_mode_only_when_both_flags_set
NIXL CPU path activates only when BOTH enable_nixl_storage=True AND nixl_buffer_device='cpu'. If either flag is missing the default (
tests/v1/storage_backend/test_local_cpu_backend_nixl_paged.py:132
Methodtest_nixl_cpu_mode_raises_on_undersized_buffer
When cpu_size_bytes < chunk_bytes, initialize_allocator() must raise a ValueError instead of silently creating a zero-capacity allocator.
tests/v1/storage_backend/test_local_cpu_backend_nixl_paged.py:231
Methodtest_nixl_cpu_mode_returns_paged_pool
When enable_nixl_storage=True and nixl_buffer_device='cpu', LocalCPUBackend must expose a paged pool (registrable by NIXL).
tests/v1/storage_backend/test_local_cpu_backend_nixl_paged.py:67
Functiontest_nixl_endpoint_list_empty_raises
nixl_endpoint_list=[] should raise ValueError before any nixl ops.
tests/v1/test_nixl_storage.py:354
Functiontest_nixl_endpoint_list_malformed_url_raises
A non-http(s) entry in nixl_endpoint_list should raise ValueError.
tests/v1/test_nixl_storage.py:375
Functiontest_nixl_gds_cpu_backend
(nixl_tmp_path)
tests/v1/test_nixl_storage.py:338
Functiontest_nixl_gds_cuda_backend
(nixl_tmp_path)
tests/v1/test_nixl_storage.py:315
Functiontest_nixl_gds_mt_cpu_backend
(nixl_tmp_path)
tests/v1/test_nixl_storage.py:294
Functiontest_nixl_gds_mt_cuda_backend
(nixl_tmp_path)
tests/v1/test_nixl_storage.py:271
Functiontest_nixl_posix_backend
(nixl_tmp_path)
tests/v1/test_nixl_storage.py:448
Functiontest_nixl_posix_backend_multipath
Test NIXL backend with multipath support and path sharding.
tests/v1/test_nixl_storage.py:464
Functiontest_nixl_presence_cache_only_defaults_false
presence_cache_only defaults to False when the config key is absent.
tests/v1/test_nixl_storage.py:409
Functiontest_nixl_presence_cache_only_parsed
nixl_presence_cache_only=True is parsed onto NixlStorageConfig.
tests/v1/test_nixl_storage.py:422
Functiontest_nixl_presence_cache_only_requires_presence_cache
nixl_presence_cache_only=True without nixl_presence_cache raises ValueError.
tests/v1/test_nixl_storage.py:437
Functiontest_nixl_storage_backend_basic
Test basic NixlStorageBackend operations
tests/disagg/test_nixl_storage_backend.py:252
Functiontest_nixl_storage_backend_different_backends
Test NixlStorageBackend with different backend types
tests/disagg/test_nixl_storage_backend.py:375
Functiontest_nixl_storage_backend_put_get
Test put and get operations in NixlStorageBackend
tests/disagg/test_nixl_storage_backend.py:306
Functiontest_nixl_storage_config
Test NixlStorageConfig creation and validation
tests/disagg/test_nixl_storage_backend.py:101
Methodtest_no_adapter
Test endpoints when adapter is not available.
tests/v1/internal_api_server/test_kvcache_check_api.py:172
Methodtest_no_adapters
No adapters → 0 prefix hits immediately.
tests/v1/distributed/test_prefetch_controller.py:536
Methodtest_no_cache_contexts
501 when engine has no cache_contexts attribute.
tests/v1/multiprocess/test_http_server.py:142
Methodtest_no_cache_size_raises
(self, mock_fetch)
tests/cli/commands/bench/engine_bench/test_config.py:317
Methodtest_no_content_chunks
(self, mock_openai_cls)
tests/cli/commands/bench/engine_bench/test_request_sender.py:317
Methodtest_no_create_dirs_by_default
(self)
tests/v1/storage_backend/test_path_sharder.py:63
Methodtest_no_duplicates
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_permutator.py:204
← previousnext →11,301–11,400 of 13,371, ranked by callers