-
Notifications
You must be signed in to change notification settings - Fork 25.4k
Exposes a fast_fp8_accum option to _scaled_mm #111847
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
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/111847
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 78c31e8 with merge base 93a9b13 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @drisspg !
aten/src/ATen/cuda/CUDABlas.h
Outdated
ScalarType bias_dtype, | ||
void* result_ptr, | ||
const void* result_scale_ptr, | ||
const void *result_scale_ptr, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: void*
to keep it consistent with lines above and below?
@pytorchbot merge |
Merge failedReason: This PR needs a If not, please add the To add a label, you can comment to pytorchbot, for example For more information, see Details for Dev Infra teamRaised by workflow job |
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Merge failedReason: 1 jobs have failed, first few of them are: linux-binary-manywheel / manywheel-py3_8-cuda11_8-test / test Details for Dev Infra teamRaised by workflow job |
@pytorchbot merge -i |
Merge startedYour change will be merged while ignoring the following 0 checks: Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
# Summary Adds the option to use fast_accumulation_mode for the fp8 matmul in scaled_mm Information can be found here: https://docs.nvidia.com/cuda/cublas/#cublasltmatmuldescattributes-t defaults to 0 (off) Pull Request resolved: pytorch#111847 Approved by: https://github.com/ipiszy, https://github.com/malfet
# Summary Adds the option to use fast_accumulation_mode for the fp8 matmul in scaled_mm Information can be found here: https://docs.nvidia.com/cuda/cublas/#cublasltmatmuldescattributes-t defaults to 0 (off) Pull Request resolved: pytorch#111847 Approved by: https://github.com/ipiszy, https://github.com/malfet
Summary
Adds the option to use fast_accumulation_mode for the fp8 matmul in scaled_mm
Information can be found here: https://docs.nvidia.com/cuda/cublas/#cublasltmatmuldescattributes-t
defaults to 0 (off)
cc @yanbing-j @vkuzo @albanD @kadeng