MCPcopy Create free account

hub / github.com/LMCache/LMCache / functions

Functions13,371 in github.com/LMCache/LMCache

Functiontest_bench_cdf_sycl
(benchmark, xops, ntokens)
tests/benchmarks/test_xpu_kernels_microbench.py:44
Functiontest_bench_decode_sycl
(benchmark, xops, ntokens)
tests/benchmarks/test_xpu_kernels_microbench.py:126
Functiontest_bench_encode_fallback
(benchmark, xops, ntokens)
tests/benchmarks/test_xpu_kernels_microbench.py:107
Functiontest_bench_encode_sycl
(benchmark, xops, ntokens)
tests/benchmarks/test_xpu_kernels_microbench.py:91
Methodtest_bench_engine_wiring
End-to-end orchestrator test with mocked OpenAI client.
tests/cli/commands/bench/test_bench_command.py:542
Methodtest_bench_in_all_commands
(self)
tests/cli/commands/bench/test_bench_command.py:138
Functiontest_bench_rope_sycl
(benchmark, xops, ntokens)
tests/benchmarks/test_xpu_kernels_microbench.py:155
Methodtest_benchmark_setup_and_cleanup
Test benchmark setup and cleanup
tests/tools/test_controller_zmq_benchmark.py:442
Methodtest_bfloat16_does_not_crash
(self)
tests/v1/multiprocess/test_compute_mp_checksums.py:116
Methodtest_bfloat16_layout
bf16: 2 bytes/elem KV -> 1 byte/elem fp8. Buffer = 1.5 * numel.
tests/v1/distributed/serde/test_serde_e2e.py:501
Methodtest_bigtable_config_defaults
Verify that Bigtable configuration defaults are consistent.
tests/v1/storage_backend/test_bigtable_connector.py:953
Functiontest_blend_drop_instance_state_drops_rope_state
drop_instance_state pops the reaped instance's CB rope state. The GPU context is no longer mirrored in BlendV3Module (reaping the GPU entry f
tests/v1/multiprocess/test_worker_liveness.py:275
Methodtest_blend_overrides_applied
blend_chunk_size/blend_probe_stride flags override the config.
tests/cli/commands/test_coordinator.py:76
Methodtest_block_allocation_not_delivered_to_other_subscriber
Verify block allocation events are not delivered to unrelated subscribers.
tests/v1/mp_observability/test_event_bus.py:498
Functiontest_block_allocation_record_list_serialization
Test encoding and decoding of a list of BlockAllocationRecord.
tests/v1/multiprocess/test_custom_types.py:262
Functiontest_block_allocation_record_serialization
Test encoding and decoding of BlockAllocationRecord using msgspec.
tests/v1/multiprocess/test_custom_types.py:246
Methodtest_block_id_ranges_in_response
Response includes compressed block_id_ranges.
tests/v1/multiprocess/test_http_server.py:216
Methodtest_block_ids_basic
block_ids with explicit block_size + block-level chunk_size.
tests/v1/multiprocess/test_http_server.py:231
Methodtest_block_ids_invalid_format
400 when block_ids cannot be parsed.
tests/v1/multiprocess/test_http_server.py:241
Functiontest_block_transfer_roundtrip
D2H -> H2D roundtrip with different block IDs proves data flows through memory objects.
tests/v1/test_mp_mem_kernels.py:281
Functiontest_block_transfer_skip_prefix
Verify skip_prefix_n_blocks=4 skips the first 4 blocks globally.
tests/v1/test_mp_mem_kernels.py:381
Methodtest_bloom_filter_operations
(self)
tests/v1/lookup_client/test_chunk_statistics_lookup_client.py:98
Methodtest_both_equal_zero
Edge case: brand new request, both are 0.
tests/v1/test_decode_save_and_preemption.py:186
Methodtest_both_fds_closed
close() releases both read and write fds.
tests/v1/test_event_notifier.py:94
Methodtest_both_inf_no_nan
When both LSEs are -inf, output should be zero (not NaN).
tests/v1/compute/attention/test_triton_kernels.py:245
Methodtest_both_role_accepted
PDConfig accepts 'both' as a valid role.
tests/v1/storage_backend/test_pd_backend_bidirectional.py:34
Functiontest_boundary_alloc
(alloc_cls)
tests/v1/test_memory_management.py:223
Methodtest_breaker_differs_per_request
(self)
tests/cli/commands/bench/engine_bench/workloads/test_prefix_suffix_tuner.py:375
Methodtest_bucket_path_uses_prefix_and_encoding
(self)
tests/v1/distributed/test_hfbucket_l2_adapter.py:244
Methodtest_buffer_backed_store_lookup_load
Store and load RDMA-preregistered objects backed by an explicit L1 buffer.
tests/v1/distributed/test_mooncake_store_l2_adapter.py:926
Methodtest_buffer_only_multiple_keys
Multiple keys should all flow to L2 and be removed from L1.
tests/v1/distributed/test_store_controller.py:693
Functiontest_buffer_size_unaligned_to_aligned
Test that PD buffer size is rounded down to the nearest chunk multiple. Args: mock_allocator_cls: Mocked paged allocator class injec
tests/v1/storage_backend/test_pd_backend_buffer_alignment.py:32
Methodtest_buffers_non_overlapping
Every (batch, kernel_group) buffer occupies disjoint memory.
tests/v1/platform/test_gpu_cache_context.py:255
Functiontest_build_argv_accepts_http_config_alias
``MPRuntimePluginLauncher`` passes the http config under the key ``http_config`` (see ``http_server.py``). Ensure we accept both ``http_config
tests/lmcache_frontend/lmcache_mp_plugin/test_lmcache_mp_frontend_plugin.py:90
Functiontest_build_argv_prefers_socket_path_when_set
()
tests/lmcache_frontend/lmcache_mp_plugin/test_lmcache_mp_frontend_plugin.py:75
Functiontest_build_argv_rewrites_wildcard_host
()
tests/lmcache_frontend/lmcache_mp_plugin/test_lmcache_mp_frontend_plugin.py:62
Functiontest_build_argv_with_empty_config_has_defaults
()
tests/lmcache_frontend/lmcache_mp_plugin/test_lmcache_mp_frontend_plugin.py:107
Functiontest_build_argv_with_tcp_http_config
()
tests/lmcache_frontend/lmcache_mp_plugin/test_lmcache_mp_frontend_plugin.py:28
Methodtest_build_different_dtypes
(self)
tests/v1/test_kv_layer_groups_manager.py:148
Methodtest_build_different_shapes
(self)
tests/v1/test_kv_layer_groups_manager.py:134
Methodtest_build_empty
(self)
tests/v1/test_kv_layer_groups_manager.py:55
Functiontest_build_global_segments_are_retrievable_cbmatchresults
Coordinator object_key hex round-trips to the hash the retrieve path resolves via ipc_key_to_object_keys; positions span one chunk.
tests/v1/multiprocess/test_blend_v3_load_store_opts.py:369
Methodtest_build_messages_no_history
(self)
tests/cli/commands/bench/engine_bench/workloads/test_multi_round_chat.py:154
Methodtest_build_messages_with_exchanges
(self)
tests/cli/commands/bench/engine_bench/workloads/test_multi_round_chat.py:180
Methodtest_build_messages_with_history
(self)
tests/cli/commands/bench/engine_bench/workloads/test_multi_round_chat.py:165
Methodtest_build_mixed_differences
(self)
tests/v1/test_kv_layer_groups_manager.py:162
Methodtest_build_multiple_layers_same_shape
(self)
tests/v1/test_kv_layer_groups_manager.py:75
Methodtest_build_operation_distribution
Test operation distribution building
tests/tools/test_controller_zmq_benchmark.py:382
Methodtest_build_rejects_bad_engine_group_infos
(self)
tests/v1/test_kv_layer_groups_manager.py:108
Methodtest_build_rejects_coarse_engine_group_infos
(self)
tests/v1/test_kv_layer_groups_manager.py:119
Methodtest_build_single_layer
(self)
tests/v1/test_kv_layer_groups_manager.py:59
Methodtest_build_splits_same_shape_by_engine_group_idx
(self)
tests/v1/test_kv_layer_groups_manager.py:88
Functiontest_builder
(autorelease_v1)
tests/v1/test_cache_engine.py:1352
Functiontest_builder_destroy
Test the destroy method of LMCacheEngineBuilder
tests/v1/test_cache_engine.py:1457
Functiontest_builder_destroy_multiple_instances
Test destroying one instance doesn't affect others
tests/v1/test_cache_engine.py:1509
Methodtest_bus_stop_closes_recorder
``EventBus.stop()`` alone must flush, fsync, and close the recorder — without an explicit ``close()`` call. Regression guard for the
tests/v1/mp_observability/trace/test_recorder.py:272
Methodtest_byte_array_dangling_after_free
byte_array memoryview sees new allocation's data after slot reuse.
tests/v1/test_staging_buffer.py:22
Methodtest_bytes_buffer_memory_obj_set_used_size_is_noop
``BytesBufferMemoryObj`` does not distinguish "used" from "allocated"; ``set_used_size`` is the base-class no-op so the size stays the
tests/v1/test_memory_management.py:1114
Methodtest_bytes_by_cache_salt_default_empty
(self)
tests/v1/distributed/test_l2_adapter_base.py:93
Methodtest_bytes_by_cache_salt_populated_from_cache_salt
End-to-end: storing keys with different ``cache_salt`` values should drive the byte buckets in ``AdapterUsage`` — proves the salt actu
tests/v1/distributed/test_mock_l2_adapter.py:741
Methodtest_cache_clear_adapter_attribute_error
Test cache clear when adapter doesn't have lmcache_engine attribute.
tests/v1/internal_api_server/test_cache_clear.py:121
Methodtest_cache_clear_engine_exception
Test cache clear when engine raises an exception.
tests/v1/internal_api_server/test_cache_clear.py:89
Methodtest_cache_clear_negative_return_value
Test cache clear when engine returns negative value (edge case).
tests/v1/internal_api_server/test_cache_clear.py:105
Methodtest_cache_clear_success
Test successful cache clear operation.
tests/v1/internal_api_server/test_cache_clear.py:38
Methodtest_cache_clear_with_locations
Test cache clear with specific locations.
tests/v1/internal_api_server/test_cache_clear.py:61
Functiontest_cache_contexts_returns_none_in_engine_driven_mode
()
tests/v1/multiprocess/test_engine_passthroughs.py:41
Functiontest_cache_contexts_unwraps_entries_from_gpu_transfer_module
()
tests/v1/multiprocess/test_engine_passthroughs.py:28
Methodtest_cache_hit
When the helper finds the key in the presence cache, return True.
tests/v1/test_nixl_batched_contains.py:130
Methodtest_cache_query_request_serialization
CacheQueryRequest can be serialized and deserialized.
tests/v1/storage_backend/test_pd_backend_bidirectional.py:131
Methodtest_cache_query_response_serialization
CacheQueryResponse can be serialized and deserialized.
tests/v1/storage_backend/test_pd_backend_bidirectional.py:142
Methodtest_cache_query_returns_cached_keys
_cache_query_loop returns correct cached keys and indexes.
tests/v1/storage_backend/test_pd_backend_bidirectional.py:398
Methodtest_cache_salt_appended
(self)
tests/v1/distributed/test_hfbucket_l2_adapter.py:228
Methodtest_cache_salt_appended
A non-empty cache_salt must be included in the S3 object name so two users with the same model/rank/chunk map to distinct objects.
tests/v1/distributed/test_s3_l2_adapter.py:423
Methodtest_cache_salt_bucket_dropped_when_zero
Per-``cache_salt`` bookkeeping should not retain stale ``0`` entries — it keeps the snapshot compact and avoids memory growth across m
tests/v1/distributed/test_l2_adapter_base.py:152
Methodtest_cache_salt_isolates_chunk_identity
Same chunk_hash under different cache_salts = different keys.
tests/v1/mp_observability/subscribers/metrics/test_sm_lifecycle.py:254
Methodtest_cache_salt_isolates_counter
Per-salt counter: t-x accesses don't bump t-y's gap.
tests/v1/mp_observability/subscribers/metrics/test_sm_lifecycle.py:230
Methodtest_cache_size_per_token
(self)
tests/v1/platform/test_gpu_cache_context.py:398
Methodtest_cache_size_per_token_compressed
Compression halves per-physical-slot bytes, so the per-logical-token size of a 2x-compressed group is half its uncompressed counterpart.
tests/v1/platform/test_gpu_cache_context.py:412
Functiontest_cachegen_decoder
(chunk_size)
tests/test_serde.py:89
Functiontest_cachegen_decoder_bench
(benchmark, chunk_size)
tests/benchmarks/test_cachegen.py:79
Functiontest_cachegen_encoder
(chunk_size)
tests/test_serde.py:49
Functiontest_cachegen_encoder_bench
(benchmark, chunk_size)
tests/benchmarks/test_cachegen.py:62
Functiontest_cachegen_unmatched_size
()
tests/test_serde.py:115
Methodtest_calculate_draft_layers_deepseek_mtp
Test returns correct layers for deepseek_mtp method.
tests/v1/test_manager.py:390
Methodtest_calculate_draft_layers_no_speculative_config
Test returns 0 when no speculative_config.
tests/v1/test_manager.py:380
Methodtest_calculate_num_blocks_compressed
(self)
tests/v1/test_kv_layer_groups_manager.py:536
Methodtest_calculate_num_blocks_matches_manager
(self)
tests/v1/platform/test_gpu_cache_context.py:481
Methodtest_calculate_num_blocks_uncompressed
(self)
tests/v1/test_kv_layer_groups_manager.py:501
Methodtest_calculate_num_blocks_uncompressed
(self)
tests/v1/platform/test_gpu_cache_context.py:476
Methodtest_callback_invoked_on_failure
(self, temp_pkg: Tuple[str, Path])
tests/v1/test_subclass_discovery.py:250
Methodtest_callback_invokes_func
The OTel callback delegates to the user-provided func.
tests/v1/mp_observability/test_register_gauge.py:49
Methodtest_callbacks_called_on_failure
(self, mock_openai_cls)
tests/cli/commands/bench/engine_bench/test_request_sender.py:371
Methodtest_callbacks_called_on_success
(self, mock_openai_cls)
tests/cli/commands/bench/engine_bench/test_request_sender.py:337
Functiontest_calls_storage_manager_without_timeout_and_without_accepted_response
()
tests/v1/multiprocess/http_apis/test_reconfigure_api.py:81
Methodtest_can_exit_freeze
Test freeze exit check.
tests/v1/cache_controller/test_full_sync.py:167
Methodtest_can_unsafe_read_after_transition
Test that unsafe_read works on the transitioned key.
tests/v1/distributed/test_l1_manager.py:1169
Methodtest_capacity_one
(self)
tests/tools/test_cache_simulator.py:59
Methodtest_capped_at_requested
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_permutator.py:195
Methodtest_capture_filter
(self)
tests/v1/mp_observability/trace/test_decorator.py:105
Methodtest_carries_model_name_and_cache_salt
(self, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_engine.py:131
← previousnext →9,201–9,300 of 13,371, ranked by callers