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_from_dict_minimal
(self)
tests/v1/distributed/test_native_connector_l2_adapter.py:843
Method
test_from_dict_minimal
(self)
tests/v1/distributed/test_native_connector_l2_adapter.py:955
Method
test_from_dict_minimal
Minimal dict with only mooncake keys should work.
tests/v1/distributed/test_mooncake_store_l2_adapter.py:141
Method
test_from_dict_missing_base_path_raises
(self)
tests/v1/distributed/test_native_connector_l2_adapter.py:995
Method
test_from_dict_missing_class_name_raises
(self)
tests/v1/distributed/test_native_connector_l2_adapter.py:898
Method
test_from_dict_missing_host_raises
(self)
tests/v1/distributed/test_native_connector_l2_adapter.py:810
Method
test_from_dict_missing_module_path_raises
(self)
tests/v1/distributed/test_native_connector_l2_adapter.py:884
Method
test_from_dict_missing_port_raises
(self)
tests/v1/distributed/test_native_connector_l2_adapter.py:819
Method
test_from_dict_parses_all_fields
(self)
tests/v1/distributed/test_hfbucket_l2_adapter.py:496
Method
test_from_dict_parses_all_fields
(self)
tests/v1/distributed/test_s3_l2_adapter.py:720
Method
test_from_dict_partial_per_op_workers
Partial per_op_workers is valid — unmentioned keys use shared pool.
tests/v1/distributed/test_mooncake_store_l2_adapter.py:297
Method
test_from_dict_rejects_string_boolean
(self)
tests/v1/distributed/test_hfbucket_l2_adapter.py:522
Method
test_from_dict_required_fields
(self)
tests/v1/distributed/test_aerospike_l2_adapter_config.py:20
Method
test_from_dict_requires_bucket_handle
(self)
tests/v1/distributed/test_hfbucket_l2_adapter.py:492
Method
test_from_dict_requires_endpoint_and_region
(self)
tests/v1/distributed/test_s3_l2_adapter.py:714
Method
test_from_dict_skips_none_values
Keys with None values should be excluded from setup_config.
tests/v1/distributed/test_mooncake_store_l2_adapter.py:253
Method
test_from_dict_strips_lmcache_only_keys
LMCache-only keys should not appear in setup_config.
tests/v1/distributed/test_mooncake_store_l2_adapter.py:219
Method
test_from_dict_tracks_dict_set_keys
Test that from_dict tracks keys set in dictionary.
tests/v1/test_config.py:622
Method
test_from_dict_with_config_class
(self)
examples/lmc_external_l2_adapter/tests/test_plugin.py:199
Method
test_from_dict_with_num_workers
num_workers should be parsed and excluded from setup_config.
tests/v1/distributed/test_mooncake_store_l2_adapter.py:164
Method
test_from_dict_with_per_op_workers
Per-operation worker counts should be parsed as a dict and excluded from setup_config.
tests/v1/distributed/test_mooncake_store_l2_adapter.py:177
Method
test_from_dict_zero_num_workers_raises
(self)
tests/v1/distributed/test_native_connector_l2_adapter.py:1028
Method
test_from_dict_zero_read_ahead_size_raises
( self, )
tests/v1/distributed/test_native_connector_l2_adapter.py:1092
Function
test_from_env
Test loading configuration from environment variables
tests/v1/cache_controller/test_config.py:28
Function
test_from_env_overrides_and_falls_back
()
tests/v1/mp_coordinator/test_config.py:27
Method
test_from_env_tracks_env_set_keys
Test that from_env tracks keys set via environment variables.
tests/v1/test_config.py:589
Function
test_from_file
Test loading configuration from YAML file
tests/v1/cache_controller/test_config.py:49
Method
test_from_file_tracks_file_set_keys
Test that from_file tracks keys set in config file.
tests/v1/test_config.py:616
Method
test_from_string_invalid
(self)
tests/test_utils.py:307
Method
test_from_string_invalid
(self)
tests/test_utils.py:481
Method
test_from_string_invalid_tag
(self)
tests/test_utils.py:485
Method
test_from_string_invalid_tag_format
(self)
tests/test_utils.py:311
Method
test_from_string_roundtrip
(self, basic_key)
tests/test_utils.py:297
Method
test_from_string_roundtrip
(self, layer_key)
tests/test_utils.py:462
Method
test_from_string_with_tags
(self)
tests/test_utils.py:467
Method
test_from_string_with_tags_roundtrip
(self, key_with_tags)
tests/test_utils.py:302
Method
test_frozen
(self)
tests/v1/distributed/test_l2_adapter_base.py:97
Function
test_fs_connector
Test FSConnector: exists, put, get, list, and file store with the following conditions: full_chunk: is the block full save_chunk_meta
tests/v1/test_connector.py:83
Method
test_fs_native_factory_registered
fs_native' factory should be callable via create_l2_adapter_from_registry (smoke test with RuntimeError from missing C++ ext).
tests/v1/distributed/test_l2_adapter_factory.py:1048
Method
test_fs_native_type_registered
fs_native' config type should be registered.
tests/v1/distributed/test_l2_adapter_factory.py:1034
Method
test_full_attention_only_is_contiguous_prefix
(self)
tests/v1/distributed/test_bitmap_ops.py:483
Method
test_full_attention_servable_is_downward_closed
(self)
tests/v1/distributed/test_bitmap_ops.py:296
Method
test_full_cycle_with_monitor_thread
Test fallback/recovery using the monitor thread.
tests/v1/test_health_monitor_fallback_recovery.py:256
Method
test_full_flow_worker_then_scheduler
Test the complete flow: 1. POST /lookup/recreate on worker (recreate server) 2. POST /lookup/recreate on scheduler (recreate
tests/v1/internal_api_server/test_lookup_api.py:278
Method
test_full_hit
All requested tokens are served by blend.
tests/v1/mp_observability/subscribers/metrics/test_cb_server.py:260
Method
test_full_hit
All requested tokens are found in L1+L2.
tests/v1/mp_observability/subscribers/metrics/test_lookup.py:112
Method
test_full_hit_both_equal
Full hit but vllm == lmcache: need_to_allocate goes negative, returns 0, so num_computed = vllm_cached = num_tokens. No adjustment.
tests/v1/test_decode_save_and_preemption.py:253
Method
test_full_hit_lmcache_dominant
Full hit + lmcache > vllm: get_num_new_matched_tokens subtracts 1, so num_computed = expected - 1.
tests/v1/test_decode_save_and_preemption.py:237
Method
test_full_mask
(self)
tests/v1/compute/attention/test_triton_kernels.py:281
Method
test_full_mask_matches_dense
With all blocks attended, should match dense attention.
tests/v1/compute/attention/test_triton_kernels.py:147
Method
test_full_miss
Nothing is cached; both counters still receive the denominator.
tests/v1/mp_observability/subscribers/metrics/test_lookup.py:154
Method
test_full_miss_still_records_denominator
Cold lookup: the request must still increment the denominator so the running hit rate properly reflects the miss.
tests/v1/mp_observability/subscribers/metrics/test_cb_server.py:308
Method
test_full_plus_sliding_window
(self)
tests/v1/distributed/test_bitmap_ops.py:341
Function
test_full_plus_sliding_window_worked_example
()
tests/v1/distributed/test_bitmap_ops.py:94
Method
test_full_prefetch_cycle_replay
(self, trace_path)
tests/cli/commands/trace/test_driver.py:164
Method
test_full_prefix_early_out
(self)
tests/v1/multiprocess/test_optimized_lookup_v3.py:700
Method
test_full_prefix_hit
All keys in L2 → all loaded, prefix hits = total keys.
tests/v1/distributed/test_prefetch_controller.py:248
Method
test_full_prefix_hit
Query == stored sequence verbatim → all chunks become prefix_hits.
tests/v1/multiprocess/test_optimized_lookup_v3.py:378
Method
test_full_range
(self)
tests/test_utils.py:228
Method
test_full_reuse
(self)
tests/v1/mp_coordinator/test_blend_directory.py:35
Method
test_full_run
(self)
tests/cli/commands/bench/engine_bench/workloads/test_random_prefill.py:245
Method
test_full_run
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_qa.py:370
Method
test_full_run
(self)
tests/cli/commands/bench/engine_bench/workloads/test_prefix_suffix_tuner.py:546
Method
test_full_run
(self)
tests/cli/commands/bench/engine_bench/workloads/test_multi_round_chat.py:473
Method
test_full_run_reproducible
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_permutator.py:519
Method
test_full_run_sends_all_permutations
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_permutator.py:499
Method
test_full_run_with_all_permutations
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_permutator.py:509
Method
test_full_sample_rate_tracks_all
(self, bus)
tests/v1/mp_observability/subscribers/metrics/test_l0_lifecycle.py:383
Method
test_full_state_ready
(self)
tests/cli/commands/bench/engine_bench/interactive/test_state.py:102
Method
test_full_store_lookup_load_workflow
End-to-end: store → lookup → load, verify data integrity.
tests/v1/distributed/test_resp_l2_adapter_integration.py:178
Method
test_full_store_lookup_load_workflow
End-to-end: store -> lookup -> load, verify data integrity.
tests/v1/distributed/test_mooncake_store_l2_adapter.py:687
Method
test_full_sync_start_clears_keys
Test sync start clears existing keys.
tests/v1/cache_controller/test_full_sync.py:231
Method
test_full_tp2_workflow
Simulate a full TP=2 workflow: 1. Worker 0 stores chunks 0, 1, 2 2. Worker 1 stores chunks 0, 1, 2 3. Scheduler looks
tests/v1/distributed/test_object_key_parallel.py:626
Method
test_full_write_read_cycle
Test full cycle: None -> write_locked -> ready -> read_locked -> ready.
tests/v1/distributed/test_l1_manager.py:1444
Method
test_full_write_read_with_unsafe_read
Test cycle with unsafe_read between reserve_read and finish_read.
tests/v1/distributed/test_l1_manager.py:1482
Method
test_func_bound_to_execute
``parse_args`` should bind ``func`` to the subcommand's execute.
tests/cli/commands/test_query.py:126
Method
test_func_bound_to_execute
parser.parse_args should bind func to ServerCommand.execute.
tests/cli/commands/test_server.py:117
Function
test_function_signature_parity
For every function that python_ops_fallback chose to implement, its signature must match c_ops exactly. When c_ops has real py::arg() names
tests/v1/test_c_ops_fallback_parity.py:240
Function
test_future_done_callback
()
tests/v1/multiprocess/test_affinity_pool.py:97
Function
test_future_exception
()
tests/v1/multiprocess/test_affinity_pool.py:85
Function
test_gap_tail_ratio_endpoints
ratio=0.0 drops the last chunk; ratio=1.0 drops the first.
tests/v1/distributed/test_fault_inject_l2_adapter.py:198
Function
test_gap_tail_ratio_position_and_scaling
A tail-ratio drops the chunk at round((1-ratio)*(n-1)); the absolute index is computed from the load batch, so it scales with length -- no con
tests/v1/distributed/test_fault_inject_l2_adapter.py:176
Function
test_garbage_env_heartbeat_rejected
(monkeypatch)
tests/v1/multiprocess/test_config.py:99
Method
test_gather_accepts_tuple
(self)
tests/v1/native_storage_ops/test_bitmap.py:444
Method
test_gather_all_set
(self)
tests/v1/native_storage_ops/test_bitmap.py:411
Method
test_gather_basic
(self)
tests/v1/native_storage_ops/test_bitmap.py:403
Method
test_gather_mixed_types
(self)
tests/v1/native_storage_ops/test_bitmap.py:423
Method
test_gather_none_set
(self)
tests/v1/native_storage_ops/test_bitmap.py:418
Function
test_gather_paged_kv_with_chunk_indices_subset
gather_paged_kv_to_cpu with chunk_indices only gathers the specified chunks. This tests the fix for the IndexError that occurred when SHM prepare
tests/v1/multiprocess/test_engine_driven_transfer.py:1264
Method
test_gather_preserves_order
(self, size)
tests/v1/native_storage_ops/test_bitmap.py:431
Function
test_gather_scatter_roundtrip_hnd_layout
Validate gather/scatter round-trip for HND vLLM KV layout.
tests/v1/multiprocess/test_engine_driven_transfer.py:680
Method
test_gather_single_element
(self)
tests/v1/native_storage_ops/test_bitmap.py:439
Method
test_gauge_grows_after_writes
(self, l1_manager)
tests/v1/distributed/test_l1_l2_state_metrics.py:189
Method
test_gauge_reports_zero_initially
(self, l1_manager)
tests/v1/distributed/test_l1_l2_state_metrics.py:184
Function
test_gds_backend_metadata
()
tests/v1/test_gds.py:28
Function
test_gds_backend_sanity
()
tests/v1/test_gds.py:55
Function
test_gds_chunk_larger_than_region_roundtrip
A chunk larger than the 16 MiB cuFile region cap round-trips correctly. Exercises the multi-region registration and the split (per-segment) DMA
tests/v1/gpu_connector/test_gds_context.py:263
Function
test_gds_l1_is_not_single_region
()
tests/v1/distributed/test_l1_single_region.py:39
Method
test_gds_path_sharding_default
Default gds_path_sharding is 'by_gpu' (backend inits OK).
tests/v1/storage_backend/test_gds_backend.py:991
Method
test_gds_path_sharding_explicit_by_gpu
Explicitly setting gds_path_sharding='by_gpu' works.
tests/v1/storage_backend/test_gds_backend.py:999
← previous
next →
10,301–10,400 of 13,371, ranked by callers