Skip to content

docs: update cascade-attention prose from "benchmark missing" to "measured and rejected" #1676

Closed

Description

@agatha197

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:120 still says "Until such a file exists, the default in paged_v2::cascade::DEFAULT_CASCADE_ENABLED stays false."
  • 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 ... until docs/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_ENABLED is 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 under docs/benchmark_results/cascade-attention-<hw>-<date>.md … Until such a file exists, the default in paged_v2::cascade::DEFAULT_CASCADE_ENABLED stays false."
  • 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 … until docs/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_ENABLED is unchanged

Activity

  1. changed the title [-]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"[/+] on Sep 5, 2026
  2. added
    status:ready
    type:docs
    priority:low
    on Sep 5, 2026
  3. hephaex commented on Nov 11, 2026

    @hephaex
    Contributor

    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, the MLXCEL_CASCADE_ATTENTION row in docs/environment-variables.md, and the doc comments in paged_v2/cascade.rs to say "measured and rejected", and replaces the stale instruction to create a cascade-attention-<hw>-<date>.md file with a pointer to the archive. DEFAULT_CASCADE_ENABLED stays false. The reasoned (not tuned) thresholds and the missing serving-level run remain stated as open.

  4. hephaex commented on Nov 13, 2026

    @hephaex
    Contributor

    The documentation change for this issue is in #2970. It records cascade attention as "measured and rejected" in docs/environment-variables.md and in the paged_v2/cascade.rs module 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.

  5. added a commit that references this issue on Nov 15, 2026
    8ec989b
  6. added this to the 0.9 milestone on Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority:lowstatus:readytype:docs

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions