Skip to content

Commit

Permalink
Add cuda-version to constrain the related cuda libraries to the same …
Browse files Browse the repository at this point in the history
…version as the cuda compiler during the build per conda-forge/conda-forge.github.io#1963

fixes conda-forge#112

Signed-off-by: Jonathan Swartz <[email protected]>
  • Loading branch information
swahtz committed Jan 16, 2025
1 parent aba3940 commit 0286147
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion recipe/recipe.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
context:
version: 0.20.1
build_number: 4
build_number: 5
# see github.com/conda-forge/conda-forge.github.io/issues/1059 for naming discussion
# torchvision requires that CUDA major and minor versions match with pytorch
# https://github.com/pytorch/vision/blob/fa99a5360fbcd1683311d57a76fcc0e7323a4c1e/torchvision/extension.py#L79C1-L85C1
Expand Down Expand Up @@ -133,6 +133,7 @@ outputs:
- setuptools
- if: cuda_compiler_version != "None"
then:
- cuda-version {{ cuda_compiler_version }}
- cudnn
- libcublas-dev
- libcusolver-dev
Expand Down

0 comments on commit 0286147

Please sign in to comment.