gpuastar-cu
gpuastar-cu is the CUDA solver backend for GPUAStar. The search kernels in csrc/bwas_kernel.cu are compiled into an extension and exposed as PyTorch custom operators. The search loop in src/gpuastar_cu/search.py launches them.
Install through the root project extra:
python -m pip install "gpuastar[cu]"
The package owns the gpuastar_cu import package and registers the cu backend through the gpuastar.backends entry-point group. The base gpuastar wheel contains no CUDA extension files. gpuastar_cu.load_library() probes the compiled extension independently, while gpuastar_cu.is_available() requires both a loadable extension and CUDA hardware detected by Torch.
Release wheels target glibc-based Linux on x86_64 and aarch64. Official PyPI Torch wheels for Windows AMD64 are CPU-only, and macOS has no NVIDIA CUDA runtime. The root gpuastar[cu] marker therefore selects this package only on
the two supported Linux architectures. The CUDA package CMake project can still install its Python sources without the extension for source-tree development and import checks. That source-only mode is not a published target of the root extra. On any platform, gpuastar.backends.get_backend("cu") raises BackendUnavailableError when Torch cannot detect CUDA or the compiled extension cannot load.
Linux x86_64 wheels for CPython 3.10 through 3.13 use Torch 2.6 and CUDA 12.4. Linux x86_64 wheels for CPython 3.14 and 3.14t use Torch 2.11 and CUDA 13.0. All Linux aarch64 wheels use Torch 2.11 and CUDA 13.0 because the earlier official PyPI aarch64 Torch wheels are CPU-only.
The default binary contains SASS for compute capabilities 7.5, 8.0, 8.6, 8.7, 8.9, and 9.0. Compute capability 7.5 is the supported floor. This covers Turing GPUs and Jetson Orin while following the CUDA 13 library floor. The compute 9.0 entry also contains PTX for driver JIT compilation on later architectures.
Run the backend through the GPUAStar CLI:
gpuastar command=astar_search backend.language=cu backend.device=cuda:0 input.env=cube3 input.states=states.pkl input.model=model_state_dict.pt input.results_dir=results/cu
The input.* options can be omitted when the gpuastar[experiments] extra is installed, which provides Rubik's Cube example defaults.
In a source checkout, the extension is built with pixi run -e dev cu-build and the Rubik's Cube smoke test goes through the same CLI entry point:
CUDA_VISIBLE_DEVICES=1 pixi run -e cu-experiments cu-cube3-smoke
Metadata
Release files for gpuastar-cu 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gpuastar_cu-0.1.0.tar.gz | 115.6 kB | Details |
Built distributions (wheels)
Total release size: 163.2 MB
Release files / gpuastar_cu-0.1.0.tar.gz
| Download URL | gpuastar_cu-0.1.0.tar.gz |
|---|---|
| Size | 115.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e710ff8a76c23386b87f0c735360dba53c921fa42407f4853b09c3a10eee1149
|
|
BLAKE2b-256 checksum How to use checksums |
5640aee4f0ef61841066c69787d8909739b992fd503cbadca76519520861f1e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 5, 2026.
Transparency logRelease files / gpuastar_cu-0.1.0-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
| Download URL | gpuastar_cu-0.1.0-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 14.2 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
f088ae21b05eecd58948956298aefa41533cfa522f67481a29dc7b16d87a2bfc
|
|
BLAKE2b-256 checksum How to use checksums |
2eb9306b417fb175599d5dfb721c6b9b6a605dc343557ad52e527c09a61ca2a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 5, 2026.
Transparency logRelease files / gpuastar_cu-0.1.0-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
| Download URL | gpuastar_cu-0.1.0-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 14.2 MB |
| Tags | CPython 3.14 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
b3031b259133c52c966aa8163a0fbe6dab97363126bceef4e6690e712a84a527
|
|
BLAKE2b-256 checksum How to use checksums |
5f722cdd6fc5ce327ca36eb04e66e9d4011762b44cf90324b142196527d15b1b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 5, 2026.
Transparency logRelease files / gpuastar_cu-0.1.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
| Download URL | gpuastar_cu-0.1.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 33.7 MB |
| Tags | CPython 3.13 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
6c9dd648509cfdd535dd6b45fd3f8988f43c2be204d6ae70ff847888662d7dd5
|
|
BLAKE2b-256 checksum How to use checksums |
7656b16d0709e8ab7b9afcb1f174dc11529c3c1ec6f4bf4ea6e994569dc9e915
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 5, 2026.
Transparency logRelease files / gpuastar_cu-0.1.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
| Download URL | gpuastar_cu-0.1.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 33.7 MB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
2e7eb615238a1abb55589838cd8d98514a0b684cba9df31c6207c7ae8827fd4e
|
|
BLAKE2b-256 checksum How to use checksums |
834931f8b2720e4a2ebefac7e2877bc22c8718ba95bd878474903b8539f67947
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 5, 2026.
Transparency logRelease files / gpuastar_cu-0.1.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
| Download URL | gpuastar_cu-0.1.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 33.7 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
4ccd2c5a6eb3a726ed2e4f7f75bb50cde09524787cc65334cbdb9e59477dd3a4
|
|
BLAKE2b-256 checksum How to use checksums |
d9b71700d8a1fbfe132192279d3f8dbb263b11379c3a3423c1466021f8573cb3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 5, 2026.
Transparency logRelease files / gpuastar_cu-0.1.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
| Download URL | gpuastar_cu-0.1.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 33.7 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
fd61c402f32ecaa5959bf2832b714a8a5fdb841b001b77a6645746c368d5cbfa
|
|
BLAKE2b-256 checksum How to use checksums |
bb7c50e3cdf6dd34d6fddb0a40dc792d3076e8f64626ae66f32f481a2fa1345b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 5, 2026.
Transparency log