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

Fix bug in fp8_split_embedding_codegen_forward_kernel dispatch #2009

Closed
wants to merge 1 commit into from

Conversation

SungMinCho
Copy link

@SungMinCho SungMinCho commented Sep 11, 2023

Summary:

For the case of loading FP8 tables with 128B * 8 < dimension <= 128B * 16, the numbers for (MinNum128BRows, MaxNum128BRows) should be (8, 16) and not (4, 8 ). Because of this bug, FP8 tables with dimension in that range don't get properly loaded upon codegen_forward. I wrote a little test to show this deterministically. I will remove the test before land if it is too specific.

Differential Revision: D49139649

@netlify
Copy link

netlify bot commented Sep 11, 2023

Deploy Preview for pytorch-fbgemm-docs canceled.

Name Link
🔨 Latest commit 4d47b88
🔍 Latest deploy log https://app.netlify.com/sites/pytorch-fbgemm-docs/deploys/6503ac98bc3ebd00082583af

@facebook-github-bot
Copy link
Contributor

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

…ch#2009)

Summary:

For the case of loading FP8 tables with 128B * 8 < dimension <= 128B * 16, the numbers for (MinNum128BRows, MaxNum128BRows) should be (8, 16) and not (4, 8 ). Because of this bug, FP8 tables with dimension in that range don't get properly loaded upon codegen_forward. I wrote a little test to show this deterministically. I will remove the test before land if it is too specific.

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

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 8e588e6.

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.

None yet

2 participants