From 8eec861aea4add119d68f3dc6ef89ee2d54ea5dc Mon Sep 17 00:00:00 2001 From: Billy Suh Date: Thu, 14 Aug 2025 09:25:14 -0700 Subject: [PATCH 1/6] update cuda 12.9 migrator; add cuda 13.0 migrator; change recipe for v9.12; Ref: https://github.com/conda-forge/conda-forge-pinning-feedstock/pull/7653#issuecomment-3181915389 --- .ci_support/migrations/cuda129.yaml | 7 ++++ .ci_support/migrations/cuda130.yaml | 57 +++++++++++++++++++++++++++++ recipe/meta.yaml | 20 +++++----- 3 files changed, 75 insertions(+), 9 deletions(-) create mode 100644 .ci_support/migrations/cuda130.yaml diff --git a/.ci_support/migrations/cuda129.yaml b/.ci_support/migrations/cuda129.yaml index 6a49f06..5f26dbf 100644 --- a/.ci_support/migrations/cuda129.yaml +++ b/.ci_support/migrations/cuda129.yaml @@ -18,6 +18,7 @@ __migrator: - 12.8 - None - 12.9 + - 13.0 # to allow manual opt-in for CUDA 11.8, see # https://github.com/conda-forge/conda-forge-pinning-feedstock/pull/7472 # must be last due to how cuda_compiler ordering in that migrator works @@ -44,6 +45,12 @@ __migrator: cuda_compiler_version: # [((linux and (x86_64 or aarch64)) or win64) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - 12.9 # [((linux and (x86_64 or aarch64)) or win64) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] +cuda_compiler_version_min: # [((linux and (x86_64 or aarch64)) or win64) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] + - 12.9 # [((linux and (x86_64 or aarch64)) or win64) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] + +c_stdlib_version: # [(linux and (x86_64 or aarch64)) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] + - 2.28 # [(linux and (x86_64 or aarch64)) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] + c_compiler_version: # [(linux and (x86_64 or aarch64)) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - 14 # [(linux and (x86_64 or aarch64)) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] diff --git a/.ci_support/migrations/cuda130.yaml b/.ci_support/migrations/cuda130.yaml new file mode 100644 index 0000000..c1faa8f --- /dev/null +++ b/.ci_support/migrations/cuda130.yaml @@ -0,0 +1,57 @@ +migrator_ts: 1755016036 +__migrator: + operation: key_add + migration_number: + 1 + build_number: + 0 + paused: false + override_cbc_keys: + - cuda_compiler_stub + check_solvable: false + primary_key: cuda_compiler_version + ordering: + cuda_compiler_version: + - 12.4 + - 12.6 + - 12.8 + - None + - 12.9 + - 13.0 + # to allow manual opt-in for CUDA 11.8, see + # https://github.com/conda-forge/conda-forge-pinning-feedstock/pull/7472 + # must be last due to how cuda_compiler ordering in that migrator works + - 11.8 + wait_for_migrators: + - cuda129 + commit_message: | + Upgrade to CUDA 13.0 + + CUDA 13.0 removed support for architectures before `sm_75`, and renamed `sm_101` to + `sm_110`. To build for these, maintainers will need to modify their existing list of + specified architectures (e.g. `CMAKE_CUDA_ARCHITECTURES`, `TORCH_CUDA_ARCH_LIST`, etc.) + for their package. + + Since CUDA 12.8, the conda-forge nvcc package now sets `CUDAARCHS` and + `TORCH_CUDA_ARCH_LIST` in its activation script to a string containing all + of the supported real architectures plus the virtual architecture of the + latest. Recipes for packages who use these variables to control their build + but do not want to build for all supported architectures will need to override + these variables in their build script. + + ref: https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html#new-features + +cuda_compiler_version: # [((linux and (x86_64 or aarch64)) or win64) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] + - 13.0 # [((linux and (x86_64 or aarch64)) or win64) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] + +c_stdlib_version: # [(linux and (x86_64 or aarch64)) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] + - 2.28 # [(linux and (x86_64 or aarch64)) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] + +c_compiler_version: # [(linux and (x86_64 or aarch64)) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] + - 14 # [(linux and (x86_64 or aarch64)) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] + +cxx_compiler_version: # [(linux and (x86_64 or aarch64)) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] + - 14 # [(linux and (x86_64 or aarch64)) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] + +fortran_compiler_version: # [(linux and (x86_64 or aarch64)) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] + - 14 # [(linux and (x86_64 or aarch64)) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] diff --git a/recipe/meta.yaml b/recipe/meta.yaml index a175972..fe19829 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -13,9 +13,13 @@ package: source: url: https://developer.download.nvidia.com/compute/cudnn/redist/cudnn/{{ platform }}/cudnn-{{ platform }}-{{ version }}_cuda12-archive.{{ extension }} # [(cuda_compiler_version or "").startswith("12")] - sha256: b60c8fad01fa1521d2e71ed38887b90478d7f07b3da49fd68ab118a9fee4da48 # [linux64 and (cuda_compiler_version or "").startswith("12")] - sha256: 5fcd6451d88a9d3b7facbc00481fa5e2bb15f2ca6dc6f86e0b2b201bc42ecd56 # [aarch64 and (cuda_compiler_version or "").startswith("12")] - sha256: 947988b49209d0d22c81809f20f8e7a703e9347d519317e1468e11fd70bb195a # [win and (cuda_compiler_version or "").startswith("12")] + url: https://developer.download.nvidia.com/compute/cudnn/redist/cudnn/{{ platform }}/cudnn-{{ platform }}-{{ version }}_cuda13-archive.{{ extension }} # [(cuda_compiler_version or "").startswith("13")] + sha256: be759754e5bd1fcd9b490e224796c87f093c1e92b2b6357854d5371b6aeeb8be # [linux64 and (cuda_compiler_version or "").startswith("12")] + sha256: be759754e5bd1fcd9b490e224796c87f093c1e92b2b6357854d5371b6aeeb8be # [linux64 and (cuda_compiler_version or "").startswith("13")] + sha256: d5cd68d4d09a151ad839a352f6fa01c3f86ccfb498704456892b992c3d8e4c88 # [aarch64 and (cuda_compiler_version or "").startswith("12")] + sha256: d5cd68d4d09a151ad839a352f6fa01c3f86ccfb498704456892b992c3d8e4c88 # [aarch64 and (cuda_compiler_version or "").startswith("13")] + sha256: 320ef15635397b00100ca9e18a94fc75de16a8408f4eb9994d18673377dec4fd # [win and (cuda_compiler_version or "").startswith("12")] + sha256: 320ef15635397b00100ca9e18a94fc75de16a8408f4eb9994d18673377dec4fd # [win and (cuda_compiler_version or "").startswith("13")] build: number: 0 @@ -78,9 +82,8 @@ outputs: run: - arm-variant * {{ arm_variant_type }} # [aarch64] - {{ pin_compatible("cuda-version", min_pin="x", max_pin="x") }} - - cudatoolkit # [(cuda_compiler_version or "").startswith("11")] - - cuda-nvrtc # [(cuda_compiler_version or "").startswith("12")] - - libcublas # [(cuda_compiler_version or "").startswith("12")] + - cuda-nvrtc # [(cuda_compiler_version or "").startswith(("12", "13"))] + - libcublas # [(cuda_compiler_version or "").startswith(("12", "13"))] run_constrained: - libcudnn-jit <0a test: @@ -250,9 +253,8 @@ outputs: run: - {{ pin_compatible("cuda-version", min_pin="x", max_pin="x") }} - arm-variant * {{ arm_variant_type }} # [aarch64] - - cudatoolkit # [(cuda_compiler_version or "").startswith("11")] - - cuda-nvrtc # [(cuda_compiler_version or "").startswith("12")] - - libcublas # [(cuda_compiler_version or "").startswith("12")] + - cuda-nvrtc # [(cuda_compiler_version or "").startswith(("12", "13"))] + - libcublas # [(cuda_compiler_version or "").startswith(("12", "13"))] run_constrained: - libcudnn <0a test: From 1ca19130960906177f124362f7e2d258c8ba94cb Mon Sep 17 00:00:00 2001 From: Billy Suh Date: Thu, 7 Aug 2025 11:49:53 -0700 Subject: [PATCH 2/6] MNT: Re-rendered with conda-build 25.3.2 and conda-smithy 3.51.1 --- .azure-pipelines/azure-pipelines-linux.yml | 8 ++++ .azure-pipelines/azure-pipelines-win.yml | 3 ++ .../linux_64_cuda_compiler_version12.9.yaml | 1 + .../linux_64_cuda_compiler_version13.0.yaml | 37 ++++++++++++++++++ ...nux_aarch64_cuda_compiler_version12.9.yaml | 1 + ...nux_aarch64_cuda_compiler_version13.0.yaml | 39 +++++++++++++++++++ .../win_64_cuda_compiler_version13.0.yaml | 18 +++++++++ README.md | 21 ++++++++++ 8 files changed, 128 insertions(+) create mode 100644 .ci_support/linux_64_cuda_compiler_version13.0.yaml create mode 100644 .ci_support/linux_aarch64_cuda_compiler_version13.0.yaml create mode 100644 .ci_support/win_64_cuda_compiler_version13.0.yaml diff --git a/.azure-pipelines/azure-pipelines-linux.yml b/.azure-pipelines/azure-pipelines-linux.yml index 2ab2b16..4ffc875 100755 --- a/.azure-pipelines/azure-pipelines-linux.yml +++ b/.azure-pipelines/azure-pipelines-linux.yml @@ -12,10 +12,18 @@ jobs: CONFIG: linux_64_cuda_compiler_version12.9 UPLOAD_PACKAGES: 'True' DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 + linux_64_cuda_compiler_version13.0: + CONFIG: linux_64_cuda_compiler_version13.0 + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 linux_aarch64_cuda_compiler_version12.9: CONFIG: linux_aarch64_cuda_compiler_version12.9 UPLOAD_PACKAGES: 'True' DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 + linux_aarch64_cuda_compiler_version13.0: + CONFIG: linux_aarch64_cuda_compiler_version13.0 + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 timeoutInMinutes: 360 variables: {} diff --git a/.azure-pipelines/azure-pipelines-win.yml b/.azure-pipelines/azure-pipelines-win.yml index 28f4202..204da8d 100755 --- a/.azure-pipelines/azure-pipelines-win.yml +++ b/.azure-pipelines/azure-pipelines-win.yml @@ -11,6 +11,9 @@ jobs: win_64_cuda_compiler_version12.9: CONFIG: win_64_cuda_compiler_version12.9 UPLOAD_PACKAGES: 'True' + win_64_cuda_compiler_version13.0: + CONFIG: win_64_cuda_compiler_version13.0 + UPLOAD_PACKAGES: 'True' timeoutInMinutes: 360 variables: CONDA_BLD_PATH: D:\\bld\\ diff --git a/.ci_support/linux_64_cuda_compiler_version12.9.yaml b/.ci_support/linux_64_cuda_compiler_version12.9.yaml index 5719608..0d561c2 100644 --- a/.ci_support/linux_64_cuda_compiler_version12.9.yaml +++ b/.ci_support/linux_64_cuda_compiler_version12.9.yaml @@ -31,6 +31,7 @@ xz: zip_keys: - - c_compiler_version - cxx_compiler_version + - c_stdlib_version - cuda_compiler_version zlib: - '1' diff --git a/.ci_support/linux_64_cuda_compiler_version13.0.yaml b/.ci_support/linux_64_cuda_compiler_version13.0.yaml new file mode 100644 index 0000000..d9ceeaf --- /dev/null +++ b/.ci_support/linux_64_cuda_compiler_version13.0.yaml @@ -0,0 +1,37 @@ +c_compiler: +- gcc +c_compiler_version: +- '14' +c_stdlib: +- sysroot +c_stdlib_version: +- '2.28' +cdt_name: +- conda +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- cuda-nvcc +cuda_compiler_version: +- '13.0' +cudnn: +- '9' +cxx_compiler: +- gxx +cxx_compiler_version: +- '14' +docker_image: +- quay.io/condaforge/linux-anvil-x86_64:alma9 +target_platform: +- linux-64 +xz: +- '5' +zip_keys: +- - c_compiler_version + - cxx_compiler_version + - c_stdlib_version + - cuda_compiler_version +zlib: +- '1' diff --git a/.ci_support/linux_aarch64_cuda_compiler_version12.9.yaml b/.ci_support/linux_aarch64_cuda_compiler_version12.9.yaml index 73585f5..6a90275 100644 --- a/.ci_support/linux_aarch64_cuda_compiler_version12.9.yaml +++ b/.ci_support/linux_aarch64_cuda_compiler_version12.9.yaml @@ -33,6 +33,7 @@ xz: zip_keys: - - c_compiler_version - cxx_compiler_version + - c_stdlib_version - cuda_compiler_version zlib: - '1' diff --git a/.ci_support/linux_aarch64_cuda_compiler_version13.0.yaml b/.ci_support/linux_aarch64_cuda_compiler_version13.0.yaml new file mode 100644 index 0000000..9781b2a --- /dev/null +++ b/.ci_support/linux_aarch64_cuda_compiler_version13.0.yaml @@ -0,0 +1,39 @@ +arm_variant_type: +- sbsa +c_compiler: +- gcc +c_compiler_version: +- '14' +c_stdlib: +- sysroot +c_stdlib_version: +- '2.28' +cdt_name: +- conda +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- cuda-nvcc +cuda_compiler_version: +- '13.0' +cudnn: +- '9' +cxx_compiler: +- gxx +cxx_compiler_version: +- '14' +docker_image: +- quay.io/condaforge/linux-anvil-x86_64:alma9 +target_platform: +- linux-aarch64 +xz: +- '5' +zip_keys: +- - c_compiler_version + - cxx_compiler_version + - c_stdlib_version + - cuda_compiler_version +zlib: +- '1' diff --git a/.ci_support/win_64_cuda_compiler_version13.0.yaml b/.ci_support/win_64_cuda_compiler_version13.0.yaml new file mode 100644 index 0000000..fa26908 --- /dev/null +++ b/.ci_support/win_64_cuda_compiler_version13.0.yaml @@ -0,0 +1,18 @@ +c_compiler: +- vs2022 +c_stdlib: +- vs +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- cuda-nvcc +cuda_compiler_version: +- '13.0' +cudnn: +- '9' +cxx_compiler: +- vs2022 +target_platform: +- win-64 diff --git a/README.md b/README.md index f630490..1250e2b 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,13 @@ Current build status variant + + linux_64_cuda_compiler_version13.0 + + + variant + + linux_aarch64_cuda_compiler_version12.9 @@ -54,6 +61,13 @@ Current build status variant + + linux_aarch64_cuda_compiler_version13.0 + + + variant + + win_64_cuda_compiler_version12.9 @@ -61,6 +75,13 @@ Current build status variant + + win_64_cuda_compiler_version13.0 + + + variant + + From 62b5092d7a645a9e31719e341aa04b4c13cfd43f Mon Sep 17 00:00:00 2001 From: Billy Suh Date: Thu, 14 Aug 2025 10:02:35 -0700 Subject: [PATCH 3/6] update sha256, version --- recipe/meta.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index fe19829..474f1ec 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -1,4 +1,4 @@ -{% set version = "9.11.0.98" %} +{% set version = "9.12.0.46" %} {% set soname = version.split('.')[0] %} {% set majorminorpatch = '.'.join(version.split('.')[:3]) %} {% set platform = "linux-x86_64" %} # [linux64] @@ -14,12 +14,12 @@ package: source: url: https://developer.download.nvidia.com/compute/cudnn/redist/cudnn/{{ platform }}/cudnn-{{ platform }}-{{ version }}_cuda12-archive.{{ extension }} # [(cuda_compiler_version or "").startswith("12")] url: https://developer.download.nvidia.com/compute/cudnn/redist/cudnn/{{ platform }}/cudnn-{{ platform }}-{{ version }}_cuda13-archive.{{ extension }} # [(cuda_compiler_version or "").startswith("13")] - sha256: be759754e5bd1fcd9b490e224796c87f093c1e92b2b6357854d5371b6aeeb8be # [linux64 and (cuda_compiler_version or "").startswith("12")] - sha256: be759754e5bd1fcd9b490e224796c87f093c1e92b2b6357854d5371b6aeeb8be # [linux64 and (cuda_compiler_version or "").startswith("13")] - sha256: d5cd68d4d09a151ad839a352f6fa01c3f86ccfb498704456892b992c3d8e4c88 # [aarch64 and (cuda_compiler_version or "").startswith("12")] - sha256: d5cd68d4d09a151ad839a352f6fa01c3f86ccfb498704456892b992c3d8e4c88 # [aarch64 and (cuda_compiler_version or "").startswith("13")] - sha256: 320ef15635397b00100ca9e18a94fc75de16a8408f4eb9994d18673377dec4fd # [win and (cuda_compiler_version or "").startswith("12")] - sha256: 320ef15635397b00100ca9e18a94fc75de16a8408f4eb9994d18673377dec4fd # [win and (cuda_compiler_version or "").startswith("13")] + sha256: 21fad1b3a8a3db018868184b2082bd492633ae5101752432d655782bd108b19e # [linux64 and (cuda_compiler_version or "").startswith("12")] + sha256: ce92b4058d95c85959b822baa56389126a31678f5068b486523d1aa7f6490fcb # [linux64 and (cuda_compiler_version or "").startswith("13")] + sha256: af8c670f221bd0837c27452c1a88d31384b459e9dd0947818a06fbafdbef7f69 # [aarch64 and (cuda_compiler_version or "").startswith("12")] + sha256: 27d9e9c70a5f464ddbacd4fdd433f4e736d6f4b32387c111d77d33b583c46f26 # [aarch64 and (cuda_compiler_version or "").startswith("13")] + sha256: 47e83e940946a13d9707cbdde6886b8750110185354e8a3d9b5e9de52e4bec2e # [win and (cuda_compiler_version or "").startswith("12")] + sha256: 331393e15bb5efd0f4918e99cdd4f098d9e5fc534c58c10f8675b6967bbdc524 # [win and (cuda_compiler_version or "").startswith("13")] build: number: 0 From f619f10ca8d817edc7c7b5a64da10a3b640cfc43 Mon Sep 17 00:00:00 2001 From: Billy Suh Date: Thu, 14 Aug 2025 11:44:59 -0700 Subject: [PATCH 4/6] Enable JIT config --- recipe/meta.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 474f1ec..d19bab0 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -198,7 +198,6 @@ outputs: # for each build variant. - name: cudnn-jit build: - skip: true # not shipping for v9.11 ignore_run_exports_from: - {{ compiler('cuda') }} requirements: @@ -220,7 +219,6 @@ outputs: - name: libcudnn-jit build: - skip: true # not shipping for v9.11 # Disable binary relocation to workaround patchelf issue # xref: https://github.com/NixOS/patchelf/issues/492 binary_relocation: false @@ -279,7 +277,6 @@ outputs: - name: libcudnn-jit-dev build: - skip: true # not shipping for v9.11 ignore_run_exports_from: - {{ compiler('cuda') }} run_exports: From d7d78b45a8509de0ff302a39d06f70e4b565af22 Mon Sep 17 00:00:00 2001 From: Billy Suh Date: Thu, 14 Aug 2025 12:15:08 -0700 Subject: [PATCH 5/6] skip JIT config for windows --- recipe/meta.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index d19bab0..646e6c8 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -198,6 +198,7 @@ outputs: # for each build variant. - name: cudnn-jit build: + skip: true # [win] ignore_run_exports_from: - {{ compiler('cuda') }} requirements: @@ -219,6 +220,7 @@ outputs: - name: libcudnn-jit build: + skip: true # [win] # Disable binary relocation to workaround patchelf issue # xref: https://github.com/NixOS/patchelf/issues/492 binary_relocation: false @@ -277,6 +279,7 @@ outputs: - name: libcudnn-jit-dev build: + skip: true # [win] ignore_run_exports_from: - {{ compiler('cuda') }} run_exports: From 44c214dc1dfc80b9164f2a29fe68e5900bc2669f Mon Sep 17 00:00:00 2001 From: Billy Suh Date: Tue, 19 Aug 2025 21:23:01 -0700 Subject: [PATCH 6/6] - remove arm-variant as it is added automatically via cuda-nvcc run_exports - remove selectors for cuda_compiler_version on dependencies as they are redundant - ignore run exports against cuda-version only but from the whole cuda-nvcc which exports arm-variant --- recipe/meta.yaml | 44 ++++++++++++++++---------------------------- 1 file changed, 16 insertions(+), 28 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 646e6c8..d6878c5 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -34,8 +34,8 @@ outputs: # for each build variant. - name: cudnn build: - ignore_run_exports_from: - - {{ compiler('cuda') }} + ignore_run_exports: + - cuda-version # The run_exports is present on cudnn for backward compatibility run_exports: - {{ pin_subpackage("cudnn", max_pin="x") }} @@ -45,12 +45,10 @@ outputs: - {{ compiler('cxx') }} - {{ compiler('cuda') }} - {{ stdlib("c") }} - - arm-variant * {{ arm_variant_type }} # [aarch64] host: - cuda-version {{ cuda_compiler_version }} - {{ pin_subpackage("libcudnn-dev", exact=True) }} run: - - arm-variant * {{ arm_variant_type }} # [aarch64] - {{ pin_compatible("cuda-version", min_pin="x", max_pin="x") }} - {{ pin_subpackage("libcudnn-dev", exact=True) }} run_constrained: @@ -61,8 +59,8 @@ outputs: # Disable binary relocation to workaround patchelf issue # xref: https://github.com/NixOS/patchelf/issues/492 binary_relocation: false - ignore_run_exports_from: - - {{ compiler('cuda') }} + ignore_run_exports: + - cuda-version files: - lib/libcudnn*.so.* # [linux] - Library/bin/cudnn*.dll # [win] @@ -72,7 +70,6 @@ outputs: - {{ compiler('cxx') }} - {{ compiler('cuda') }} - {{ stdlib("c") }} - - arm-variant * {{ arm_variant_type }} # [aarch64] host: - cuda-version {{ cuda_compiler_version }} # For Windows, zlib is statically linked into CUDNN since version 9.2 @@ -80,10 +77,9 @@ outputs: # For Linux, zlib remains a dynamically linked dependency - zlib # [not win] run: - - arm-variant * {{ arm_variant_type }} # [aarch64] - {{ pin_compatible("cuda-version", min_pin="x", max_pin="x") }} - - cuda-nvrtc # [(cuda_compiler_version or "").startswith(("12", "13"))] - - libcublas # [(cuda_compiler_version or "").startswith(("12", "13"))] + - cuda-nvrtc + - libcublas run_constrained: - libcudnn-jit <0a test: @@ -121,8 +117,8 @@ outputs: - name: libcudnn-dev build: - ignore_run_exports_from: - - {{ compiler('cuda') }} + ignore_run_exports: + - cuda-version run_exports: - {{ pin_subpackage("libcudnn", max_pin="x") }} files: @@ -136,12 +132,10 @@ outputs: - {{ compiler('cxx') }} - {{ compiler('cuda') }} - {{ stdlib("c") }} - - arm-variant * {{ arm_variant_type }} # [aarch64] host: - cuda-version {{ cuda_compiler_version }} - {{ pin_subpackage("libcudnn", exact=True) }} run: - - arm-variant * {{ arm_variant_type }} # [aarch64] - {{ pin_compatible("cuda-version", min_pin="x", max_pin="x") }} - {{ pin_subpackage("libcudnn", exact=True) }} run_constrained: @@ -199,20 +193,18 @@ outputs: - name: cudnn-jit build: skip: true # [win] - ignore_run_exports_from: - - {{ compiler('cuda') }} + ignore_run_exports: + - cuda-version requirements: build: - {{ compiler('c') }} - {{ compiler('cxx') }} - {{ compiler('cuda') }} - {{ stdlib("c") }} - - arm-variant * {{ arm_variant_type }} # [aarch64] host: - cuda-version {{ cuda_compiler_version }} - {{ pin_subpackage("libcudnn-jit-dev", exact=True) }} run: - - arm-variant * {{ arm_variant_type }} # [aarch64] - {{ pin_compatible("cuda-version", min_pin="x", max_pin="x") }} - {{ pin_subpackage("libcudnn-jit-dev", exact=True) }} run_constrained: @@ -224,8 +216,8 @@ outputs: # Disable binary relocation to workaround patchelf issue # xref: https://github.com/NixOS/patchelf/issues/492 binary_relocation: false - ignore_run_exports_from: - - {{ compiler('cuda') }} + ignore_run_exports: + - cuda-version files: - Library/bin/cudnn64_{{ soname }}.dll # [win] - Library/bin/cudnn_engines_runtime_compiled64_{{ soname }}.dll # [win] @@ -242,7 +234,6 @@ outputs: - {{ compiler('cxx') }} - {{ compiler('cuda') }} - {{ stdlib('c') }} - - arm-variant * {{ arm_variant_type }} # [aarch64] - patchelf >=0.12 # [linux] host: - cuda-version {{ cuda_compiler_version }} @@ -252,9 +243,8 @@ outputs: - zlib # [not win] run: - {{ pin_compatible("cuda-version", min_pin="x", max_pin="x") }} - - arm-variant * {{ arm_variant_type }} # [aarch64] - - cuda-nvrtc # [(cuda_compiler_version or "").startswith(("12", "13"))] - - libcublas # [(cuda_compiler_version or "").startswith(("12", "13"))] + - cuda-nvrtc + - libcublas run_constrained: - libcudnn <0a test: @@ -280,8 +270,8 @@ outputs: - name: libcudnn-jit-dev build: skip: true # [win] - ignore_run_exports_from: - - {{ compiler('cuda') }} + ignore_run_exports: + - cuda-version run_exports: - {{ pin_subpackage("libcudnn-jit", max_pin="x") }} files: @@ -302,12 +292,10 @@ outputs: - {{ compiler('cxx') }} - {{ compiler('cuda') }} - {{ stdlib("c") }} - - arm-variant * {{ arm_variant_type }} # [aarch64] host: - cuda-version {{ cuda_compiler_version }} - {{ pin_subpackage("libcudnn-jit", exact=True) }} run: - - arm-variant * {{ arm_variant_type }} # [aarch64] - {{ pin_compatible("cuda-version", min_pin="x", max_pin="x") }} - {{ pin_subpackage("libcudnn-jit", exact=True) }} run_constrained: