-
Notifications
You must be signed in to change notification settings - Fork 197
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
Use exp2 for mx scaling #1530
base: main
Are you sure you want to change the base?
Use exp2 for mx scaling #1530
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/ao/1530
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ❌ 3 New FailuresAs of commit 6238167 with merge base 8259a38 (): NEW FAILURES - The following jobs have failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
stack-info: PR: #1530, branch: drisspg/stack/26
29300f9
to
75587ff
Compare
stack-info: PR: #1530, branch: drisspg/stack/26
75587ff
to
a0db83c
Compare
stack-info: PR: #1530, branch: drisspg/stack/26
a0db83c
to
5bb2abf
Compare
stack-info: PR: #1530, branch: drisspg/stack/26
5bb2abf
to
ffef385
Compare
stack-info: PR: #1530, branch: drisspg/stack/26
ffef385
to
71e43d3
Compare
torch.full(max_abs.size(), 2.0, device=scale_e8m0_biased.device), | ||
scale_e8m0_unbiased, | ||
) | ||
scale_fp = torch.exp2(scale_e8m0_unbiased).to(torch.float32) |
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.
TIL about torch.exp2
should ensure CI is green though |
stack-info: PR: #1530, branch: drisspg/stack/26
71e43d3
to
6238167
Compare
Stacked PRs:
Use exp2 for mx scaling