Skip to content

Commit 23165d2

Browse files
committed
Move cudnn pin to tests
Signed-off-by: Michał Górny <[email protected]>
1 parent a989294 commit 23165d2

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

recipe/meta.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,7 @@ requirements:
121121
- rsync # [unix]
122122
host:
123123
# GPU requirements
124-
# cudnn pinned over segfaults
125-
# https://github.com/conda-forge/pytorch-cpu-feedstock/pull/411
126-
- cudnn <9.11 # [cuda_compiler_version != "None"]
124+
- cudnn # [cuda_compiler_version != "None"]
127125
- nccl # [cuda_compiler_version != "None" and linux]
128126
- magma # [cuda_compiler_version != "None"]
129127
- cuda-version {{ cuda_compiler_version }} # [cuda_compiler_version != "None"]
@@ -174,7 +172,7 @@ requirements:
174172
- zlib
175173
run:
176174
# GPU requirements without run_exports
177-
- cudnn <9.11 # [cuda_compiler_version != "None"]
175+
- cudnn # [cuda_compiler_version != "None"]
178176
- intel-openmp {{ mkl }} # [win]
179177
- libblas * *{{ blas_impl }} # [blas_impl == "mkl"]
180178
run_constrained:
@@ -277,7 +275,7 @@ outputs:
277275
host:
278276
- {{ pin_subpackage('libtorch', exact=True) }}
279277
# GPU requirements
280-
- cudnn <9.11 # [cuda_compiler_version != "None"]
278+
- cudnn # [cuda_compiler_version != "None"]
281279
- nccl # [cuda_compiler_version != "None" and linux]
282280
- cuda-version {{ cuda_compiler_version }} # [cuda_compiler_version != "None"]
283281
- nvtx-c # [cuda_compiler_version != "None"]
@@ -332,7 +330,7 @@ outputs:
332330
- libblas * *{{ blas_impl }} # [blas_impl == "mkl"]
333331
- nomkl # [blas_impl != "mkl"]
334332
# GPU requirements without run_exports
335-
- cudnn <9.11 # [cuda_compiler_version != "None"]
333+
- cudnn # [cuda_compiler_version != "None"]
336334
- triton =={{ triton }} # [cuda_compiler_version != "None" and not win]
337335
# avoid that people without GPUs needlessly download ~0.5-1GB
338336
- __cuda # [cuda_compiler_version != "None"]
@@ -386,6 +384,10 @@ outputs:
386384
- cuda-nvrtc-dev # [cuda_compiler_version != "None"]
387385
- nvtx-c # [cuda_compiler_version != "None"]
388386
- pybind11
387+
# cudnn >=9.11 removed support older GPUs that are still supported by CUDA 12
388+
# pin tests since the CI uses sm70 that is no longer supported at the moment
389+
# pending https://github.com/conda-forge/admin-requests/pull/1687
390+
- cudnn <9.11 # [cuda_compiler_version != "None"]
389391
imports:
390392
- torch
391393
- torch._C

0 commit comments

Comments
 (0)