-
Notifications
You must be signed in to change notification settings - Fork 363
[Intel GPU] Extend TestQAT module with xpu testcases #3177
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
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/3177
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: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@liangan1 please review |
| SEED = 123 | ||
| GPU_DEVICES = (["cuda"] if torch.cuda.is_available() else []) + ( | ||
| ["xpu"] if torch.xpu.is_available() else [] | ||
| ) |
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.
The CUDA and XPU is exclusive in a torch whl which means that it should not be a list. Besides, the GPU_DEVICES also involve a lot of changes in the following PRs. Suggest to use DEVICE directly.
|
To add the ciflow label This helps ensure we don't trigger CI on this PR until it is actually authorized to do so. Please ping one of the reviewers if you do not have access to approve and run workflows. |
Add xpu mode to tests from test_qat.py TestQAT module
|
This PR should depends on PR # PR##3249 to be triggered by "ciflow/xpu" |
Add xpu mode to tests from test_qat.py TestQAT module