Publish GPU wheel as separate openimpala-cuda PyPI package#191
Merged
jameslehoux merged 2 commits intomasterfrom Mar 23, 2026
Merged
Publish GPU wheel as separate openimpala-cuda PyPI package#191jameslehoux merged 2 commits intomasterfrom
jameslehoux merged 2 commits intomasterfrom
Conversation
The GPU workflow now patches pyproject.toml to set the distribution name to 'openimpala-cuda' before building. The import name stays 'openimpala' — only the pip package name differs, so users choose between `pip install openimpala` (CPU) and `pip install openimpala-cuda` (CUDA GPU). __init__.py resolves version from either package. All tutorials and notebooks updated to install openimpala-cuda to leverage Colab T4 GPUs. https://claude.ai/code/session_01WR9HkUD95rp3XzZU95j2y7
Code Coverage ReportGenerated by CI — coverage data from gcovr |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
The manylinux_2_34 container ships GCC 14+ which is unsupported by CUDA 12.6's nvcc (max GCC 13). Install gcc-toolset-13 and set CC/CXX/FC to GCC 13 for all dependency builds and wheel compilation. Also fixes: - Quote semicolons in CMAKE_CUDA_ARCHITECTURES to prevent shell splitting (was causing "sh: line 1: 70: command not found" errors) - Pass CUDAFLAGS="-allow-unsupported-compiler" to HYPRE build as safety net - Set CUDAHOSTCXX and CMAKE_CUDA_HOST_COMPILER for AMReX and OpenImpala - Bump cache key to force rebuild with new toolchain https://claude.ai/code/session_01WR9HkUD95rp3XzZU95j2y7
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.
The GPU workflow now patches pyproject.toml to set the distribution name to 'openimpala-cuda' before building. The import name stays 'openimpala' — only the pip package name differs, so users choose between
pip install openimpala(CPU) andpip install openimpala-cuda(CUDA GPU). init.py resolves version from either package.All tutorials and notebooks updated to install openimpala-cuda to leverage Colab T4 GPUs.