| P0 | FlashInfer sparse prefill kernel selection | Current sparse standard-attention path already uses FlashInfer paged prefill; stage2 remains a real hotspot. | Force low-register / alternate FlashInfer prefill variants on the exact SALA page-table shape, no semantic change. | Bitwise or BF16-noise output match, same sparse indices, ≥1% stable wall gain on prefill_bench_smax64.py, nsys attribution to stage2. | Wrapper chooses high-reg variant for a reason; lower occupancy variant loses math throughput or spills elsewhere. |
| P0 | Chunked context size sweep | Current chunked-prefill-size=8192; TensorRT-LLM docs confirm chunking is a first-class way to trade memory, utilization, and first-token latency. | A/B/A sweep 4096/8192/12288/16384, same prompts, max output token count minimal. | Same answers/logit sanity, peak VRAM below platform limit, trimmed mean wall improvement with clock filtering. | Larger chunks improve GPU work but hurt memory, tail behavior, or host scheduling; smaller chunks increase per-chunk overhead. |
| P0 | FlashQLA/TFLA compatibility probe for GLA | SALA has GLA/Lightning path; local profile shows GLA qkv + chunk kernel is material. FlashQLA claims 2-3x over FLA for GDN chunked prefill on Hopper-class shapes. | Shape/API audit first: prove SALA recurrence equals FlashQLA/TFLA supported recurrence. If yes, microbench only one layer shape before integration. | final_state and output match current FLA path within tight BF16 tolerance across full chunk and tail chunk; isolated kernel gain must translate to ≥1% full prefill. | Qwen GDN is not SALA GLA; gate/beta/state semantics differ; SM120/TileLang path may compile but underperform. |
| P0 | NVFP4 MLP/GEMM prefill tactics | NVFP4 GEMM is already a top prefill GPU cost. Current docs say large-M FP4 is near scaled peak, so only shape-specific wins count. | Per-shape tactic sweep for gate_up, down, gla_qkv, qkv/o; test cutlass/cudnn/auto only where numerically clean. | FP4 reference diff clean, no tail-shape corruption, ≥1% end-to-end prefill gain after startup prewarm. | Already near hardware limit; cuDNN tail shapes can be numerically bad; global backend switch regresses MLP. |
| P1 | XAttention scorer as stage1 replacement | XAttention’s antidiagonal scoring is relevant because SALA already needs sparse block selection. It should be tested as a scorer, not as a whole new attention stack. | Offline compare XAttention block ranking vs current InfLLM-v2 stage1 top-k on real SALA long prompts. | Top-k overlap, hidden/logit drift, and task accuracy must pass before any speed number matters. Speed proof must include scorer overhead. | Proxy ranking misses SALA’s existing selected blocks; speedup vanishes because current bottleneck is not just scoring. |
| P1 | UniPrefill block-wise dynamic sparsification | Interesting because it explicitly targets hybrid architectures and continuous batching, unlike pure sparse-attention papers. | Read paper/code, then build an offline oracle that skips or compresses token blocks only in prefill and measures final-logit impact. | Must show controllable accuracy curve at several sparsity levels and at least a theoretical wall-time model tied to SALA hotspots. | If it skips rows/tokens, it may break long-context retrieval and final-token dependence; scheduler integration may dominate. |
| P2 | MInference pattern taxonomy | MInference is strong for full-attention long-context models, but SALA already has model-specific sparse attention. | Use its A-shape / vertical-slash / block-sparse taxonomy only to classify SALA attention heads and compare with existing block selections. | Must beat current sparse block selection at equal retained KV blocks, not a dense baseline. | Patterns learned on Transformer full attention do not transfer to SALA’s hybrid layers or existing sparse metadata. |
| P2 | SeerAttention gates | Trainable block gates may outperform heuristics, but it adds training and kernel integration. | Freeze target model, train only gates by self-distillation on SALA calibration prompts, evaluate sparse block masks offline. | Gate overhead < saved attention work; accuracy retained on long-context tasks; no change to base weights. | Gate training overfits calibration; gate compute/metadata overhead eats savings; custom kernel not compatible with current page layout. |
| P3 | FlexPrefill dynamic budget | Dynamic sparse budget is attractive, but SALA docs already warn that reducing candidates/top-k is not acceptable without proof. | Treat as diagnostic only: produce budget-vs-accuracy curves per layer/head on real prompts. | Must preserve answer quality and show speedup after index-selection overhead. | Cumulative-attention thresholds change selected evidence; “average accuracy” hides bad long-context failures. |
| P4 | NSA | NSA is a natively trained architecture, not a drop-in prefill optimization for a fixed SALA checkpoint. | Only useful as future-model research or kernel inspiration. | Requires retraining/pretraining-scale proof, outside submission path. | Retrofitting sparse structure onto dense-trained/full-trained layers loses capability. |
| P4 | Dense FlashAttention / FA3 / FA4 swap | FA3 is Hopper-oriented; local docs already mark FA3/FA4 and dense SDPA paths as poor fits for SM120 + dense-as-sparse. | Keep only as a dense correctness/perf baseline. | Must beat current sparse path on SALA shapes, not generic dense attention. | Wrong hardware path, wrong sparsity model, or unsupported paged/sparse semantics. |