Skip to content
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 optional zero_start_index_M argument to triton fp8 rowwise quantization #3628

Closed
wants to merge 1 commit into from

Conversation

jwfromm
Copy link
Contributor

@jwfromm jwfromm commented Jan 28, 2025

Summary: In MOE models, many rows may be sparsely populated. There's no reason to run quantization on these empty values. This diff adds a new optional argument o fp8 rowwise quantization that allows skipping over the sparse region of rows.

Differential Revision: D68797978

@facebook-github-bot
Copy link
Contributor

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

Copy link

netlify bot commented Jan 28, 2025

Deploy Preview for pytorch-fbgemm-docs ready!

Name Link
🔨 Latest commit 6163ebe
🔍 Latest deploy log https://app.netlify.com/sites/pytorch-fbgemm-docs/deploys/679961b46b746200088a6934
😎 Deploy Preview https://deploy-preview-3628--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 site configuration.

…zation

Summary: In MOE models, many rows may be sparsely populated. There's no reason to run quantization on these empty values. This diff adds a new optional argument to fp8 rowwise quantization that allows skipping over the sparse region of rows.

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

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 54e83db.

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