The repeated-request hang reproduced on g0034 after the cached-prefix request created both MLA and index async prefetchers with prefix_lens=[40320] and extend_lens=[65]. The existing one-page default only blocked sub-page suffixes, so a barely-over-one-page suffix still entered the next-layer collective path before any later forward progress was logged. Raise the default async prefetch extend gate to one page per CP lane while keeping the env override. This only gates async prefetcher object creation; target partial-current reuse still uses the synchronous page-slot compose/current-splice path when no prefetcher exists. Constraint: cp_size=8,page_size=64 repeated prompt had extend_len=65 and hung immediately after has_mla=True has_index=True create_result logs Rejected: Disable partial-current reuse for short extends | that would lose the cache-hit benefit and regress current/full reuse Rejected: Disable all async prefetch by default | broader performance impact than the observed tiny-suffix failure Confidence: medium Scope-risk: moderate Directive: Do not lower the default below one page per CP lane without ETE proof that repeated cache-hit tiny suffixes no longer hang Tested: Remote g0034 container py_compile for touched runtime/prefetch/test files; targeted C22 tests passed 2 tests plus 2 subtests; full test_cp_shared_kv_runtime.py passed 73 tests plus 2 subtests Not-tested: Full multi-node ETE repeated-request run after this threshold change
Registered Tests
Tests under this directory are auto-discovered by run_suite.py via CI registration decorators.
Where Should I Put My New Test?
No server / engine launch required
| What you're testing | Directory | Requires |
|---|---|---|
| Component logic in isolation (cache, scheduler, config, parser, etc.) | unit/<module>/ |
CPU or GPU |
| CUDA kernel correctness | kernels/ |
GPU |
Server / engine launch required (E2E)
| What you're testing | Directory | Requires |
|---|---|---|
| Model inference correctness | models/, 4-gpu-models/, 8-gpu-models/ |
GPU |
| Feature-specific (OpenAI API, LoRA, speculative, distributed, VLM, etc.) | openai_server/, lora/, spec/, distributed/, ... |
GPU |
| Benchmarks (performance, accuracy, stress) | benchmark/ |
GPU |
| Platform-specific | amd/, ascend/ |
Vendor GPU |
See unit/README.md for unit test conventions.