Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions linear_operator/utils/linear_cg.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def _default_preconditioner(x):
return x.clone()


@torch.jit.script
@torch.compile
def _jit_linear_cg_updates(
result,
alpha,
Expand Down Expand Up @@ -47,7 +47,7 @@ def _jit_linear_cg_updates(
curr_conjugate_vec.mul_(beta).add_(precond_residual)


@torch.jit.script
@torch.compile
def _jit_linear_cg_updates_no_precond(
mvms,
result,
Expand Down