-
Notifications
You must be signed in to change notification settings - Fork 24.2k
Add Vectorized FP8 E4M3 #152417
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: gh/leslie-fang-intel/195/base
Are you sure you want to change the base?
Add Vectorized FP8 E4M3 #152417
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/152417
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New Failure, 1 Unrelated FailureAs of commit 84888d1 with merge base 9608e7f ( NEW FAILURE - The following job has failed:
BROKEN TRUNK - The following job failed but were present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add UT?
Thanks for the comment. The test case has been added. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally LGTM, just the test case needs a little refinement.
One more thing, we don't do E5M2?
Thanks for comment. I think we will add E5M2 in next step. |
@pytorchbot merge |
Merge failedReason: Approvers from one of the following sets are needed:
|
Stack from ghstack (oldest at bottom):
Summary
This PR mainly adding the
Vectorized<Float8_e4m3fn>
class to support the vectorization ofFP8 E4M3
with methods:Vectorized<float>
mul
,abs
,eq
and etc.Test Plan
cc @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10 @jerryzh168