Skip to content

Commit

Permalink
Disable to_copy unit test to re-evaluate conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinwuTT committed Aug 12, 2024
1 parent 3950c9c commit f093dd7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/lowering/creation/test_to_copy.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ def forward(self, x):
return torch.add(to, to)


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


@pytest.mark.xfail
@pytest.mark.parametrize(
"input_shapes",
[[(4, 4)]],
Expand Down

0 comments on commit f093dd7

Please sign in to comment.