Repository navigation
Description
Summary
Three passages still frame the cascade-attention default as "off until a benchmark exists", but the benchmark exists and concluded the path is slower in every measured configuration. The framing should change from "not yet measured" to "measured and rejected", linking the report. The constant itself stays false.
Background
One doc passage and two source comments say cascade decode stays default-off until a benchmark record lands under docs/benchmark_results/. That record now exists: the M1 Ultra run from 2026-08-03 concludes "cascade decode is slower than the flat #898 launch in every configuration measured, so it ships available but unwired". The prose is stale relative to its own committed evidence.
Proposed Solution
Rewrite the three short passages to reflect the measured outcome and link or name the existing report. This is reading-comprehension only; DEFAULT_CASCADE_ENABLED is unchanged.
Implementation Notes
docs/cascade-attention.md:120still says "Until such a file exists, the default inpaged_v2::cascade::DEFAULT_CASCADE_ENABLEDstaysfalse."- The report is
docs/benchmark_results/cascade-attention-m1ultra-2026-08-03.md, which states the measured outcome. - The same stale framing appears in
src/lib/mlxcel-core/src/paged_v2/cascade.rs:66-67("default off ... untildocs/benchmark_results/carries a number for it") and:84-86("Flip this one constant once a shared-prefix benchmark exists").
Acceptance Criteria
- No passage claims the benchmark is missing; each links or names the 2026-08-03 M1 Ultra report
-
DEFAULT_CASCADE_ENABLEDis unchanged
Original Suggestion
Title: docs: cascade-attention prose still says the benchmark is missing after it landed
Three passages still frame the cascade-attention default as "off until a benchmark exists" — but the benchmark exists, and it concluded the path is slower in every measured configuration. The framing should change from "not yet measured" to "measured and rejected", linking the report.
Evidence
docs/cascade-attention.md:120— "Record results underdocs/benchmark_results/cascade-attention-<hw>-<date>.md… Until such a file exists, the default inpaged_v2::cascade::DEFAULT_CASCADE_ENABLEDstaysfalse."docs/benchmark_results/cascade-attention-m1ultra-2026-08-03.md:1-9— is that file, concluding "cascade decode is slower than the flat Fused paged-attention decode v2: CSR page table, cross-CTA split-KV, and variable-length merge kernels #898 launch in every configuration measured, so it ships available but unwired"- Same stale framing in
src/lib/mlxcel-core/src/paged_v2/cascade.rs:66-67("default off … untildocs/benchmark_results/carries a number for it") and:84-86("Flip this one constant once a shared-prefix benchmark exists")
Suggested fix
Rewrite the three short passages (one doc, two source comments) to reflect the measured outcome and link the existing report. Reading comprehension only; the constant itself stays false.
Acceptance criteria
- No passage claims the benchmark is missing; each links or names the 2026-08-03 M1 Ultra report
-
DEFAULT_CASCADE_ENABLEDis unchanged
Activity
[-]docs: cascade-attention prose still says the benchmark is missing after it landed[/-][+]docs: update cascade-attention prose from "benchmark missing" to "measured and rejected"[/+]hephaex commentedon Nov 11, 2026
Picked this up. The benchmark this issue was waiting for already exists: the M1 Ultra layer-level run of 2026-08-03 measured cascade decode slower than the flat launch in all eight configurations (0.356x to 0.784x), and #2949 moved the record to
docs/benchmark_results/versions/v0.5.0.md#cascade-attention-m1ultra-2026-08-03.The PR updates
docs/cascade-attention.md, theMLXCEL_CASCADE_ATTENTIONrow indocs/environment-variables.md, and the doc comments inpaged_v2/cascade.rsto say "measured and rejected", and replaces the stale instruction to create acascade-attention-<hw>-<date>.mdfile with a pointer to the archive.DEFAULT_CASCADE_ENABLEDstaysfalse. The reasoned (not tuned) thresholds and the missing serving-level run remain stated as open.hephaex commentedon Nov 13, 2026
The documentation change for this issue is in #2970. It records cascade attention as "measured and rejected" in
docs/environment-variables.mdand in thepaged_v2/cascade.rsmodule comment, pointing at the 2026-08-03 M1 Ultra measurement and the v0.5.0 benchmark record. Docs and comments only; no code path changes.docs(cascade): state that cascade decode was measured and rejected (l…