-
-
Notifications
You must be signed in to change notification settings - Fork 593
NEW: Migrate recipes to CUDA 13.0 #7653
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
21a2c06
106705c
48baf44
5b0c52a
17b696c
9ecc39f
521045c
7b52b19
7c50c69
794c70a
f41ce52
578b1b1
8ac3c10
4999ace
4230cff
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,62 @@ | ||
| migrator_ts: 1755016036 | ||
| __migrator: | ||
| operation: key_add | ||
| migration_number: | ||
| 1 | ||
| build_number: | ||
| 1 | ||
| paused: true | ||
| 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 | ||
|
h-vetinari marked this conversation as resolved.
|
||
| 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.) | ||
| for their package. | ||
|
|
||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Insert note here about binary path changes on Windows
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do you want to do this before merging the still-paused migration? We could also add that text later.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No, I don't want to add the note because we may be reverting the path changes on Windows. |
||
| 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 | ||
|
|
||
| > [[!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"] | ||
|
|
||
| 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"] | ||
Uh oh!
There was an error while loading. Please reload this page.