-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Labels
questionUser queriesUser queries
Description
Thanks a lot for this super nice library.
I'm using Lineax for the GMRES iterative solver, which I use with a preconditioner and a good initial guess.
solver_out = lx.linear_solve(
operator,
rhs,
lx.GRMES(...),
options={'y0': x0, 'preconditioner': precond},
)I've been experiencing issues with convergence. Forward pass works fine, so I suspect issue comes from gradient computation.
My questions:
- I'm not 100% sure issue comes from the VJP computation since I don't know how to capture the variable of the backward pass. If you have pointers on that I'm happy to look into.
- Lineax is not using a preconditioner for the backward pass. Writing this issue, I realized this has been fixed in Fixes for preconditioned krylov solvers #162. Though, wouldn't
x0.Tbe a good initial guess for the backward pass too?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionUser queriesUser queries