-
Notifications
You must be signed in to change notification settings - Fork 177
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 hardware check to fp8 quant #1314
base: main
Are you sure you want to change the base?
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/ao/1314
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ❌ 4 New FailuresAs of commit 88b6ba1 with merge base b714026 (): NEW FAILURES - The following jobs have failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
90b6c38
to
88b6ba1
Compare
@@ -939,6 +940,9 @@ def float8_dynamic_activation_float8_weight( | |||
mm_config (Float8MMConfig): Configuration for the matrix multiplication. Default uses fast accumulation. | |||
|
|||
""" | |||
assert ( | |||
is_cuda_8_9 | |||
), "Float8 dynamic activation quantization is only supported on CUDA 8.9 and above" |
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.
This should also be supported on AMD. We should probably update this check.
cc @jeffdaily
Add hardware check to ensure fp8 quantization only attempts runs on compatible hardware.
Issue: #1188