-
Notifications
You must be signed in to change notification settings - Fork 197
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
Temporary Fix: Skip TestAffineQuantizedTensorParallel on H100 #1001
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/1001
Note: Links to docs will display an error until the docs builds have been completed. ✅ You can merge normally! (1 Unrelated Failure)As of commit 9dec2af with merge base 09b8b3c (): FLAKY - The following job failed but was likely due to flakiness present on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
if not is_H100: | ||
run_tests() | ||
else: | ||
print("Skipping TestAffineQuantizedTensorParallel: not supported on H100") |
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.
I'd prefer we explicitly put a skip test on the skipped test, this will also mess up the pytest output
@@ -1,12 +1,17 @@ | |||
from torchao.testing.utils import copy_tests, TorchAOTensorParallelTestCase | |||
from torch.testing._internal.common_utils import run_tests | |||
from torchao.quantization import int8_weight_only | |||
import torch |
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.
do you still see the error if you move the import torch statement above any ao imports?
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.
Moving torch as the first import does resolve some issues, but there are still issues of compatibility with H100. I'm working on another PR to add support for H100 (specially float8). #1003
The current aqt test runs on bfloat16, float16 and float32, but the test doesn't run on H100 for these dtypes. As a temporray fix, skipping the test if H100
Created issue to track this: #1000