8000 [Break XPU] Skip newly added test case on XPU that failed because · pytorch/pytorch@ddc628f · GitHub
[go: up one dir, main page]

Skip to content

Commit ddc628f

Browse files
committed
[Break XPU] Skip newly added test case on XPU that failed because
torch._C._scatter not implemented. Fixes #153608 [ghstack-poisoned]
1 parent 71027b1 commit ddc628f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/test_autograd.py

+2
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@
7676
skipIfNoLapack,
7777
skipIfTorchDynamo,
7878
skipIfWindows,
79+
skipIfXpu,
7980
slowTest,
8081
TestCase,
8182
xfailIfTorchDynamo,
@@ -7432,6 +7433,7 @@ def test_checkpointing_without_reentrant_correct_grad(self):
74327433

74337434
# PYTORCH_TEST_WITH_DYNAMO=1 test fails on CI but can't repro locally
74347435
@skipIfTorchDynamo("https://github.com/pytorch/pytorch/issues/127115")
7436+
@skipIfXpu(msg="torch._C._scatter Not implemented on XPU, issue #143239")
74357437
def test_checkpointing_without_reentrant_dataparallel(self):
74367438
"""
74377439
Verifies gradient correctness when checkpoint without reentrant autograd

0 commit comments

Comments
 (0)
0