Skip to content

[Triton] Fix bench_mha#2317

Open
micmelesse wants to merge 2 commits intomainfrom
micmelesse/fp8_bwd_bench
Open

[Triton] Fix bench_mha#2317
micmelesse wants to merge 2 commits intomainfrom
micmelesse/fp8_bwd_bench

Conversation

@micmelesse
Copy link
Contributor

@micmelesse micmelesse commented Mar 18, 2026

Motivation

This pr fixes some issues with bench_mha and use it collect numbers for fp8 versus fp16 bwd.

Technical Details

Test Plan

Test Result

Submission Checklist

@micmelesse micmelesse requested review from a team, brunomazzottiamd and Copilot and removed request for Copilot March 18, 2026 00:38
@github-actions
Copy link
Contributor

🏷️ CI Guide

Runs automatically on every PR:

  • ✅ Pre-checks (submodule verification, code formatting)
  • ✅ Aiter op tests (gfx942 + gfx950)
  • ✅ Triton tests (only when aiter/ops/triton/** or related paths are changed)

Extended tests (opt-in via labels):

Label Tests
ci:sglang SGLang integration tests
ci:atom ATOM benchmark (DeepSeek-R1 + GPT-OSS)
ci:vllm vLLM benchmark
ci:all All of the above

Add labels via the sidebar or gh pr edit 2317 --add-label <label>

Copilot AI review requested due to automatic review settings March 19, 2026 15:37
Copy link
Contributor

Copilot AI left a comment

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 is ineligible. To be eligible to request a review, you need a paid Copilot license, or your organization must enable Copilot code review.

Copy link
Contributor

@brunomazzottiamd brunomazzottiamd left a comment

Choose a reason for hiding this comment

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

Approved!

if sm_scale is None:
sm_scale = 1.0 / (D_HEAD**0.5)

# Test mode: run tests from op_tests with specified shapes
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm glad you removed this...

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.

3 participants