-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added bicgstab to new jax repo (wip)
fixed some bugs in the bicgstab method and adjusted tolerance for scipy comparison fixed flake8 added some tests for gradients, fixed symmetry checks, modified lax.cond -> jnp.where comment out gmres grad check, to be addressed on future PR increasing tolerance for bicgstab grad test change to order 1 checks for bicgstab (gmres still fails in order 1) for internal CI check remove grad checks for now
- Loading branch information
Showing
3 changed files
with
271 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,4 +16,5 @@ | |
from jax._src.scipy.sparse.linalg import ( | ||
cg, | ||
gmres, | ||
bicgstab | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters