mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[inductor] calibration inductor windows uts (4/N) (#134401)
skip failed UTs of `test/dynamo/test_unspec.py` Pull Request resolved: https://github.com/pytorch/pytorch/pull/134401 Approved by: https://github.com/ezyang
This commit is contained in:
@ -11,6 +11,7 @@ import torch._dynamo.testing
|
||||
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
|
||||
|
||||
|
||||
@ -475,6 +476,9 @@ class UnspecTests(torch._dynamo.test_case.TestCase):
|
||||
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))
|
||||
|
Reference in New Issue
Block a user