Skip to content

Fix triton group gemm for tp4 #3762

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
Closed

Conversation

mxz297
Copy link
Contributor

@mxz297 mxz297 commented Mar 4, 2025

Summary: For whatever reasons, there seems to be some integer overflow for this kernel on AMD, causing it to core dump with TP4 sharding for 17bx128E. On H100, there is no such problem.

Differential Revision: D70568729

Copy link

netlify bot commented Mar 4, 2025

Deploy Preview for pytorch-fbgemm-docs ready!

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

@facebook-github-bot
Copy link
Contributor

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

@mxz297 mxz297 force-pushed the export-D70568729 branch from 367ac37 to 3f5f921 Compare March 4, 2025 21:10
mxz297 added a commit to mxz297/FBGEMM that referenced this pull request Mar 4, 2025
Summary:
X-link: facebookresearch/FBGEMM#843


For whatever reasons, there seems to be some integer overflow for this kernel on AMD, causing it to core dump with TP4 sharding for 17bx128E. On H100, there is no such problem.

Differential Revision: D70568729
@mxz297 mxz297 force-pushed the export-D70568729 branch from 3f5f921 to 1e62d7a Compare March 4, 2025 23:30
mxz297 added a commit to mxz297/FBGEMM that referenced this pull request Mar 4, 2025
Summary:
X-link: facebookresearch/FBGEMM#843


For whatever reasons, there seems to be some integer overflow for this kernel on AMD, causing it to core dump with TP4 sharding for 17bx128E. On H100, there is no such problem.

Differential Revision: D70568729
@mxz297 mxz297 force-pushed the export-D70568729 branch from 1e62d7a to 2aab2ab Compare March 4, 2025 23:30
@facebook-github-bot
Copy link
Contributor

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

mxz297 added a commit to mxz297/FBGEMM that referenced this pull request Mar 4, 2025
Summary:
X-link: facebookresearch/FBGEMM#843

Pull Request resolved: pytorch#3762

For whatever reasons, there seems to be some integer overflow for this kernel on AMD, causing it to core dump with TP4 sharding for 17bx128E. On H100, there is no such problem.

Reviewed By: levendlee

Differential Revision: D70568729
@mxz297 mxz297 force-pushed the export-D70568729 branch from 2aab2ab to 4ecc756 Compare March 4, 2025 23:33
Summary:
X-link: facebookresearch/FBGEMM#843

Pull Request resolved: pytorch#3762

For whatever reasons, there seems to be some integer overflow for this kernel on AMD, causing it to core dump with TP4 sharding for 17bx128E. On H100, there is no such problem.

Reviewed By: levendlee

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

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in c146720.

q10 pushed a commit to q10/FBGEMM that referenced this pull request Apr 10, 2025
Summary:
Pull Request resolved: facebookresearch/FBGEMM#843

X-link: pytorch#3762

For whatever reasons, there seems to be some integer overflow for this kernel on AMD, causing it to core dump with TP4 sharding for 17bx128E. On H100, there is no such problem.

Reviewed By: levendlee

Differential Revision: D70568729

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