Skip to content

Commit

Permalink
[inductor] calibration inductor windows uts (4/N) (pytorch#134401)
Browse files Browse the repository at this point in the history
skip failed UTs of `test/dynamo/test_unspec.py`

Pull Request resolved: pytorch#134401
Approved by: https://github.com/ezyang
  • Loading branch information
xuhancn authored and pytorchmergebot committed Aug 25, 2024
1 parent 74ef74b commit 907c32f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/dynamo/test_unspec.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import torch.nn.functional as F
from torch._dynamo.comptime import comptime
from torch._dynamo.testing import CompileCounter, same
from torch.testing._internal.common_utils import skipIfWindows
from torch.testing._internal.logging_utils import logs_to_string


Expand Down Expand Up @@ -475,6 +476,9 @@ def f4(v):
self.assertEqual(f3(r), optimize(f3)(r))
self.assertEqual(f4(r), optimize(f4)(r))

@skipIfWindows(
msg="AssertionError: The values for attribute 'dtype' do not match: torch.int32 != torch.int64."
)
def test_to_tensor(self):
def f1():
a = np.random.uniform(low=-1, high=1, size=(20, 1))
Expand Down

0 comments on commit 907c32f

Please sign in to comment.