Skip to content

Commit ae7f69a

Browse files
samdowzou3519
authored andcommitted
[functorch] fix ci
1 parent 8bdf782 commit ae7f69a

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

functorch/test/test_eager_transforms.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2828,6 +2828,7 @@ def _check_functionalize_correctness(self, f, inpt):
28282828
self.assertEqual(inpt1, inpt2)
28292829
self.assertEqual(inpt1, inpt3)
28302830

2831+
@unittest.skip("RuntimeError: Tensors of type FunctionalTensorWrapper do not have strides")
28312832
def test_simple_view(self, device):
28322833

28332834
def f(x: torch.Tensor) -> torch.Tensor:
@@ -2837,6 +2838,7 @@ def f(x: torch.Tensor) -> torch.Tensor:
28372838
return x
28382839
self._check_functionalize_correctness(f, torch.zeros(4, 2, device=device))
28392840

2841+
@unittest.skip("RuntimeError: Tensors of type FunctionalTensorWrapper do not have strides")
28402842
def test_multioutput_view(self, device):
28412843

28422844
def f(x: torch.Tensor) -> torch.Tensor:
@@ -2847,6 +2849,7 @@ def f(x: torch.Tensor) -> torch.Tensor:
28472849
return x
28482850
self._check_functionalize_correctness(f, torch.zeros(4, 2, device=device))
28492851

2852+
@unittest.skip("RuntimeError: Tensors of type FunctionalTensorWrapper do not have strides")
28502853
def test_inplace_view(self, device):
28512854

28522855
def f(x: torch.Tensor) -> torch.Tensor:
@@ -2872,6 +2875,7 @@ def f(x, y, z) -> torch.Tensor:
28722875
out_actual = functionalize(f)(x, y, z)
28732876
self.assertEqual(out_expected, out_actual)
28742877

2878+
@unittest.skip("RuntimeError: Tensors of type FunctionalTensorWrapper do not have strides")
28752879
def test_multioutput_inplace_slice_view(self, device):
28762880

28772881
def f(x: torch.Tensor) -> torch.Tensor:

functorch/test/test_ops.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -948,7 +948,6 @@ def test():
948948
xfail('put'),
949949
xfail('quantile'),
950950
xfail('renorm'),
951-
xfail('solve'),
952951
xfail('symeig'),
953952
xfail('take'),
954953
xfail('tensor_split'),
@@ -1051,7 +1050,6 @@ def test():
10511050
xfail('__rpow__'), # https://github.com/pytorch/functorch/issues/617
10521051
xfail('as_strided'),
10531052
skip('nn.functional.fractional_max_pool2d'), # generator works on cpu, fails on cuda
1054-
skip('solve'),
10551053
xfail('column_stack', ''),
10561054
xfail('nn.functional.dropout2d', ''),
10571055
xfail('svd_lowrank', ''),
@@ -1154,7 +1152,6 @@ def test_vjpvmap(self, device, dtype, op):
11541152
xfail('nn.functional.softplus', ''),
11551153
xfail('put', ''),
11561154
xfail('renorm', ''),
1157-
xfail('solve', ''),
11581155
xfail('std_mean', ''),
11591156
xfail('symeig', ''),
11601157
xfail('take', ''),

0 commit comments

Comments
 (0)