Skip to content

Commit f093dd7

Browse files
committed
Disable to_copy unit test to re-evaluate conversion
1 parent 3950c9c commit f093dd7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/lowering/creation/test_to_copy.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ def forward(self, x):
2121
return torch.add(to, to)
2222

2323

24+
# aten.to_copy is used to convert a dtype to another.
25+
# TODO: Will need to re-evaluate the conversion.
26+
@pytest.mark.xfail
2427
@pytest.mark.parametrize(
2528
"input_shapes",
2629
[[(4, 4)]],
@@ -43,6 +46,7 @@ def test_to_copy(device, input_shapes):
4346
assert torch.allclose(result_before, result_after, rtol=0.2)
4447

4548

49+
@pytest.mark.xfail
4650
@pytest.mark.parametrize(
4751
"input_shapes",
4852
[[(4, 4)]],

0 commit comments

Comments
 (0)