Skip to content

Commit

Permalink
[torch_xla2] delete duplicated aten.trunc implementation (#8300)
Browse files Browse the repository at this point in the history
  • Loading branch information
ManfeiBai authored Oct 22, 2024
1 parent b2260a6 commit 25fc630
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions experimental/torch_xla2/torch_xla2/ops/jaten.py
Original file line number Diff line number Diff line change
Expand Up @@ -2870,11 +2870,6 @@ def _aten_triu_indices(row, col, offset=0, *, dtype=jnp.int64.dtype, layout=None
a, b = jnp.triu_indices(row, offset, col)
return jnp.stack((a, b))

# aten.trunc
@op(torch.ops.aten.trunc)
def _aten_trunc(a):
return jnp.trunc(a)


@op(torch.ops.aten.unbind_copy)
def _aten_unbind(a, dim=0):
Expand Down

0 comments on commit 25fc630

Please sign in to comment.