Skip to content

Commit

Permalink
add cuda-python[all] for passing through
Browse files Browse the repository at this point in the history
  • Loading branch information
leofang committed Jan 13, 2025
1 parent 188370e commit 6bb7c0b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/test-wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -217,4 +217,8 @@ jobs:
- name: Ensure cuda-python installable
run: |
pip install cuda_python*.whl
if [[ "${{ inputs.local-ctk }}" == 1 ]]; then
pip install cuda_python*.whl
else
pip install $(ls cuda_python*.whl)[all]
fi
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 6bb7c0b

Please sign in to comment.