Skip to content

Commit

Permalink
Merge pull request #391 from leofang/all_11
Browse files Browse the repository at this point in the history
[Backport] Add `cuda-python[all]` for passing through
  • Loading branch information
leofang authored Jan 14, 2025
2 parents 11b53ba + ace211b commit 8d4b5a2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,11 @@ jobs:
- name: Ensure cuda-python installable
run: |
pip install cuda_python*.whl
if [[ "${{ matrix.local-ctk }}" == 1 ]]; then
pip install cuda_python*.whl
else
pip install $(ls cuda_python*.whl)[all]
fi
checks:
name: Check job status
Expand Down
2 changes: 1 addition & 1 deletion cuda_python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ classifiers = [
"Environment :: GPU :: NVIDIA CUDA",
"Environment :: GPU :: NVIDIA CUDA :: 12",
]
dynamic = ["version", "dependencies"]
dynamic = ["version", "dependencies", "optional-dependencies"]

[project.urls]
homepage = "https://nvidia.github.io/cuda-python/"
Expand Down
3 changes: 3 additions & 0 deletions cuda_python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,7 @@
install_requires=[
f"cuda-bindings~={version}",
],
extras_require={
"all": [f"cuda-bindings[all]~={version}"],
},
)

0 comments on commit 8d4b5a2

Please sign in to comment.