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

Add FP8 x INT4 Gemm to Quantize Benchmarks #2984

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

Conversation

jwfromm
Copy link
Contributor

@jwfromm jwfromm commented Aug 13, 2024

Summary:
This diff adds FP8 x INT4 matmul to our quantize benchmarks. I also add a new GB/s value that is collected for all kernels and do some performance tuning of the cutlass F8I4 kernel.

Unfortunately, we see in this benchmarking sheet that F8I4 isnt better than F8F8 for any shape, even this set of memory bound shapes that it should favor. We will likely need to follow up with the cutlass team to see if this poor performance is expected.

Differential Revision: D60933219

Summary:
This diff adds FP8 x INT4 matmul to our quantize benchmarks. I also add a new GB/s value that is collected for all kernels and do some performance tuning of the cutlass F8I4 kernel.

Unfortunately, we see in [this benchmarking sheet](https://docs.google.com/spreadsheets/d/1I3h9_JXV7d2spEycvHMv_zACNYEmgDrPzXDJNtpxNPc/edit?usp=sharing) that F8I4 isnt better than F8F8 for any shape, even this set of memory bound shapes that it should favor. We will likely need to follow up with the cutlass team to see if this poor performance is expected.

Differential Revision: D60933219
Copy link

netlify bot commented Aug 13, 2024

Deploy Preview for pytorch-fbgemm-docs ready!

Name Link
🔨 Latest commit 9b71550
🔍 Latest deploy log https://app.netlify.com/sites/pytorch-fbgemm-docs/deploys/66bbe9d9a5b0010008676d0d
😎 Deploy Preview https://deploy-preview-2984--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: D60933219

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