Skip to content

Conversation

@drisspg
Copy link
Contributor

@drisspg drisspg commented Jan 9, 2025

Stacked PRs:


Use exp2 for mx scaling

@pytorch-bot
Copy link

pytorch-bot bot commented Jan 9, 2025

🔗 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 New Failure, 5 Pending

As of commit e5383e1 with merge base ac832b0 (image):

NEW FAILURE - The following job has failed:

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

drisspg added a commit that referenced this pull request Jan 9, 2025
stack-info: PR: #1530, branch: drisspg/stack/26
@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 Jan 9, 2025
drisspg added a commit that referenced this pull request Jan 9, 2025
stack-info: PR: #1530, branch: drisspg/stack/26
drisspg added a commit that referenced this pull request Jan 9, 2025
stack-info: PR: #1530, branch: drisspg/stack/26
drisspg added a commit that referenced this pull request Jan 9, 2025
stack-info: PR: #1530, branch: drisspg/stack/26
@drisspg drisspg requested a review from vkuzo January 9, 2025 17:35
drisspg added a commit that referenced this pull request Jan 9, 2025
stack-info: PR: #1530, branch: drisspg/stack/26
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)
Copy link
Contributor

Choose a reason for hiding this comment

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

TIL about torch.exp2

@vkuzo
Copy link
Contributor

vkuzo commented Jan 9, 2025

should ensure CI is green though

drisspg added a commit that referenced this pull request Jan 9, 2025
stack-info: PR: #1530, branch: drisspg/stack/26
@drisspg drisspg added the topic: not user facing Use this tag if you don't want this PR to show up in release notes label Jan 15, 2025
drisspg added a commit that referenced this pull request Jan 15, 2025
stack-info: PR: #1530, branch: drisspg/stack/26
@vkuzo
Copy link
Contributor

vkuzo commented Feb 28, 2025

plans on landing this?

@drisspg
Copy link
Contributor Author

drisspg commented Feb 28, 2025

Yeah I'll fix it up

stack-info: PR: #1530, branch: drisspg/stack/26
@drisspg drisspg merged commit 890e0ac into main Feb 28, 2025
13 of 17 checks passed
jainapurva added a commit that referenced this pull request Mar 3, 2025
drisspg pushed a commit that referenced this pull request Mar 3, 2025
Revert "Use exp2 for mx scaling (#1530)"

This reverts commit 890e0ac.
liangel-02 pushed a commit that referenced this pull request Aug 25, 2025
stack-info: PR: #1530, branch: drisspg/stack/26
liangel-02 pushed a commit that referenced this pull request Aug 25, 2025
Revert "Use exp2 for mx scaling (#1530)"

This reverts commit 890e0ac.
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. topic: not user facing Use this tag if you don't want this PR to show up in release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants