Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 1 addition & 10 deletions .azure-pipelines/azure-pipelines-osx.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ cuda_compiler:
- cuda-nvcc
cuda_compiler_version:
- '12.9'
cudnn:
- '9'
cxx_compiler:
- gxx
cxx_compiler_version:
Expand Down Expand Up @@ -55,24 +53,26 @@ nccl:
numpy:
- '2'
orc:
- 2.1.3
- 2.2.0
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
pybind11_abi:
- '4'
python:
- 3.10.* *_cpython
- 3.11.* *_cpython
- 3.12.* *_cpython
- 3.13.* *_cp313
- 3.9.* *_cpython
pytorch:
- '2.6'
target_platform:
- linux-64
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- c_stdlib_version
- cuda_compiler_version
- - channel_targets
- is_rc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ cuda_compiler:
- cuda-nvcc
cuda_compiler_version:
- None
cudnn:
- '9'
cxx_compiler:
- gxx
cxx_compiler_version:
Expand Down Expand Up @@ -55,24 +53,26 @@ nccl:
numpy:
- '2'
orc:
- 2.1.3
- 2.2.0
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
pybind11_abi:
- '4'
python:
- 3.10.* *_cpython
- 3.11.* *_cpython
- 3.12.* *_cpython
- 3.13.* *_cp313
- 3.9.* *_cpython
pytorch:
- '2.6'
target_platform:
- linux-64
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- c_stdlib_version
- cuda_compiler_version
- - channel_targets
- is_rc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ cuda_compiler:
- cuda-nvcc
cuda_compiler_version:
- '12.9'
cudnn:
- '9'
cxx_compiler:
- gxx
cxx_compiler_version:
Expand Down Expand Up @@ -55,24 +53,26 @@ nccl:
numpy:
- '2'
orc:
- 2.1.3
- 2.2.0
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
pybind11_abi:
- '4'
python:
- 3.10.* *_cpython
- 3.11.* *_cpython
- 3.12.* *_cpython
- 3.13.* *_cp313
- 3.9.* *_cpython
pytorch:
- '2.6'
target_platform:
- linux-64
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- c_stdlib_version
- cuda_compiler_version
- - channel_targets
- is_rc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ cuda_compiler:
- cuda-nvcc
cuda_compiler_version:
- None
cudnn:
- '9'
cxx_compiler:
- gxx
cxx_compiler_version:
Expand Down Expand Up @@ -55,24 +53,26 @@ nccl:
numpy:
- '2'
orc:
- 2.1.3
- 2.2.0
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
pybind11_abi:
- '4'
python:
- 3.10.* *_cpython
- 3.11.* *_cpython
- 3.12.* *_cpython
- 3.13.* *_cp313
- 3.9.* *_cpython
pytorch:
- '2.6'
target_platform:
- linux-64
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- c_stdlib_version
- cuda_compiler_version
- - channel_targets
- is_rc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ cuda_compiler:
- cuda-nvcc
cuda_compiler_version:
- '12.9'
cudnn:
- '9'
cxx_compiler:
- gxx
cxx_compiler_version:
Expand Down Expand Up @@ -55,24 +53,26 @@ nccl:
numpy:
- '2'
orc:
- 2.1.3
- 2.2.0
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
pybind11_abi:
- '4'
python:
- 3.10.* *_cpython
- 3.11.* *_cpython
- 3.12.* *_cpython
- 3.13.* *_cp313
- 3.9.* *_cpython
pytorch:
- '2.6'
target_platform:
- linux-aarch64
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- c_stdlib_version
- cuda_compiler_version
- - channel_targets
- is_rc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ cuda_compiler:
- cuda-nvcc
cuda_compiler_version:
- None
cudnn:
- '9'
cxx_compiler:
- gxx
cxx_compiler_version:
Expand Down Expand Up @@ -55,24 +53,26 @@ nccl:
numpy:
- '2'
orc:
- 2.1.3
- 2.2.0
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
pybind11_abi:
- '4'
python:
- 3.10.* *_cpython
- 3.11.* *_cpython
- 3.12.* *_cpython
- 3.13.* *_cp313
- 3.9.* *_cpython
pytorch:
- '2.6'
target_platform:
- linux-aarch64
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- c_stdlib_version
- cuda_compiler_version
- - channel_targets
- is_rc
Expand Down
50 changes: 35 additions & 15 deletions .ci_support/migrations/cuda129.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,33 +14,53 @@ __migrator:
primary_key: cuda_compiler_version
ordering:
cuda_compiler_version:
- 11.8
- 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 12.9

With CUDA 12.9, the following new architectures are added `sm_100`, `sm_101` and `sm_120`.
To build for these architectures, maintainers will need to add these to list of architectures
that their package builds for.


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"]
- 12.9 # [(linux and (x86_64 or aarch64)) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- 12.8 # [win64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]

c_compiler_version: # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- 14 # [(linux and x86_64) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- 13 # [(linux and aarch64) 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.17 # [(linux and (x86_64 or aarch64)) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]

# Compiler pinnings deviate from global migrator in order to honor pinnings in local conda_build_config for aarch64
c_compiler_version: # [(linux and (x86_64 or aarch64)) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- 14 # [(linux and (x86_64)) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- 13 # [(linux and (aarch64)) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]

cxx_compiler_version: # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- 14 # [(linux and x86_64) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- 13 # [(linux and 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)) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- 13 # [(linux and (aarch64)) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]

fortran_compiler_version: # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- 14 # [(linux and x86_64) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- 13 # [(linux and 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"]
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,13 @@ mkl:
numpy:
- '2'
orc:
- 2.1.3
- 2.2.0
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
pybind11_abi:
- '4'
python:
- 3.10.* *_cpython
pytorch:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,13 @@ mkl:
numpy:
- '2'
orc:
- 2.1.3
- 2.2.0
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
pybind11_abi:
- '4'
python:
- 3.11.* *_cpython
pytorch:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,13 @@ mkl:
numpy:
- '2'
orc:
- 2.1.3
- 2.2.0
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
pybind11_abi:
- '4'
python:
- 3.12.* *_cpython
pytorch:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,13 @@ mkl:
numpy:
- '2'
orc:
- 2.1.3
- 2.2.0
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
pybind11_abi:
- '4'
python:
- 3.13.* *_cp313
pytorch:
Expand Down
Loading
Loading