Skip to content

Fix handling of dynamic FP8 grouped gemm on Nvidia #3616

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

Closed
wants to merge 1 commit into from

Conversation

jwfromm
Copy link
Contributor

@jwfromm jwfromm commented Jan 26, 2025

Summary: This diff is the nvidia mirror of D68686266, which changes dynamic grouped gemm to return a tensor of shape [total_M, N] when zero_start_index_M isnt provided. We also add appropriate tests to make sure the behavior doesnt break going forward.

Differential Revision: D68689077

Copy link

netlify bot commented Jan 26, 2025

Deploy Preview for pytorch-fbgemm-docs ready!

Name Link
🔨 Latest commit 5c2ec33
🔍 Latest deploy log https://app.netlify.com/sites/pytorch-fbgemm-docs/deploys/67a019b154f60f000845112d
😎 Deploy Preview https://deploy-preview-3616--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.

@facebook-github-bot
Copy link
Contributor

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

jwfromm added a commit to jwfromm/FBGEMM that referenced this pull request Feb 3, 2025
Summary:
X-link: facebookresearch/FBGEMM#695


This diff is the nvidia mirror of D68686266, which changes dynamic grouped gemm to return a tensor of shape [total_M, N] when zero_start_index_M isnt provided.  We also add appropriate tests to make sure the behavior doesnt break going forward.

Reviewed By: jasonjk-park, jianyuh, jiawenliu64

Differential Revision: D68689077
jwfromm added a commit to jwfromm/FBGEMM that referenced this pull request Feb 3, 2025
Summary:
X-link: facebookresearch/FBGEMM#695


This diff is the nvidia mirror of D68686266, which changes dynamic grouped gemm to return a tensor of shape [total_M, N] when zero_start_index_M isnt provided.  We also add appropriate tests to make sure the behavior doesnt break going forward.

Reviewed By: jasonjk-park, jianyuh, jiawenliu64

Differential Revision: D68689077
jwfromm added a commit to jwfromm/FBGEMM that referenced this pull request Feb 3, 2025
Summary:
X-link: facebookresearch/FBGEMM#695


This diff is the nvidia mirror of D68686266, which changes dynamic grouped gemm to return a tensor of shape [total_M, N] when zero_start_index_M isnt provided.  We also add appropriate tests to make sure the behavior doesnt break going forward.

Reviewed By: jasonjk-park, jianyuh, jiawenliu64

Differential Revision: D68689077
jwfromm added a commit to jwfromm/FBGEMM that referenced this pull request Feb 3, 2025
Summary:
X-link: facebookresearch/FBGEMM#695


This diff is the nvidia mirror of D68686266, which changes dynamic grouped gemm to return a tensor of shape [total_M, N] when zero_start_index_M isnt provided.  We also add appropriate tests to make sure the behavior doesnt break going forward.

Reviewed By: jasonjk-park, jianyuh, jiawenliu64

Differential Revision: D68689077
jwfromm added a commit to jwfromm/FBGEMM that referenced this pull request Feb 3, 2025
Summary:
X-link: facebookresearch/FBGEMM#695


This diff is the nvidia mirror of D68686266, which changes dynamic grouped gemm to return a tensor of shape [total_M, N] when zero_start_index_M isnt provided.  We also add appropriate tests to make sure the behavior doesnt break going forward.

Reviewed By: jasonjk-park, jianyuh, jiawenliu64

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

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

Summary:
X-link: facebookresearch/FBGEMM#695

Pull Request resolved: pytorch#3616

This diff is the nvidia mirror of D68686266, which changes dynamic grouped gemm to return a tensor of shape [total_M, N] when zero_start_index_M isnt provided.  We also add appropriate tests to make sure the behavior doesnt break going forward.

Reviewed By: jasonjk-park, jianyuh, jiawenliu64

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

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in ecb19d9.

avbokovoy pushed a commit to ROCm/FBGEMM that referenced this pull request Feb 14, 2025
Summary:
X-link: https://github.com/facebookresearch/FBGEMM/pull/695

Pull Request resolved: pytorch#3616

This diff is the nvidia mirror of D68686266, which changes dynamic grouped gemm to return a tensor of shape [total_M, N] when zero_start_index_M isnt provided.  We also add appropriate tests to make sure the behavior doesnt break going forward.

Reviewed By: jasonjk-park, jianyuh, jiawenliu64

Differential Revision: D68689077

fbshipit-source-id: f60b533e6ec90b753dc15f2136c7cef6e162bf1c
q10 pushed a commit to q10/FBGEMM that referenced this pull request Apr 10, 2025
Summary:
Pull Request resolved: facebookresearch/FBGEMM#695

X-link: pytorch#3616

This diff is the nvidia mirror of D68686266, which changes dynamic grouped gemm to return a tensor of shape [total_M, N] when zero_start_index_M isnt provided.  We also add appropriate tests to make sure the behavior doesnt break going forward.

Reviewed By: jasonjk-park, jianyuh, jiawenliu64

Differential Revision: D68689077

fbshipit-source-id: f60b533e6ec90b753dc15f2136c7cef6e162bf1c
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.

3 participants