Skip to content

Add peak BF16 TFLOPS for AWS Trainium/Inferentia devices#2382

Merged
tianyu-l merged 1 commit intopytorch:mainfrom
rthekini-aws:add-neuron-peak-flops
Feb 25, 2026
Merged

Add peak BF16 TFLOPS for AWS Trainium/Inferentia devices#2382
tianyu-l merged 1 commit intopytorch:mainfrom
rthekini-aws:add-neuron-peak-flops

Conversation

@rthekini-aws
Copy link
Contributor

Add TensorEngine-only BF16 peak TFLOPS for Neuron devices to enable accurate MFU calculation on AWS Trainium and Inferentia instances.

  • NeuronCore-v2 (trn1, trn1n, inf2): 90 TFLOPS/core, LNC=1
  • NeuronCore-v3 (trn2, trn2n, trn2u): 79 TFLOPS/core, LNC=2
  • NeuronCore-v4 (trn3, trn3u): 79 TFLOPS/core, LNC=2

@meta-cla
Copy link

meta-cla bot commented Feb 14, 2026

Hi @rthekini-aws!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at cla@meta.com. Thanks!

@wwwjn
Copy link
Contributor

wwwjn commented Feb 17, 2026

Can you fix lint error before merging it? @rthekini-aws

@rthekini-aws rthekini-aws force-pushed the add-neuron-peak-flops branch 2 times, most recently from f39526f to efbf9f8 Compare February 18, 2026 02:22
@rthekini-aws rthekini-aws marked this pull request as ready for review February 18, 2026 07:51
Copy link
Contributor

@fegin fegin left a comment

Choose a reason for hiding this comment

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

Please sign CLA thanks!

@rthekini-aws
Copy link
Contributor Author

The CLA should be signed. I'll follow up with cla@meta.com.

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Feb 20, 2026
@meta-cla
Copy link

meta-cla bot commented Feb 20, 2026

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks!

Add TensorEngine-only BF16 peak TFLOPS for Neuron devices to enable
accurate MFU calculation on AWS Trainium and Inferentia instances.

- NeuronCore-v2 (trn1, trn1n, inf2): 90 TFLOPS/core, LNC=1
- NeuronCore-v3 (trn2, trn2n, trn2u): 79 TFLOPS/core, LNC=2
- NeuronCore-v4 (trn3, trn3u): 79 TFLOPS/core, LNC=2
@tianyu-l tianyu-l merged commit 353c064 into pytorch:main Feb 25, 2026
9 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

4 participants