cudass
High-performance CUDA sparse linear solver supporting multiple matrix types, cuDSS, cuSOLVER Dense, and cuSolverSp backends.
Docs: https://moca-technion.github.io/cudass/
Requirements
- PyTorch >= 2.0 with CUDA (from pytorch.org).
- nvidia-cudss-cu12 or nvidia-cudss-cu13 (>=0.6), chosen from
torch.version.cuda(override:CUDASS_CUDA_MAJOR=12or13). Install or let the build install it. - NVIDIA GPU and a driver compatible with your PyTorch CUDA (12.x or 13.x).
Installation
From PyPI (recommended)
pip install cudass
Builds from the sdist at install time. Requires nvcc (CUDA toolkit) on your system; the build pulls in Cython and torch, and picks nvidia-cudss-cu12 or cu13 from your PyTorch’s CUDA.
From source
pip install torch Cython # nvidia-cudss-cu12 or cu13 is chosen from torch.version.cuda
# nvcc (CUDA toolkit): set CUDA_HOME or e.g. module load cuda/12.4 or cuda/13.0
pip install -e .
# Override: CUDASS_CUDA_MAJOR=13 pip install -e . for CUDA 13
Quick Start
from cudass import CUDASparseSolver, MatrixType
solver = CUDASparseSolver(matrix_type=MatrixType.SPD, use_cache=True)
solver.update_matrix((index, value, m, n))
x = solver.solve(b)
License
Apache 2.0. See LICENSE.
This project uses third-party packages (e.g. PyTorch, NVIDIA cuDSS, Cython) and optional libraries (e.g. nvmath). See NOTICE for attributions and a pointer to their licenses. Your use of those components is subject to their terms.
Metadata
Release files for cudass 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cudass-0.1.3.tar.gz | 42.8 kB | Without provenance | Details for cudass-0.1.3.tar.gz |
Release files / cudass-0.1.3.tar.gz
| Download URL | cudass-0.1.3.tar.gz |
|---|---|
| Size | 42.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
452c1ae5d9e461d2ef458de821e3ad3f1131c63e776689d1041ed05ad91feda6
|
|
BLAKE2b-256 checksum How to use checksums |
9653dad805db62df07d077991b3cba0e146a8c2fa09b3f917b95f9509b530f7c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Security for cudass 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.