@@ -2828,8 +2828,6 @@ def _check_functionalize_correctness(self, f, inpt):
2828
2828
self .assertEqual (inpt1 , inpt2 )
2829
2829
self .assertEqual (inpt1 , inpt3 )
2830
2830
2831
- # BUG: RuntimeError: Tensors of type FunctionalTensorWrapper do not have strides
2832
- @unittest .expectedFailure
2833
2831
def test_simple_view (self , device ):
2834
2832
2835
2833
def f (x : torch .Tensor ) -> torch .Tensor :
@@ -2839,8 +2837,6 @@ def f(x: torch.Tensor) -> torch.Tensor:
2839
2837
return x
2840
2838
self ._check_functionalize_correctness (f , torch .zeros (4 , 2 , device = device ))
2841
2839
2842
- # BUG: RuntimeError: Tensors of type FunctionalTensorWrapper do not have strides
2843
- @unittest .expectedFailure
2844
2840
def test_multioutput_view (self , device ):
2845
2841
2846
2842
def f (x : torch .Tensor ) -> torch .Tensor :
@@ -2852,8 +2848,6 @@ def f(x: torch.Tensor) -> torch.Tensor:
2852
2848
self ._check_functionalize_correctness (f , torch .zeros (4 , 2 , device = device ))
2853
2849
2854
2850
2855
- # BUG: RuntimeError: Tensors of type FunctionalTensorWrapper do not have strides
2856
- @unittest .expectedFailure
2857
2851
def test_inplace_view (self , device ):
2858
2852
2859
2853
def f (x : torch .Tensor ) -> torch .Tensor :
@@ -2879,8 +2873,6 @@ def f(x, y, z) -> torch.Tensor:
2879
2873
out_actual = functionalize (f )(x , y , z )
2880
2874
self .assertEqual (out_expected , out_actual )
2881
2875
2882
- # BUG: RuntimeError: Tensors of type FunctionalTensorWrapper do not have strides
2883
- @unittest .expectedFailure
2884
2876
def test_multioutput_inplace_slice_view (self , device ):
2885
2877
2886
2878
def f (x : torch .Tensor ) -> torch .Tensor :
0 commit comments