KEMBAR78
Optimize _PaddedFP8rowwise_to_float_cuda_kernel for nrows == 1 by sryap · Pull Request #1858 · pytorch/FBGEMM · GitHub
Skip to content

Conversation

@sryap
Copy link
Contributor

@sryap sryap commented Jun 30, 2023

Summary:
Optimize _PaddedFP8rowwise_to_float_cuda_kernel by using one thread
block to dequantize one row for the nrows == 1 case. Prior to this
diff, one thread dequantizes one row.

_PaddedFP8rowwise_to_float_cuda_kernel removes padding, scale, and
pad value from the input. Please see the attached figure for the
input and output layouts.

{F1039403748}

Differential Revision: D47068547

@netlify
Copy link

netlify bot commented Jun 30, 2023

Deploy Preview for pytorch-fbgemm-docs canceled.

Name Link
🔨 Latest commit 4c90c6d
🔍 Latest deploy log https://app.netlify.com/sites/pytorch-fbgemm-docs/deploys/64a3122d3350250008e83a0f

@facebook-github-bot
Copy link
Contributor

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

sryap added a commit to sryap/FBGEMM that referenced this pull request Jul 3, 2023
…ch#1858)

Summary:
Pull Request resolved: pytorch#1858

Optimize `_PaddedFP8rowwise_to_float_cuda_kernel` by using one thread
block to dequantize one row for the `nrows == 1` case.  Prior to this
diff, one thread dequantizes one row.

`_PaddedFP8rowwise_to_float_cuda_kernel` removes padding, scale, and
pad value from the input.  Please see the attached figure for the
input and output layouts.

 {F1039403748}

Reviewed By: xiaosun86, jianyuh

Differential Revision: D47068547

fbshipit-source-id: cd0c88051d8691d232c28600e70b6827318a6ef7
@sryap sryap force-pushed the export-D47068547 branch from e51be7f to a14ff70 Compare July 3, 2023 18:16
@facebook-github-bot
Copy link
Contributor

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

…ch#1858)

Summary:
Pull Request resolved: pytorch#1858

Optimize `_PaddedFP8rowwise_to_float_cuda_kernel` by using one thread
block to dequantize one row for the `nrows == 1` case.  Prior to this
diff, one thread dequantizes one row.

`_PaddedFP8rowwise_to_float_cuda_kernel` removes padding, scale, and
pad value from the input.  Please see the attached figure for the
input and output layouts.

 {F1039403748}

Reviewed By: xiaosun86, jianyuh

Differential Revision: D47068547

fbshipit-source-id: 6b6cd9b2a092d17c11c356a84c96449351d453be
@sryap sryap force-pushed the export-D47068547 branch from a14ff70 to 4c90c6d Compare July 3, 2023 18:23
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in f509314.

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