Skip to content

Conversation

jwfromm
Copy link
Contributor

@jwfromm jwfromm commented Aug 15, 2025

Summary: Interestingly, ROCM6.4 technically allows both OCP and FNUZ floating point formats. We have a check in our quantize kernels that sees if OCP formats are allowed and uses them if so. However, for pretty much any integration, FNUZ is still expected. This small diff fixes the behavior by checking env vars more carefully and exposes rowwise quantization on AMD to unit tests.

Differential Revision: D80309166

Copy link

netlify bot commented Aug 15, 2025

Deploy Preview for pytorch-fbgemm-docs ready!

Name Link
🔨 Latest commit a5778ea
🔍 Latest deploy log https://app.netlify.com/projects/pytorch-fbgemm-docs/deploys/689faf2a613a58000801c8a4
😎 Deploy Preview https://deploy-preview-4708--pytorch-fbgemm-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link

pytorch-bot bot commented Aug 15, 2025

No ciflow labels are configured for this repo.
For information on how to enable CIFlow bot see this wiki

@meta-cla meta-cla bot added the cla signed label Aug 15, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D80309166

jwfromm added a commit to jwfromm/FBGEMM that referenced this pull request Aug 15, 2025
Summary:

X-link: facebookresearch/FBGEMM#1731

Interestingly, ROCM6.4 technically allows both OCP and FNUZ floating point formats. We have a check in our quantize kernels that sees if OCP formats are allowed and uses them if so. However, for pretty much any integration, FNUZ is still expected. This small diff fixes the behavior by checking env vars more carefully and exposes rowwise quantization on AMD to unit tests.

Reviewed By: q10

Differential Revision: D80309166
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D80309166

Summary:

X-link: facebookresearch/FBGEMM#1731

Interestingly, ROCM6.4 technically allows both OCP and FNUZ floating point formats. We have a check in our quantize kernels that sees if OCP formats are allowed and uses them if so. However, for pretty much any integration, FNUZ is still expected. This small diff fixes the behavior by checking env vars more carefully and exposes rowwise quantization on AMD to unit tests.

Reviewed By: q10

Differential Revision: D80309166
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D80309166

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 2d4e455.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants