Skip to content

reduce overhead for f8f8bf16_rowwise_grouped_dynamic on amd #3742

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

mxz297
Copy link
Contributor

@mxz297 mxz297 commented Feb 27, 2025

Summary:
X-link: https://github.com/facebookresearch/FBGEMM/pull/823

When there is no need to zeroing output tensor, the argument setup kernel currently will launch many wasted thread blocks, and that can cause significant overhead. So we separate argument setup kernels into two kernels based on whether we need zeroing or not.

Differential Revision: D70327636

Summary:
X-link: facebookresearch/FBGEMM#823

When there is no need to zeroing output tensor, the argument setup kernel currently will launch many wasted thread blocks, and that can cause significant overhead. So we separate argument setup kernels into two kernels based on whether we need zeroing or not.

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

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

Copy link

netlify bot commented Feb 27, 2025

Deploy Preview for pytorch-fbgemm-docs ready!

Name Link
🔨 Latest commit bb1f280
🔍 Latest deploy log https://app.netlify.com/sites/pytorch-fbgemm-docs/deploys/67c08fda425c2a00085f5976
😎 Deploy Preview https://deploy-preview-3742--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 has been merged in eee973c.

q10 pushed a commit to q10/FBGEMM that referenced this pull request Apr 10, 2025
)

Summary:
X-link: pytorch#3742

Pull Request resolved: facebookresearch/FBGEMM#823

When there is no need to zeroing output tensor, the argument setup kernel currently will launch many wasted thread blocks, and that can cause significant overhead. So we separate argument setup kernels into two kernels based on whether we need zeroing or not.

Reviewed By: zjing14, jwfromm

Differential Revision: D70327636

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