Skip to content

Add MI350X to get_peak_flops - #4779

Merged
tianyu-l merged 1 commit into
pytorch:mainfrom
Johnsonms:johnson/mi350x-peak-flops
Sep 18, 2026
Merged

tianyu-l merged 1 commit into
pytorch:mainfrom
Johnsonms:johnson/mi350x-peak-flops

Conversation

@Johnsonms

Copy link
Copy Markdown
Contributor

MI350X is missing from the peak-FLOPS table, so on that part get_peak_flops() falls through to the 312 TFLOP/s A100 default and every reported MFU comes out ~7.4x too high. The table already carries its liquid-cooled sibling MI355X (2.5 PFLOP/s) as well as MI300X/MI325X.

MI350X is the air-cooled CDNA 4 part: 2.3 PFLOP/s dense BF16. https://www.amd.com/en/products/accelerators/instinct/mi350/mi350x.html

Measured on an 8x MI350X node running torchtitan llama3:

before: MFU ~152% for 8B -- wrong in a way that is only obvious if you
happen to notice MFU exceeding 100%
after: MFU 20.5% (8B), 24.6% (70B)

MI350X is missing from the peak-FLOPS table, so on that part
get_peak_flops() falls through to the 312 TFLOP/s A100 default and every
reported MFU comes out ~7.4x too high. The table already carries its
liquid-cooled sibling MI355X (2.5 PFLOP/s) as well as MI300X/MI325X.

MI350X is the air-cooled CDNA 4 part: 2.3 PFLOP/s dense BF16.
https://www.amd.com/en/products/accelerators/instinct/mi350/mi350x.html

Measured on an 8x MI350X node running torchtitan llama3:

  before:  MFU ~152% for 8B -- wrong in a way that is only obvious if you
           happen to notice MFU exceeding 100%
  after:   MFU 20.5% (8B), 24.6% (70B)
@pytorch-bot pytorch-bot Bot added the ciflow/fake-pg Run 1-GPU Fake PG integration tests label Sep 18, 2026
@pytorch-bot

pytorch-bot Bot commented Sep 18, 2026 •

Copy link
Copy Markdown

Workflows were awaiting approval. CI has now been triggered for the ciflow labels on this PR.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Sep 18, 2026
@tianyu-l
tianyu-l merged commit 1e4d33d into pytorch:main Sep 18, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/fake-pg Run 1-GPU Fake PG integration tests CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants