Skip to content

Commit

Permalink
Update jaten.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ManfeiBai authored Nov 14, 2024
1 parent a3bb50f commit 5d446c5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions experimental/torch_xla2/torch_xla2/ops/jaten.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,11 @@ def _aten_index_select(x, dim, index):
return jnp.take(x, index, dim)


@op(torch.ops.aten.cholesky)
def _aten_cholesky(input, upper=False):
return jax.scipy.linalg.cholesky(input, lower=(not upper))


# aten.igammac
@op(torch.ops.aten.igammac)
def _aten_igammac(input, other):
Expand Down

0 comments on commit 5d446c5

Please sign in to comment.