-
Notifications
You must be signed in to change notification settings - Fork 369
Add mx_fp4_kernel #1661
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
Add mx_fp4_kernel #1661
Conversation
stack-info: PR: #1661, branch: drisspg/stack/34
1a53e76 to
8e05144
Compare
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/ao/1661
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New Failure, 4 PendingAs of commit 50a8a2a with merge base 682ffd5 ( NEW FAILURE - The following job has failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
stack-info: PR: #1661, branch: drisspg/stack/34
8e05144 to
c18dde0
Compare
stack-info: PR: #1661, branch: drisspg/stack/34
c18dde0 to
a4ddbce
Compare
stack-info: PR: #1661, branch: drisspg/stack/34
a4ddbce to
3c6f769
Compare
3c6f769 to
44c99ed
Compare
stack-info: PR: #1661, branch: drisspg/stack/34
stack-info: PR: #1661, branch: drisspg/stack/34
44c99ed to
90ee0ff
Compare
stack-info: PR: #1661, branch: drisspg/stack/34
90ee0ff to
59ed96a
Compare
stack-info: PR: #1661, branch: drisspg/stack/34
59ed96a to
c4c3650
Compare
stack-info: PR: #1661, branch: drisspg/stack/34
c4c3650 to
204d06c
Compare
stack-info: PR: #1661, branch: drisspg/stack/34
204d06c to
42395c2
Compare
|
|
||
|
|
||
| def mx_fp4_bf16(A: Tensor, B: Tensor, A_scale: Tensor, B_scale: Tensor): | ||
| """Defines a matmul between two fp4 tensors w/ MX scales in E8MO and returns a bf16 tensor. |
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.
nit: clarify that it's fp4_e2m1? Maybe link to https://www.opencompute.org/documents/ocp-microscaling-formats-mx-v1-0-spec-final-pdf section 5.3.3?
stack-info: PR: #1661, branch: drisspg/stack/34
42395c2 to
50a8a2a
Compare
Stacked PRs:
Add mx_fp4_kernel