Skip to content

Commit

Permalink
Set PyNVML upper pin (#323)
Browse files Browse the repository at this point in the history
The plan is for `pynvml` to become a metapackage in version 12, where it not anymore ship NVML bindings but instead install `nvidia-ml-py` to serve the official NVML bindings. To provide a better future support, setting an upper pin for `pynvml` is a safer choice.

Authors:
  - Peter Andreas Entschev (https://github.com/pentschev)

Approvers:
  - https://github.com/jakirkham

URL: #323
  • Loading branch information
pentschev authored Nov 21, 2024
1 parent 042261d commit 5238822
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion conda/environments/all_cuda-118_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ dependencies:
- pip
- pkg-config
- pre-commit
- pynvml>=11.4.1
- pynvml>=11.4.1,<12.0.0a0
- pytest-asyncio
- pytest-rerunfailures
- pytest==7.*
Expand Down
2 changes: 1 addition & 1 deletion conda/environments/all_cuda-125_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ dependencies:
- pip
- pkg-config
- pre-commit
- pynvml>=11.4.1
- pynvml>=11.4.1,<12.0.0a0
- pytest-asyncio
- pytest-rerunfailures
- pytest==7.*
Expand Down
2 changes: 1 addition & 1 deletion conda/recipes/ucxx/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ outputs:
- {{ pin_subpackage('libucxx', exact=True) }}
- {{ pin_compatible('rmm', max_pin='x.x') }}
- numpy>=1.23,<3.0a0
- pynvml >=11.4.1
- pynvml >=11.4.1,<12.0.0a0
run_constrained:
- cupy >=9.5.0
- numba >=0.57.0
Expand Down
2 changes: 1 addition & 1 deletion dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ dependencies:
- output_types: [conda, requirements, pyproject]
packages:
- &numpy numpy>=1.23,<3.0a0
- pynvml>=11.4.1
- pynvml>=11.4.1,<12.0.0a0
run_python_distributed_ucxx:
common:
- output_types: [conda, requirements, pyproject]
Expand Down
2 changes: 1 addition & 1 deletion python/ucxx/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ requires-python = ">=3.10"
dependencies = [
"libucxx==0.41.*,>=0.0.0a0",
"numpy>=1.23,<3.0a0",
"pynvml>=11.4.1",
"pynvml>=11.4.1,<12.0.0a0",
"rmm==24.12.*,>=0.0.0a0",
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.
classifiers = [
Expand Down

0 comments on commit 5238822

Please sign in to comment.