Skip to content

Conversation

@agrabow
Copy link
Contributor

@agrabow agrabow commented Oct 15, 2025

Add xpu mode to tests from test_qat.py TestQAT module

@pytorch-bot
Copy link

pytorch-bot bot commented Oct 15, 2025

🔗 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 SEVs

There 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.

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 15, 2025
@lahead
Copy link

lahead commented Oct 24, 2025

@liangan1 please review

@liangan1 liangan1 self-requested a review October 26, 2025 23:11
SEED = 123
GPU_DEVICES = (["cuda"] if torch.cuda.is_available() else []) + (
["xpu"] if torch.xpu.is_available() else []
)
Copy link
Collaborator

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.

@liangan1 liangan1 added topic: improvement Use this tag if this PR is an improvement (doesn't fit into any of the other categories) xpu Intel XPU related features ciflow/xpu label used to trigger xpu CI jobs labels Oct 26, 2025
@pytorch-bot
Copy link

pytorch-bot bot commented Oct 26, 2025

To add the ciflow label ciflow/xpu please first approve the workflows that are awaiting approval (scroll to the bottom of this page).

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.

@pytorch-bot pytorch-bot bot removed the ciflow/xpu label used to trigger xpu CI jobs label Oct 26, 2025
@liangan1 liangan1 added the ciflow/xpu label used to trigger xpu CI jobs label Nov 4, 2025
Add xpu mode to tests from test_qat.py TestQAT module
@pytorch-bot pytorch-bot bot removed the ciflow/xpu label used to trigger xpu CI jobs label Nov 4, 2025
@liangan1
Copy link
Collaborator

liangan1 commented Nov 6, 2025

This PR should depends on PR # PR##3249 to be triggered by "ciflow/xpu"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. topic: improvement Use this tag if this PR is an improvement (doesn't fit into any of the other categories) xpu Intel XPU related features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants