Skip to content

Commit

Permalink
Remove random tests in test_core_aten_ops (#6436)
Browse files Browse the repository at this point in the history
  • Loading branch information
qihqi authored and bhavya01 committed Apr 22, 2024
1 parent eb45a22 commit fbaef4c
Showing 1 changed file with 0 additions and 303 deletions.
303 changes: 0 additions & 303 deletions test/test_core_aten_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -808,195 +808,6 @@ def test_aten_bmm_2(self):
kwargs = dict()
run_export_and_compare(self, torch.ops.aten.bmm, args, kwargs)

@unittest.skip
def test_aten_rand_0(self):
args = ([
10,
10,
],)
kwargs = dict((
"device",
cpu,
), (
"pin_memory",
False,
))
run_export_and_compare(self, torch.ops.aten.rand, args, kwargs)

@unittest.skip
def test_aten_rand_1(self):
args = ([
10,
10,
],)
kwargs = dict((
"device",
cpu,
), (
"pin_memory",
False,
))
run_export_and_compare(self, torch.ops.aten.rand, args, kwargs)

@unittest.skip
def test_aten_rand_2(self):
args = ([
10,
10,
],)
kwargs = dict((
"device",
cpu,
), (
"pin_memory",
False,
))
run_export_and_compare(self, torch.ops.aten.rand, args, kwargs)

@unittest.skip
def test_aten_rand_3(self):
args = ([
2,
1,
],)
kwargs = dict()
run_export_and_compare(self, torch.ops.aten.rand, args, kwargs)

@unittest.skip
def test_aten_rand_4(self):
args = ([
10,
10,
],)
kwargs = dict((
"device",
cpu,
), (
"pin_memory",
False,
))
run_export_and_compare(self, torch.ops.aten.rand, args, kwargs)

@unittest.skip
def test_aten_rand_5(self):
args = ([
10,
10,
],)
kwargs = dict((
"device",
cpu,
), (
"pin_memory",
False,
))
run_export_and_compare(self, torch.ops.aten.rand, args, kwargs)

@unittest.skip
def test_aten_rand_6(self):
args = ([
10,
10,
],)
kwargs = dict((
"device",
cpu,
), (
"pin_memory",
False,
))
run_export_and_compare(self, torch.ops.aten.rand, args, kwargs)

@unittest.skip
def test_aten_rand_7(self):
args = ([
10,
10,
],)
kwargs = dict((
"device",
cpu,
), (
"pin_memory",
False,
))
run_export_and_compare(self, torch.ops.aten.rand, args, kwargs)

@unittest.skip
def test_aten_rand_8(self):
args = ([
10,
10,
],)
kwargs = dict((
"device",
cpu,
), (
"pin_memory",
False,
))
run_export_and_compare(self, torch.ops.aten.rand, args, kwargs)

@unittest.skip
def test_aten_rand_9(self):
args = ([
10,
10,
],)
kwargs = dict((
"device",
cpu,
), (
"pin_memory",
False,
))
run_export_and_compare(self, torch.ops.aten.rand, args, kwargs)

@unittest.skip
def test_aten_rand_10(self):
args = ([
10,
10,
],)
kwargs = dict((
"device",
cpu,
), (
"pin_memory",
False,
))
run_export_and_compare(self, torch.ops.aten.rand, args, kwargs)

@unittest.skip
def test_aten_rand_11(self):
args = ([
10,
10,
],)
kwargs = dict((
"device",
cpu,
), (
"pin_memory",
False,
))
run_export_and_compare(self, torch.ops.aten.rand, args, kwargs)

@unittest.skip
def test_aten_rand_12(self):
args = ([
10,
10,
],)
kwargs = dict((
"device",
cpu,
), (
"pin_memory",
False,
))
run_export_and_compare(self, torch.ops.aten.rand, args, kwargs)

def test_aten_cat_0(self):
args = (
[
Expand Down Expand Up @@ -1970,114 +1781,6 @@ def test_aten_hardtanh_2(self):
kwargs = dict()
run_export_and_compare(self, torch.ops.aten.hardtanh, args, kwargs)

@unittest.skip
def test_aten_randint_low_0(self):
args = (
0,
10,
[
1,
],
)
kwargs = dict((
"device",
cpu,
), (
"pin_memory",
False,
))
run_export_and_compare(self, torch.ops.aten.randint.low, args, kwargs)

@unittest.skip
def test_aten_randint_low_1(self):
args = (
0,
10,
[
1,
],
)
kwargs = dict((
"device",
cpu,
), (
"pin_memory",
False,
))
run_export_and_compare(self, torch.ops.aten.randint.low, args, kwargs)

@unittest.skip
def test_aten_randint_low_2(self):
args = (
0,
10,
[
1,
],
)
kwargs = dict((
"device",
cpu,
), (
"pin_memory",
False,
))
run_export_and_compare(self, torch.ops.aten.randint.low, args, kwargs)

@unittest.skip
def test_aten_randint_low_3(self):
args = (
0,
2,
[
2,
],
)
kwargs = dict((
"device",
cpu,
), (
"pin_memory",
False,
))
run_export_and_compare(self, torch.ops.aten.randint.low, args, kwargs)

@unittest.skip
def test_aten_randint_low_4(self):
args = (
0,
2,
[
2,
],
)
kwargs = dict((
"device",
cpu,
), (
"pin_memory",
False,
))
run_export_and_compare(self, torch.ops.aten.randint.low, args, kwargs)

@unittest.skip
def test_aten_randint_low_5(self):
args = (
0,
2,
[
2,
],
)
kwargs = dict((
"device",
cpu,
), (
"pin_memory",
False,
))
run_export_and_compare(self, torch.ops.aten.randint.low, args, kwargs)

def test_aten_index_put_0(self):
args = (
torch.randn((10, 10)).to(torch.float32),
Expand Down Expand Up @@ -3348,12 +3051,6 @@ def test_aten_prod_dim_int_1(self):
kwargs = dict()
run_export_and_compare(self, torch.ops.aten.prod.dim_int, args, kwargs)

@unittest.skip
def test_aten_randperm_0(self):
args = (20,)
kwargs = dict()
run_export_and_compare(self, torch.ops.aten.randperm, args, kwargs)

def test_aten_reciprocal_0(self):
args = (torch.randn((10, 10)).to(torch.float32),)
kwargs = dict()
Expand Down

0 comments on commit fbaef4c

Please sign in to comment.