@@ -1904,11 +1904,17 @@ def test_aten_gelu_0(self):
19041904 kwargs = dict ()
19051905 run_export_and_compare (self , torch .ops .aten .gelu , args , kwargs )
19061906
1907- @unittest .skip
19081907 def test_aten_gelu_1 (self ):
19091908 args = (torch .randn ((10 , 10 )).to (torch .float16 ),)
19101909 kwargs = dict ()
1911- run_export_and_compare (self , torch .ops .aten .gelu , args , kwargs )
1910+ run_export_and_compare (
1911+ self ,
1912+ torch .ops .aten .gelu ,
1913+ args ,
1914+ kwargs ,
1915+ rtol = 0.001 ,
1916+ atol = 0.01 ,
1917+ )
19121918
19131919 def test_aten_glu_0 (self ):
19141920 args = (
@@ -3082,7 +3088,6 @@ def test_aten_native_group_norm_0(self):
30823088 kwargs = dict ()
30833089 run_export_and_compare (self , torch .ops .aten .native_group_norm , args , kwargs )
30843090
3085- @unittest .skip
30863091 def test_aten_native_group_norm_1 (self ):
30873092 args = (
30883093 torch .randn ((1 , 3 , 2 , 10 )).to (torch .float16 ),
@@ -3095,7 +3100,14 @@ def test_aten_native_group_norm_1(self):
30953100 0.0 ,
30963101 )
30973102 kwargs = dict ()
3098- run_export_and_compare (self , torch .ops .aten .native_group_norm , args , kwargs )
3103+ run_export_and_compare (
3104+ self ,
3105+ torch .ops .aten .native_group_norm ,
3106+ args ,
3107+ kwargs ,
3108+ rtol = 0.001 ,
3109+ atol = 0.01 ,
3110+ )
30993111
31003112 def test_aten_native_layer_norm_0 (self ):
31013113 args = (
@@ -3411,7 +3423,6 @@ def test_aten_reciprocal_1(self):
34113423 kwargs = dict ()
34123424 run_export_and_compare (self , torch .ops .aten .reciprocal , args , kwargs )
34133425
3414- @unittest .skip
34153426 def test_aten_reciprocal_2 (self ):
34163427 args = (torch .randint (0 , 10 , (10 , 10 )).to (torch .int32 ),)
34173428 kwargs = dict ()
@@ -4009,7 +4020,6 @@ def test_aten_sigmoid_1(self):
40094020 kwargs = dict ()
40104021 run_export_and_compare (self , torch .ops .aten .sigmoid , args , kwargs )
40114022
4012- @unittest .skip
40134023 def test_aten_sigmoid_2 (self ):
40144024 args = (torch .randint (0 , 10 , (10 , 10 )).to (torch .int32 ),)
40154025 kwargs = dict ()
0 commit comments