Skip to content

Conversation

@drisspg
Copy link
Contributor

@drisspg drisspg commented Feb 4, 2025

Stacked PRs:


Add mx_fp4_kernel

drisspg added a commit that referenced this pull request Feb 4, 2025
stack-info: PR: #1661, branch: drisspg/stack/34
@drisspg drisspg mentioned this pull request Feb 4, 2025
@drisspg drisspg mentioned this pull request Feb 4, 2025
@pytorch-bot
Copy link

pytorch-bot bot commented Feb 4, 2025

🔗 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 Pending

As of commit 50a8a2a with merge base 682ffd5 (image):

NEW FAILURE - The following job has failed:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Feb 4, 2025
@drisspg drisspg changed the base branch from drisspg/stack/31 to main February 4, 2025 19:55
drisspg added a commit that referenced this pull request Feb 4, 2025
stack-info: PR: #1661, branch: drisspg/stack/34
@drisspg drisspg changed the base branch from main to drisspg/stack/31 February 4, 2025 19:57
@drisspg drisspg changed the base branch from drisspg/stack/31 to main February 4, 2025 20:00
drisspg added a commit that referenced this pull request Feb 4, 2025
stack-info: PR: #1661, branch: drisspg/stack/34
@drisspg drisspg added mx topic: new feature Use this tag if this PR adds a new feature labels Feb 4, 2025
@drisspg drisspg changed the base branch from main to drisspg/stack/31 February 4, 2025 20:00
@drisspg drisspg changed the base branch from drisspg/stack/31 to main February 7, 2025 22:32
@drisspg drisspg changed the base branch from main to drisspg/stack/31 February 7, 2025 22:32
@drisspg drisspg changed the base branch from drisspg/stack/31 to main February 10, 2025 21:44
drisspg added a commit that referenced this pull request Feb 10, 2025
stack-info: PR: #1661, branch: drisspg/stack/34
@drisspg drisspg changed the base branch from main to drisspg/stack/31 February 10, 2025 21:44
@drisspg drisspg changed the base branch from drisspg/stack/31 to main February 10, 2025 22:27
drisspg added a commit that referenced this pull request Feb 10, 2025
stack-info: PR: #1661, branch: drisspg/stack/34
drisspg added a commit that referenced this pull request Feb 10, 2025
stack-info: PR: #1661, branch: drisspg/stack/34
@drisspg drisspg changed the base branch from main to drisspg/stack/31 February 10, 2025 22:27
@drisspg drisspg changed the base branch from drisspg/stack/31 to main February 10, 2025 22:36
drisspg added a commit that referenced this pull request Feb 10, 2025
stack-info: PR: #1661, branch: drisspg/stack/34
@drisspg drisspg changed the base branch from main to drisspg/stack/31 February 10, 2025 22:36
@drisspg drisspg changed the base branch from drisspg/stack/31 to main February 10, 2025 22:38
@drisspg drisspg changed the base branch from main to drisspg/stack/31 February 10, 2025 22:38
@drisspg drisspg changed the base branch from drisspg/stack/31 to main February 11, 2025 23:32
drisspg added a commit that referenced this pull request Feb 11, 2025
stack-info: PR: #1661, branch: drisspg/stack/34
@drisspg drisspg changed the base branch from main to drisspg/stack/31 February 11, 2025 23:32
@drisspg drisspg changed the base branch from drisspg/stack/31 to main February 11, 2025 23:36
drisspg added a commit that referenced this pull request Feb 11, 2025
stack-info: PR: #1661, branch: drisspg/stack/34
@drisspg drisspg changed the base branch from main to drisspg/stack/31 February 11, 2025 23:37
@drisspg drisspg requested a review from vkuzo February 12, 2025 00:57
@drisspg drisspg changed the base branch from drisspg/stack/31 to main February 12, 2025 01:11
drisspg added a commit that referenced this pull request Feb 12, 2025
stack-info: PR: #1661, branch: drisspg/stack/34
@drisspg drisspg changed the base branch from main to drisspg/stack/31 February 12, 2025 01:11


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.
Copy link
Contributor

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
@drisspg drisspg changed the base branch from drisspg/stack/31 to main February 12, 2025 18:32
@drisspg drisspg changed the base branch from main to drisspg/stack/31 February 12, 2025 18:33
@drisspg drisspg merged commit f013189 into drisspg/stack/31 Feb 12, 2025
49 of 50 checks passed
drisspg added a commit that referenced this pull request Feb 12, 2025
* Add mx_fp8_bf16 kernel

stack-info: PR: #1637, branch: drisspg/stack/31

* Add mx_fp4_kernel (#1661)

stack-info: PR: #1661
liangel-02 pushed a commit that referenced this pull request Aug 25, 2025
* Add mx_fp8_bf16 kernel

stack-info: PR: #1637, branch: drisspg/stack/31

* Add mx_fp4_kernel (#1661)

stack-info: PR: #1661
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 Facebook bot. Authors need to sign the CLA before a PR can be reviewed. mx topic: new feature Use this tag if this PR adds a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants