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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gpuastar_cu-0.1.0.tar.gz.
File metadata
- Download URL: gpuastar_cu-0.1.0.tar.gz
- Upload date:
- Size: 115.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e710ff8a76c23386b87f0c735360dba53c921fa42407f4853b09c3a10eee1149
|
|
| MD5 |
c7be1423759ac1888f499e88bef83752
|
|
| BLAKE2b-256 |
5640aee4f0ef61841066c69787d8909739b992fd503cbadca76519520861f1e9
|
Provenance
The following attestation bundles were made for gpuastar_cu-0.1.0.tar.gz:
Publisher:
publish_pypi.yml on misaghsoltani/GPUAStar
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gpuastar_cu-0.1.0.tar.gz -
Subject digest:
e710ff8a76c23386b87f0c735360dba53c921fa42407f4853b09c3a10eee1149 - Sigstore transparency entry: 2346644549
- Sigstore integration time:
-
Permalink:
misaghsoltani/GPUAStar@054dc7c6662ee905d6757def460cc98fd9d2d10d -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/misaghsoltani
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_pypi.yml@054dc7c6662ee905d6757def460cc98fd9d2d10d -
Trigger Event:
push
-
Statement type:
File details
Details for the file gpuastar_cu-0.1.0-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: gpuastar_cu-0.1.0-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 14.2 MB
- Tags: CPython 3.14t, manylinux: glibc 2.24+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f088ae21b05eecd58948956298aefa41533cfa522f67481a29dc7b16d87a2bfc
|
|
| MD5 |
202b180f85ba9e71b50cf67dcb81d7d5
|
|
| BLAKE2b-256 |
2eb9306b417fb175599d5dfb721c6b9b6a605dc343557ad52e527c09a61ca2a1
|
Provenance
The following attestation bundles were made for gpuastar_cu-0.1.0-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl:
Publisher:
publish_pypi.yml on misaghsoltani/GPUAStar
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gpuastar_cu-0.1.0-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl -
Subject digest:
f088ae21b05eecd58948956298aefa41533cfa522f67481a29dc7b16d87a2bfc - Sigstore transparency entry: 2346644675
- Sigstore integration time:
-
Permalink:
misaghsoltani/GPUAStar@054dc7c6662ee905d6757def460cc98fd9d2d10d -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/misaghsoltani
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_pypi.yml@054dc7c6662ee905d6757def460cc98fd9d2d10d -
Trigger Event:
push
-
Statement type:
File details
Details for the file gpuastar_cu-0.1.0-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: gpuastar_cu-0.1.0-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 14.2 MB
- Tags: CPython 3.14, manylinux: glibc 2.24+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b3031b259133c52c966aa8163a0fbe6dab97363126bceef4e6690e712a84a527
|
|
| MD5 |
0039e3e3139d0f75032543633a38f160
|
|
| BLAKE2b-256 |
5f722cdd6fc5ce327ca36eb04e66e9d4011762b44cf90324b142196527d15b1b
|
Provenance
The following attestation bundles were made for gpuastar_cu-0.1.0-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl:
Publisher:
publish_pypi.yml on misaghsoltani/GPUAStar
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gpuastar_cu-0.1.0-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl -
Subject digest:
b3031b259133c52c966aa8163a0fbe6dab97363126bceef4e6690e712a84a527 - Sigstore transparency entry: 2346644613
- Sigstore integration time:
-
Permalink:
misaghsoltani/GPUAStar@054dc7c6662ee905d6757def460cc98fd9d2d10d -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/misaghsoltani
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_pypi.yml@054dc7c6662ee905d6757def460cc98fd9d2d10d -
Trigger Event:
push
-
Statement type:
File details
Details for the file gpuastar_cu-0.1.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: gpuastar_cu-0.1.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 33.7 MB
- Tags: CPython 3.13, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6c9dd648509cfdd535dd6b45fd3f8988f43c2be204d6ae70ff847888662d7dd5
|
|
| MD5 |
b622040c222fdf144aeee8ddb6d1d916
|
|
| BLAKE2b-256 |
7656b16d0709e8ab7b9afcb1f174dc11529c3c1ec6f4bf4ea6e994569dc9e915
|
Provenance
The following attestation bundles were made for gpuastar_cu-0.1.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl:
Publisher:
publish_pypi.yml on misaghsoltani/GPUAStar
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gpuastar_cu-0.1.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl -
Subject digest:
6c9dd648509cfdd535dd6b45fd3f8988f43c2be204d6ae70ff847888662d7dd5 - Sigstore transparency entry: 2346644874
- Sigstore integration time:
-
Permalink:
misaghsoltani/GPUAStar@054dc7c6662ee905d6757def460cc98fd9d2d10d -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/misaghsoltani
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_pypi.yml@054dc7c6662ee905d6757def460cc98fd9d2d10d -
Trigger Event:
push
-
Statement type:
File details
Details for the file gpuastar_cu-0.1.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: gpuastar_cu-0.1.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 33.7 MB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e7eb615238a1abb55589838cd8d98514a0b684cba9df31c6207c7ae8827fd4e
|
|
| MD5 |
97837905af391658d57c01ae0051fbf7
|
|
| BLAKE2b-256 |
834931f8b2720e4a2ebefac7e2877bc22c8718ba95bd878474903b8539f67947
|
Provenance
The following attestation bundles were made for gpuastar_cu-0.1.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl:
Publisher:
publish_pypi.yml on misaghsoltani/GPUAStar
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gpuastar_cu-0.1.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl -
Subject digest:
2e7eb615238a1abb55589838cd8d98514a0b684cba9df31c6207c7ae8827fd4e - Sigstore transparency entry: 2346644814
- Sigstore integration time:
-
Permalink:
misaghsoltani/GPUAStar@054dc7c6662ee905d6757def460cc98fd9d2d10d -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/misaghsoltani
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_pypi.yml@054dc7c6662ee905d6757def460cc98fd9d2d10d -
Trigger Event:
push
-
Statement type:
File details
Details for the file gpuastar_cu-0.1.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: gpuastar_cu-0.1.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 33.7 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ccd2c5a6eb3a726ed2e4f7f75bb50cde09524787cc65334cbdb9e59477dd3a4
|
|
| MD5 |
94ed1538521286d0da9a929cc43046b5
|
|
| BLAKE2b-256 |
d9b71700d8a1fbfe132192279d3f8dbb263b11379c3a3423c1466021f8573cb3
|
Provenance
The following attestation bundles were made for gpuastar_cu-0.1.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl:
Publisher:
publish_pypi.yml on misaghsoltani/GPUAStar
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gpuastar_cu-0.1.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl -
Subject digest:
4ccd2c5a6eb3a726ed2e4f7f75bb50cde09524787cc65334cbdb9e59477dd3a4 - Sigstore transparency entry: 2346644934
- Sigstore integration time:
-
Permalink:
misaghsoltani/GPUAStar@054dc7c6662ee905d6757def460cc98fd9d2d10d -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/misaghsoltani
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_pypi.yml@054dc7c6662ee905d6757def460cc98fd9d2d10d -
Trigger Event:
push
-
Statement type:
File details
Details for the file gpuastar_cu-0.1.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: gpuastar_cu-0.1.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 33.7 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fd61c402f32ecaa5959bf2832b714a8a5fdb841b001b77a6645746c368d5cbfa
|
|
| MD5 |
8ce555fa5a287d3f2273dcf947170955
|
|
| BLAKE2b-256 |
bb7c50e3cdf6dd34d6fddb0a40dc792d3076e8f64626ae66f32f481a2fa1345b
|
Provenance
The following attestation bundles were made for gpuastar_cu-0.1.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl:
Publisher:
publish_pypi.yml on misaghsoltani/GPUAStar
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gpuastar_cu-0.1.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl -
Subject digest:
fd61c402f32ecaa5959bf2832b714a8a5fdb841b001b77a6645746c368d5cbfa - Sigstore transparency entry: 2346644757
- Sigstore integration time:
-
Permalink:
misaghsoltani/GPUAStar@054dc7c6662ee905d6757def460cc98fd9d2d10d -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/misaghsoltani
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_pypi.yml@054dc7c6662ee905d6757def460cc98fd9d2d10d -
Trigger Event:
push
-
Statement type: