Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport] Add cuda-python[all] for passing through #391

Merged
merged 2 commits into from
Jan 14, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 [[ "${{ inputs.local-ctk }}" == 1 ]]; then
leofang marked this conversation as resolved.
Show resolved Hide resolved
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}"],
},
)
Loading