Releases: sparsexlab/torch-amgx
Releases · sparsexlab/torch-amgx
Release list
v0.1.0a12
fix(solve): never let residual-history diagnostics abort a solve AmgX raises 'Residual history was not recorded' (solver.cu:310) from AMGX_solver_get_iteration_residual when the solver did not store a residual history. That call is pure diagnostics -- x is already downloaded -- so wrap it in its own try/catch and leave last_residual_ as NaN on failure instead of propagating, which previously crashed an otherwise-correct solve. Also request store_res_history=1 in the generated config so the residual is populated where AmgX supports it. Verified on Blackwell (RTX 5060, sm_120): solve now returns a correct result (||Ax-b||/||b|| ~ 5.6e-13).
v0.1.0a11
v0.1.0a11: per-CUDA build-tagged wheels (cu124/cu126/cu128)