From 21a2c06e291834915cabefd2d6f732027cecfd64 Mon Sep 17 00:00:00 2001 From: Daniel Ching Date: Tue, 12 Aug 2025 12:50:14 -0500 Subject: [PATCH 01/14] NEW: Migrate recipes to CUDA 13.0 --- recipe/migrations/cuda130.yaml | 56 ++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 recipe/migrations/cuda130.yaml diff --git a/recipe/migrations/cuda130.yaml b/recipe/migrations/cuda130.yaml new file mode 100644 index 0000000000..e9fb0f7e20 --- /dev/null +++ b/recipe/migrations/cuda130.yaml @@ -0,0 +1,56 @@ +migrator_ts: 1755016036 +__migrator: + kind: + version + 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 + 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"] + +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_compiler_version: # [(linux and (x86_64 or aarch64)) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] + - 15 # [(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"] + - 15 # [(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"] + - 15 # [(linux and (x86_64 or aarch64)) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] From 106705c6517caf2d3ffe65c5439c4a2dd5d80a0b Mon Sep 17 00:00:00 2001 From: Daniel Ching Date: Tue, 12 Aug 2025 13:27:44 -0500 Subject: [PATCH 02/14] NEW: Add 13.0 to older migrator ordering --- recipe/migrations/cuda118.yaml | 1 + recipe/migrations/cuda129.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/recipe/migrations/cuda118.yaml b/recipe/migrations/cuda118.yaml index de3fb48c66..8ca89ba5ec 100644 --- a/recipe/migrations/cuda118.yaml +++ b/recipe/migrations/cuda118.yaml @@ -28,6 +28,7 @@ __migrator: - 12.8 - None - 12.9 + - 13.0 - 11.8 cuda_compiler_version_min: - 12.4 diff --git a/recipe/migrations/cuda129.yaml b/recipe/migrations/cuda129.yaml index 5074cd12af..e2a3656337 100644 --- a/recipe/migrations/cuda129.yaml +++ b/recipe/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 From 48baf448ebab08f4ae1570bfc374410234522bd4 Mon Sep 17 00:00:00 2001 From: Daniel Ching Date: Tue, 12 Aug 2025 13:30:24 -0500 Subject: [PATCH 03/14] BUG: Add CUDA 13.0 instead of replacing CUDA None --- recipe/migrations/cuda130.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/recipe/migrations/cuda130.yaml b/recipe/migrations/cuda130.yaml index e9fb0f7e20..94353d1a98 100644 --- a/recipe/migrations/cuda130.yaml +++ b/recipe/migrations/cuda130.yaml @@ -1,5 +1,6 @@ migrator_ts: 1755016036 __migrator: + use_local: true kind: version migration_number: @@ -23,6 +24,8 @@ __migrator: # 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 @@ -41,16 +44,21 @@ __migrator: 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"] + - None # [((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"] - 13.0 # [((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_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"] - 15 # [(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"] - 15 # [(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"] - 15 # [(linux and (x86_64 or aarch64)) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] From 5b0c52a3370e75258a60028c95658475f57f4bcf Mon Sep 17 00:00:00 2001 From: Daniel Ching Date: Tue, 12 Aug 2025 19:03:09 -0500 Subject: [PATCH 04/14] REF: Use key_add operation instead --- recipe/migrations/cuda130.yaml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/recipe/migrations/cuda130.yaml b/recipe/migrations/cuda130.yaml index 94353d1a98..b394e4cb9b 100644 --- a/recipe/migrations/cuda130.yaml +++ b/recipe/migrations/cuda130.yaml @@ -1,8 +1,6 @@ migrator_ts: 1755016036 __migrator: - use_local: true - kind: - version + operation: key_add migration_number: 1 build_number: @@ -44,8 +42,6 @@ __migrator: 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"] - - None # [((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"] - 13.0 # [((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"] @@ -53,12 +49,9 @@ cuda_compiler_version_min: # [((linux and (x86_64 or aarch64)) or win64) and 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"] - - 15 # [(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"] - - 15 # [(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"] - - 15 # [(linux and (x86_64 or aarch64)) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] From 17b696cae62aec00abe5732bb3639afd53c350fc Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Wed, 13 Aug 2025 12:18:46 +1100 Subject: [PATCH 05/14] handle requirement of newer glibc --- recipe/conda_build_config.yaml | 3 +++ recipe/migrations/cuda118.yaml | 3 +++ recipe/migrations/cuda129.yaml | 3 +++ recipe/migrations/cuda130.yaml | 3 +++ 4 files changed, 12 insertions(+) diff --git a/recipe/conda_build_config.yaml b/recipe/conda_build_config.yaml index 14d8f32896..48e192ac1e 100644 --- a/recipe/conda_build_config.yaml +++ b/recipe/conda_build_config.yaml @@ -19,6 +19,7 @@ m2w64_c_stdlib_version: # [win] - 12 # [win] c_stdlib_version: # [unix] - 2.17 # [linux] + - 2.17 # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - 10.13 # [osx and x86_64] - 11.0 # [osx and arm64] cxx_compiler: @@ -154,6 +155,8 @@ zip_keys: - c_compiler_version # [unix] - cxx_compiler_version # [unix] - fortran_compiler_version # [unix] + # CUDA 13.x requires newer glibc than our current baseline + - c_stdlib_version # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - cuda_compiler_version # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - python diff --git a/recipe/migrations/cuda118.yaml b/recipe/migrations/cuda118.yaml index 8ca89ba5ec..945c3478a6 100644 --- a/recipe/migrations/cuda118.yaml +++ b/recipe/migrations/cuda118.yaml @@ -46,6 +46,9 @@ cuda_compiler_version: # [(linux or win64) and os.environ.get("CF_CUDA_ENAB cuda_compiler_version_min: # [linux or win64] - 11.8 # [linux or win64] +c_stdlib_version: # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] + - 2.17 # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] + c_compiler_version: # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - 11 # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] diff --git a/recipe/migrations/cuda129.yaml b/recipe/migrations/cuda129.yaml index e2a3656337..f8b53b3640 100644 --- a/recipe/migrations/cuda129.yaml +++ b/recipe/migrations/cuda129.yaml @@ -48,6 +48,9 @@ cuda_compiler_version: # [((linux and (x86_64 or aarch64)) or win64) and 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.17 # [(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/recipe/migrations/cuda130.yaml b/recipe/migrations/cuda130.yaml index b394e4cb9b..817d177470 100644 --- a/recipe/migrations/cuda130.yaml +++ b/recipe/migrations/cuda130.yaml @@ -47,6 +47,9 @@ cuda_compiler_version: # [((linux and (x86_64 or aarch64)) or win64) and 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"] From 9ecc39fa89e3649774ee73d494db4c5eb8e359e8 Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Wed, 13 Aug 2025 12:43:56 +1100 Subject: [PATCH 06/14] remove irrelevant cuda_compiler_version_min override --- recipe/migrations/cuda130.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/recipe/migrations/cuda130.yaml b/recipe/migrations/cuda130.yaml index 817d177470..c1faa8ff21 100644 --- a/recipe/migrations/cuda130.yaml +++ b/recipe/migrations/cuda130.yaml @@ -44,9 +44,6 @@ __migrator: 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"] -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"] From 521045c8abe8588cf3ff7952f9946a2d79a16c2d Mon Sep 17 00:00:00 2001 From: Daniel Ching Date: Fri, 15 Aug 2025 12:59:33 -0500 Subject: [PATCH 07/14] DOC: Clarify wording around miniumum CUDA 13 sm support --- recipe/migrations/cuda130.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/migrations/cuda130.yaml b/recipe/migrations/cuda130.yaml index c1faa8ff21..38fd546c7c 100644 --- a/recipe/migrations/cuda130.yaml +++ b/recipe/migrations/cuda130.yaml @@ -27,7 +27,7 @@ __migrator: commit_message: | Upgrade to CUDA 13.0 - CUDA 13.0 removed support for architectures before `sm_75`, and renamed `sm_101` to + CUDA 13.0 requires architecture `sm_75` or higher, 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. From 7b52b19e647745a29fb70a4b3135fd587cda3442 Mon Sep 17 00:00:00 2001 From: Daniel Ching Date: Fri, 15 Aug 2025 13:12:48 -0500 Subject: [PATCH 08/14] DOC: Add reminder to update selector syntax --- recipe/migrations/cuda130.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/recipe/migrations/cuda130.yaml b/recipe/migrations/cuda130.yaml index 38fd546c7c..09837432b3 100644 --- a/recipe/migrations/cuda130.yaml +++ b/recipe/migrations/cuda130.yaml @@ -41,6 +41,11 @@ __migrator: ref: https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html#new-features + > [!IMPORTANT] + > Remember to update any CUDA 11/12 specific selector syntax in the recipe to include + > CUDA 13. For example `# [(cuda_compiler_version or "None").startswith("12")]` + > might be replaced with `# [cuda_compiler_version != "None"]`. + 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"] From 794c70ae907c7194873555fcdd2a029617252481 Mon Sep 17 00:00:00 2001 From: Daniel Ching <9604511+carterbox@users.noreply.github.com> Date: Mon, 18 Aug 2025 13:46:37 -0500 Subject: [PATCH 09/14] BUG: Escape square brackets --- recipe/migrations/cuda130.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/migrations/cuda130.yaml b/recipe/migrations/cuda130.yaml index 09837432b3..eb0fd9e4d8 100644 --- a/recipe/migrations/cuda130.yaml +++ b/recipe/migrations/cuda130.yaml @@ -41,7 +41,7 @@ __migrator: ref: https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html#new-features - > [!IMPORTANT] + > [[!IMPORTANT]] > Remember to update any CUDA 11/12 specific selector syntax in the recipe to include > CUDA 13. For example `# [(cuda_compiler_version or "None").startswith("12")]` > might be replaced with `# [cuda_compiler_version != "None"]`. From f41ce52ed1e04fb46f049873cad6577be388ed01 Mon Sep 17 00:00:00 2001 From: Daniel Ching Date: Mon, 18 Aug 2025 15:39:08 -0500 Subject: [PATCH 10/14] BUG: Make cuda118 migrator be applied last; bump build numbers --- recipe/migrations/cuda118.yaml | 4 ++-- recipe/migrations/cuda129.yaml | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/recipe/migrations/cuda118.yaml b/recipe/migrations/cuda118.yaml index 945c3478a6..5d4c5062e5 100644 --- a/recipe/migrations/cuda118.yaml +++ b/recipe/migrations/cuda118.yaml @@ -1,11 +1,11 @@ -migrator_ts: 1748496951 +migrator_ts: 1755549433 __migrator: kind: version migration_number: 1 build_number: - 1 + 2 # This is intended as a _manual_ migrator to re-add CUDA 11.8, after we # dropped it as version that's built by default; DO NOT unpause paused: true diff --git a/recipe/migrations/cuda129.yaml b/recipe/migrations/cuda129.yaml index f8b53b3640..0c84125b03 100644 --- a/recipe/migrations/cuda129.yaml +++ b/recipe/migrations/cuda129.yaml @@ -5,7 +5,7 @@ __migrator: migration_number: 1 build_number: - 1 + 2 paused: false override_cbc_keys: - cuda_compiler_stub @@ -25,21 +25,21 @@ __migrator: - 11.8 commit_message: | Upgrade to CUDA 12.9 - + CUDA 12.8 added support for architectures `sm_100`, `sm_101` and `sm_120`, while CUDA 12.9 further added `sm_103` and `sm_121`. 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. A good balance between broad support and storage footprint (resp. compilation time) is to add `sm_100` and `sm_120`. - + 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"] From 578b1b1c2ac58d4c8e1ee76417611447be6a8d2d Mon Sep 17 00:00:00 2001 From: Daniel Ching Date: Tue, 19 Aug 2025 14:01:46 -0500 Subject: [PATCH 11/14] DOC: Add note that CUDA11 backward migrator needs to have newer timestamp --- recipe/migrations/cuda118.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipe/migrations/cuda118.yaml b/recipe/migrations/cuda118.yaml index 5d4c5062e5..88f908dafe 100644 --- a/recipe/migrations/cuda118.yaml +++ b/recipe/migrations/cuda118.yaml @@ -1,4 +1,5 @@ -migrator_ts: 1755549433 +# In order to work, this timestamp needs to be newer than all other CUDA migrators +migrator_ts: 2145938400 # 2038-01-01 __migrator: kind: version From 8ac3c1053d9133431d880449dbe1a386362bfa36 Mon Sep 17 00:00:00 2001 From: Daniel Ching Date: Tue, 19 Aug 2025 14:03:33 -0500 Subject: [PATCH 12/14] BUG: Revert changes to build_number key in CUDA migrators --- recipe/migrations/cuda118.yaml | 2 +- recipe/migrations/cuda129.yaml | 2 +- recipe/migrations/cuda130.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/recipe/migrations/cuda118.yaml b/recipe/migrations/cuda118.yaml index 88f908dafe..c98421899d 100644 --- a/recipe/migrations/cuda118.yaml +++ b/recipe/migrations/cuda118.yaml @@ -6,7 +6,7 @@ __migrator: migration_number: 1 build_number: - 2 + 1 # This is intended as a _manual_ migrator to re-add CUDA 11.8, after we # dropped it as version that's built by default; DO NOT unpause paused: true diff --git a/recipe/migrations/cuda129.yaml b/recipe/migrations/cuda129.yaml index 0c84125b03..adff4bd64f 100644 --- a/recipe/migrations/cuda129.yaml +++ b/recipe/migrations/cuda129.yaml @@ -5,7 +5,7 @@ __migrator: migration_number: 1 build_number: - 2 + 1 paused: false override_cbc_keys: - cuda_compiler_stub diff --git a/recipe/migrations/cuda130.yaml b/recipe/migrations/cuda130.yaml index eb0fd9e4d8..d523475308 100644 --- a/recipe/migrations/cuda130.yaml +++ b/recipe/migrations/cuda130.yaml @@ -4,7 +4,7 @@ __migrator: migration_number: 1 build_number: - 0 + 1 paused: false override_cbc_keys: - cuda_compiler_stub From 4999ace1a562343c6e9ba6783b5a4aaa6a36ab0e Mon Sep 17 00:00:00 2001 From: Daniel Ching Date: Tue, 19 Aug 2025 14:06:46 -0500 Subject: [PATCH 13/14] DOC: Re-add stripped whitespace for proper formatting --- recipe/migrations/cuda129.yaml | 6 +++--- recipe/migrations/cuda130.yaml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/recipe/migrations/cuda129.yaml b/recipe/migrations/cuda129.yaml index adff4bd64f..f8b53b3640 100644 --- a/recipe/migrations/cuda129.yaml +++ b/recipe/migrations/cuda129.yaml @@ -25,21 +25,21 @@ __migrator: - 11.8 commit_message: | Upgrade to CUDA 12.9 - + CUDA 12.8 added support for architectures `sm_100`, `sm_101` and `sm_120`, while CUDA 12.9 further added `sm_103` and `sm_121`. 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. A good balance between broad support and storage footprint (resp. compilation time) is to add `sm_100` and `sm_120`. - + 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"] diff --git a/recipe/migrations/cuda130.yaml b/recipe/migrations/cuda130.yaml index d523475308..01d65a5146 100644 --- a/recipe/migrations/cuda130.yaml +++ b/recipe/migrations/cuda130.yaml @@ -26,7 +26,7 @@ __migrator: - cuda129 commit_message: | Upgrade to CUDA 13.0 - + CUDA 13.0 requires architecture `sm_75` or higher, 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.) From 4230cff01da69e1f8c4e2b74cc4876cc1aa53d5e Mon Sep 17 00:00:00 2001 From: Daniel Ching Date: Tue, 19 Aug 2025 14:08:03 -0500 Subject: [PATCH 14/14] BLD: Pause cuda130 migrator before it begins --- recipe/migrations/cuda130.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/migrations/cuda130.yaml b/recipe/migrations/cuda130.yaml index 01d65a5146..bd840bd952 100644 --- a/recipe/migrations/cuda130.yaml +++ b/recipe/migrations/cuda130.yaml @@ -5,7 +5,7 @@ __migrator: 1 build_number: 1 - paused: false + paused: true override_cbc_keys: - cuda_compiler_stub check_solvable: false