Skip to content

Refresh paged GQA4 performance evidence - #116

Merged
feichai0017 merged 3 commits into
mainfrom
agent/r2-paged-current-evidence
Aug 13, 2026
Merged

feichai0017 merged 3 commits into
mainfrom
agent/r2-paged-current-evidence

Conversation

@feichai0017

@feichai0017 feichai0017 commented Aug 12, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • refresh the long paged-GQA4 row on current merged source
  • keep Oxide/FlashInfer and current/published-source comparisons in separate double-order cohorts
  • retain 400 raw samples plus source, runner, harness, PTX, and cubin hashes
  • update the concise README, roadmap, parity matrix, evidence index, and website result

Performance

Exact BF16 paged GQA4 eager contract: batch 2, query lengths 32/64, KV lengths 256/1024, 16 query heads, 4 KV heads, head dimension 128. Every run uses CPU 20, 200 warmups, 50 samples, and 100 launches per sample.

Cohort First subject Second subject Result
Matched provider Oxide 46.60 µs FlashInfer 0.6.17 23.21 µs FlashInfer 2.01× lower
Source progression current 46.95 µs source 49290b5 57.57 µs current -18.45%

All four order deltas are below 1.48%, within the 5% gate. The provider and source cohorts are recorded independently.

ptxas reports 168 registers, 32 KiB static shared memory, zero stack, zero spills, and zero local memory.

Validation

  • cargo fmt --all -- --check
  • strict CUDA Clippy with warnings denied
  • cargo test --workspace --all-targets --locked --offline: 59 passed
  • full paged hardware correctness gate
  • valid-output and invalid-page fixed-address Graph replay
  • exact runner passed memcheck, racecheck, synccheck, and initcheck
  • website astro check: 0 diagnostics
  • website static build: 5 pages
  • evidence statistics recomputed from all raw samples

This remains an exact operator/eager contract result. It makes no isolated-kernel, Graph-performance, model, serving, other-shape, other-GPU, or overall-library claim.

Summary by CodeRabbit

  • Performance Updates

    • Updated paged-prefill GQA4 benchmark results to reflect current measurements: 46.60 µs for Oxide and 23.21 µs for FlashInfer.
    • Reported FlashInfer latency as 2.01× lower and the current source as 18.45% faster than the previous source cohort.
  • Documentation

    • Added comprehensive benchmark evidence, including validation, replay, stability, sanitizer, and resource results.
    • Updated performance pages, roadmap baselines, indexes, and evidence links to reference the current benchmark record.

@coderabbitai

coderabbitai Bot commented Aug 12, 2026 •

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@feichai0017, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 40 minutes

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: bc8a9443-1250-48b3-91b5-e83b760f53be

📥 Commits

Reviewing files that changed from the base of the PR and between 811e48c and df395c2.

📒 Files selected for processing (3)
  • website/src/data/site.ts
  • website/src/pages/evidence.astro
  • website/src/pages/index.astro
📝 Walkthrough

Walkthrough

The change adds a current paged-GQA4 benchmark record with provenance, qualification, provider timings, and source progression data. Project documentation and website data now reference Oxide at 46.60 µs and FlashInfer at 23.21 µs.

Changes

Paged-GQA4 evidence update

Layer / File(s) Summary
Benchmark contract and qualification
docs/results/h20-flashinfer-v0.6.17-paged-prefill-current-gqa4-eager-performance-02faf27-20260812.json
The record defines provenance, the H20/CUDA environment, measurement rules, fixtures, correctness checks, graph replay checks, sanitizer results, and resource usage.
Provider measurements and ranking
docs/results/h20-flashinfer-v0.6.17-paged-prefill-current-gqa4-eager-performance-02faf27-20260812.json
The record adds Oxide and FlashInfer statistics, order permutations, raw samples, and a 2.007× FlashInfer latency advantage.
Source progression and claims
docs/results/h20-flashinfer-v0.6.17-paged-prefill-current-gqa4-eager-performance-02faf27-20260812.json
The record compares current and published source cohorts, reports an 18.45% latency reduction, and defines accepted and excluded claims.
Evidence references and published summaries
docs/results/README.md, docs/flashinfer-parity.md, README.md, docs/roadmap.md, website/src/data/site.ts, website/src/pages/evidence.astro
Indexes, parity notes, roadmap text, README content, and website data now use the current benchmark record and its 46.60 µs, 23.21 µs, and 2.01× results. The prior optimization record remains historical.

Estimated code review effort: 4 (Complex) | ~45 minutes

Possibly related PRs

Poem

A rabbit checks each timing row,
Oxide hops while FlashInfer flows.
New source samples, clean and bright,
Two cohorts measure order right.
The record closes—hop, hop, hooray!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the refresh of paged GQA4 performance evidence, which is the main change.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch agent/r2-paged-current-evidence

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@feichai0017
feichai0017 marked this pull request as ready for review August 12, 2026 12:36
Copilot AI lite review requested due to automatic review settings August 12, 2026 12:36

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (1)
website/src/pages/evidence.astro (1)

139-141: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Update the link label to match the record name.

The href now resolves to the current paged-GQA4 record, but the label still says "Optimized paged-GQA4 performance record". The README, roadmap, and parity matrix call it the "current paged-GQA4 record". Align the label, and optionally rename pagedPrefillOptimizationEvidenceUrl in website/src/data/site.ts.

♻️ Proposed label change
         <a href={pagedPrefillOptimizationEvidenceUrl} target="_blank" rel="noreferrer">
-          Optimized paged-GQA4 performance record
+          Current paged-GQA4 performance record
         </a>
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@website/src/pages/evidence.astro` around lines 139 - 141, Update the anchor
label in the evidence page to “Current paged-GQA4 record” so it matches the
referenced record name; optionally rename pagedPrefillOptimizationEvidenceUrl in
site data and update all usages consistently.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@website/src/pages/evidence.astro`:
- Around line 130-131: In the paged-GQA4 evidence text, preserve the whitespace
between “source” and the inline <code>49290b5</code> element by adding an
explicit Astro space expression after “source”.</code>

---

Nitpick comments:
In `@website/src/pages/evidence.astro`:
- Around line 139-141: Update the anchor label in the evidence page to “Current
paged-GQA4 record” so it matches the referenced record name; optionally rename
pagedPrefillOptimizationEvidenceUrl in site data and update all usages
consistently.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 5101f8c8-0c78-4402-8821-9ea2d6a9688c

📥 Commits

Reviewing files that changed from the base of the PR and between 02faf27 and 811e48c.

📒 Files selected for processing (7)
  • README.md
  • docs/flashinfer-parity.md
  • docs/results/README.md
  • docs/results/h20-flashinfer-v0.6.17-paged-prefill-current-gqa4-eager-performance-02faf27-20260812.json
  • docs/roadmap.md
  • website/src/data/site.ts
  • website/src/pages/evidence.astro

Comment thread website/src/pages/evidence.astro Outdated
@feichai0017
feichai0017 merged commit e6df321 into main Aug 13, 2026
5 checks passed
@feichai0017
feichai0017 deleted the agent/r2-paged-current-evidence branch August 13, 2026 03:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants