Skip to content

Enable rowwise scaling for DeepGemm#3874

Closed
jwfromm wants to merge 1 commit into
pytorch:mainfrom
jwfromm:export-D71748927
Closed

Enable rowwise scaling for DeepGemm#3874
jwfromm wants to merge 1 commit into
pytorch:mainfrom
jwfromm:export-D71748927

Conversation

@jwfromm

@jwfromm jwfromm commented Mar 24, 2025

Copy link
Copy Markdown
Contributor

Summary:
This diff adds ngimel's support for DeepGemm rowwise scaling to our fbcode copy. It also includes a few deepgemm updates that allow operation on M<128, which is important for any real use case. Performance is increased considerably by the use of rowwise scaling, especially in memory bound cases. Notably, this makes DeepGemm the premier solution for slow accumulation as it now overall outperforms cublas + unfused rowwise scaling.
{F1976375307}

Differential Revision: D71748927

Summary:
This diff adds [ngimel's support for DeepGemm rowwise scaling](https://github.com/ngimel/DeepGEMM/tree/rowwise) to our fbcode copy. It also includes a few deepgemm updates that allow operation on M<128, which is important for any real use case. Performance is increased considerably by the use of rowwise scaling, especially in memory bound cases. Notably, this makes DeepGemm the premier solution for slow accumulation as it now overall outperforms cublas + unfused rowwise scaling.
{F1976375307}

Differential Revision: D71748927
@facebook-github-bot

Copy link
Copy Markdown
Contributor

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

@netlify

netlify Bot commented Mar 24, 2025

Copy link
Copy Markdown

Deploy Preview for pytorch-fbgemm-docs ready!

Name Link
🔨 Latest commit f458763
🔍 Latest deploy log https://app.netlify.com/sites/pytorch-fbgemm-docs/deploys/67e1adf539548e0008c4dc38
😎 Deploy Preview https://deploy-preview-3874--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
Copy Markdown
Contributor

This pull request has been merged in ee4c88b.

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