Skip to content

Conversation

shangerxin
Copy link
Contributor

Description

Fixes #114850, we will port dynamo, fsdp tests to Intel GPU
We could enable Intel GPU with following methods and try the best to keep the original code styles:

Changes

  1. Get device type with from accelerator and get_devtype helper method
  2. Replace the requires cuda statement with requires_gpu.
  3. Replace the cuda() with to(device_type).
  4. Add is_xpu check into the test logic.

Notify

cc @H-Huang @awgu @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @pragupta @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10 @jerryzh168 @voznesenskym @penguinwu @EikanWang @Guobing-Chen @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @chenyang78 @kadeng @muchulee8 @amjames @chauhang @aakhundov @coconutruben @Lucaskabela @gujinghui @fengyuan14 @guangyey

Copy link

pytorch-bot bot commented Aug 28, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/161709

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit 49e92d8 with merge base d636c18 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@pytorch-bot pytorch-bot bot added module: dynamo oncall: distributed Add this issue/PR to distributed oncall triage queue topic: not user facing topic category labels Aug 28, 2025
@daisyden daisyden added the ciflow/xpu Run XPU CI tasks label Aug 28, 2025
Copy link

pytorch-bot bot commented Aug 28, 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 Run XPU CI tasks label Aug 28, 2025
@shangerxin shangerxin changed the title Migrate 5 UT test suites for Intel GPU Migrate 6 UT test suites for Intel GPU Sep 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module: dynamo oncall: distributed Add this issue/PR to distributed oncall triage queue open source topic: not user facing topic category
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

[RFC] Add Intel GPU support into PyTorch CI/CD
4 participants