Installation¶
qpax runs on CPU out of the box and on NVIDIA GPUs through JAX's CUDA
wheels. Pick the variant that matches your hardware, or install from source
if you plan to read or modify the code.
Quick install¶
Install the latest release from PyPI with pip:
The GPU variants pull in the matching jax[cuda12] / jax[cuda13] extras.
You only need one — match it to the CUDA toolkit on your machine.
Installing from source¶
Clone the repository and install in editable mode:
Then pick the variant you want:
Verify installation¶
Run the test suite from the repository root:
A clean run prints a summary line ending in passed. If you only want a
quick sanity check, this single import is enough: