mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Revert expectFailureIf condition on tests with torch.compile on Windows (#134759)
Fixes #134716
This PR reverts some changes introduced in 6eae569546
(#133987)
torch.compile is not available on Windows, tests should be expected to fail.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/134759
Approved by: https://github.com/malfet
This commit is contained in:
committed by
PyTorch MergeBot
parent
a4030e37be
commit
a7643baceb
@ -5141,8 +5141,9 @@ def traceable(f):
|
||||
@markDynamoStrictTest
|
||||
class TestCompileTransforms(TestCase):
|
||||
@skipIfRocm(msg="test leaks memory on ROCm")
|
||||
# torch.compile is not supported on Windows CUDA.
|
||||
# Triton only supports GPU with SM70 or later.
|
||||
@expectedFailureIf(TEST_CUDA and not SM70OrLater)
|
||||
@expectedFailureIf((IS_WINDOWS and TEST_CUDA) or (TEST_CUDA and not SM70OrLater))
|
||||
def test_compile_vmap_hessian(self, device):
|
||||
# The model and inputs are a smaller version
|
||||
# of code at benchmark repo:
|
||||
|
Reference in New Issue
Block a user