Add CuDSSSolver for GPU-resident SPD sparse solves#14
Draft
vboussange with Copilot wants to merge 4 commits into
Draft
Add CuDSSSolver for GPU-resident SPD sparse solves#14vboussange with Copilot wants to merge 4 commits into
CuDSSSolver for GPU-resident SPD sparse solves#14vboussange with Copilot wants to merge 4 commits into
Conversation
Agent-Logs-Url: https://github.com/vboussange/jaxscape/sessions/8e218cde-5b79-4d07-ac89-74310467f289 Co-authored-by: vboussange <28376122+vboussange@users.noreply.github.com>
Agent-Logs-Url: https://github.com/vboussange/jaxscape/sessions/8e218cde-5b79-4d07-ac89-74310467f289 Co-authored-by: vboussange <28376122+vboussange@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add new linear solver cudss to JAXScape
Add Apr 17, 2026
CuDSSSolver for GPU-resident SPD sparse solves
vboussange
requested changes
Apr 17, 2026
Owner
There was a problem hiding this comment.
@copilot Thanks for the PR. Please update the CI/CD .yaml so that spineax is installed before running the tests, so that we can automatically test the implemented solver. Make sure that a GPU is requested for running the job.
Agent-Logs-Url: https://github.com/vboussange/jaxscape/sessions/e7bc2807-dc0e-45a9-a7a3-ab85ca458ef1 Co-authored-by: vboussange <28376122+vboussange@users.noreply.github.com>
Contributor
Author
Updated in |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds cuDSS-backed sparse linear solves to JAXScape via
spineax. The new solver is exposed alongside the existing custom solvers and plugs intolineax, so it follows the same differentiated solve path as the current solver integrations.New solver
jaxscape.solvers.CuDSSSolverlineax.AbstractLinearSolverspineax.cudss.solver.solvein symmetric-positive-definite mode for Laplacian-based systemsdevice_idLineax integration
BCOOLinearOperator/lineax.linear_solveflowBCOOinputs by converting toBCSRbefore dispatching to cuDSSAPI surface
CuDSSSolverfromjaxscape.solversDocs
spineaxand depends on the CUDA environmentTargeted coverage
lineaxpathExample: