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

Make the scale match the shape of quantized value with N-D tensors #3396

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sijiac
Copy link
Contributor

@sijiac sijiac commented Nov 20, 2024

Summary:
It will be used by the FP8 quantization of Q, which is a 3-D tensors.

With it, we don't need a special reshape of the scale outside the kernel call

Differential Revision: D66196131

Summary:
It will be used by the FP8 quantization of Q, which is a 3-D tensors.

With it, we don't need a special reshape of the scale outside the kernel call

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

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

Copy link

netlify bot commented Nov 20, 2024

Deploy Preview for pytorch-fbgemm-docs ready!

Name Link
🔨 Latest commit a188c73
🔍 Latest deploy log https://app.netlify.com/sites/pytorch-fbgemm-docs/deploys/673d774832315f000812f3cd
😎 Deploy Preview https://deploy-preview-3396--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.

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