-
Notifications
You must be signed in to change notification settings - Fork 24.9k
[WIP][1/N] Port 5 _composable/fsdp distributed test cases to Intel GPU #159118
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/159118
Note: Links to docs will display an error until the docs builds have been completed. ⏳ No Failures, 8 PendingAs of commit 47762fd with merge base 70b4a88 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
a170c4c
to
d418054
Compare
@pytorchbot label "module: xpu" |
@pytorchbot label "triaged" |
@@ -129,6 +129,9 @@ class TestFullyShardCompile(FSDPTest): | |||
def skipTestForOldSm(self): | |||
# Assumption: This test class is only run on GPU. See `HAS_GPU` check at | |||
# the top of the class. | |||
# XPU is not applicable in this function | |||
if device_type == "xpu": |
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.
Here should provide a whitelist mechanism, skip test iff. device_type = 'cuda' and not sm_is_or_higher_than(device, 8, 0)
@unittest.skipIf(TEST_HPU, "Sleep kernel not supported for HPU") | ||
@unittest.skipIf(TEST_XPU, "sleep kernel not supported on XPU") |
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.
@unittest.skipIf(TEST_HPU, "Sleep kernel not supported for HPU") | |
@unittest.skipIf(TEST_XPU, "sleep kernel not supported on XPU") | |
@unittest.skipIf(TEST_HPU or TEST_XPU, "Sleep kernel not supported.") |
d418054
to
1b3ead9
Compare
1b3ead9
to
5b9e0a0
Compare
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. |
c16839b
to
47762fd
Compare
For #114850, we will port distributed tests to Intel GPU.
We could enable Intel GPU with following methods and try the best to keep the original code styles:
cc @H-Huang @awgu @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @pragupta @gujinghui @EikanWang @fengyuan14 @guangyey