Skip to content
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

Add CUDA 12.0 migrator. #4400

Merged
merged 19 commits into from
May 31, 2023
Merged
Changes from 4 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
132 changes: 132 additions & 0 deletions recipe/migrations/cuda120.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
migrator_ts: 1682985063
__migrator:
kind:
version
migration_number:
1
build_number:
1
paused: false
override_cbc_keys:
- cuda_compiler_stub
operation: key_add
ordering:
cxx_compiler_version:
- 9
- 8
- 7
c_compiler_version:
- 9
- 8
- 7
docker_image:
- quay.io/condaforge/linux-anvil-comp7 # [os.environ.get("BUILD_PLATFORM") == "linux-64"]
- quay.io/condaforge/linux-anvil-aarch64 # [os.environ.get("BUILD_PLATFORM") == "linux-aarch64"]
- quay.io/condaforge/linux-anvil-ppc64le # [os.environ.get("BUILD_PLATFORM") == "linux-ppc64le"]
- quay.io/condaforge/linux-anvil-armv7l # [os.environ.get("BUILD_PLATFORM") == "linux-armv7l"]
- quay.io/condaforge/linux-anvil-cuda:9.2 # [linux64 and os.environ.get("BUILD_PLATFORM") == "linux-64"]
- quay.io/condaforge/linux-anvil-cuda:10.0 # [linux64 and os.environ.get("BUILD_PLATFORM") == "linux-64"]
- quay.io/condaforge/linux-anvil-cuda:10.1 # [linux64 and os.environ.get("BUILD_PLATFORM") == "linux-64"]
- quay.io/condaforge/linux-anvil-cuda:10.2 # [linux64 and os.environ.get("BUILD_PLATFORM") == "linux-64"]
- quay.io/condaforge/linux-anvil-cuda:11.0 # [linux64 and os.environ.get("BUILD_PLATFORM") == "linux-64"]
- quay.io/condaforge/linux-anvil-cuda:11.1 # [linux64 and os.environ.get("BUILD_PLATFORM") == "linux-64"]
- quay.io/condaforge/linux-anvil-cuda:11.2 # [linux64 and os.environ.get("BUILD_PLATFORM") == "linux-64"]
- quay.io/condaforge/linux-anvil-comp7 # [linux64 and os.environ.get("BUILD_PLATFORM") == "linux-64"]
jakirkham marked this conversation as resolved.
Show resolved Hide resolved
cuda_compiler_version:
- None
- 10.2 # [(linux64 or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- 11.0 # [(linux64 or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- 11.1 # [(linux64 or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- 11.2 # [(linux64 or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- 12.0 # [(linux64 or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
commit_message: "Rebuild for CUDA 12"

cuda_compiler: # [linux64 or win]
- nvcc # [linux64 or win]
- nvcc # [linux64 or win]
- nvcc # [linux64 or win]
- nvcc # [linux64 or win]
jakirkham marked this conversation as resolved.
Show resolved Hide resolved
- cuda-nvcc # [linux64 or win]
jakirkham marked this conversation as resolved.
Show resolved Hide resolved

cuda_compiler_version:
- None
- 10.2 # [(linux64 or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- 11.0 # [(linux64 or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- 11.1 # [(linux64 or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- 11.2 # [(linux64 or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
jakirkham marked this conversation as resolved.
Show resolved Hide resolved
- 12.0 # [(linux64 or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]

c_compiler_version: # [unix]
- 12 # [linux]
- 15 # [osx]
- 7 # [os.environ.get("CF_CUDA_ENABLED", "False") == "True" and linux64]
- 9 # [os.environ.get("CF_CUDA_ENABLED", "False") == "True" and linux64]
- 10 # [os.environ.get("CF_CUDA_ENABLED", "False") == "True" and linux64]
- 10 # [os.environ.get("CF_CUDA_ENABLED", "False") == "True" and linux64]
- 12 # [os.environ.get("CF_CUDA_ENABLED", "False") == "True" and linux64]
jakirkham marked this conversation as resolved.
Show resolved Hide resolved

cxx_compiler_version: # [unix]
- 12 # [linux]
- 15 # [osx]
- 7 # [os.environ.get("CF_CUDA_ENABLED", "False") == "True" and linux64]
- 9 # [os.environ.get("CF_CUDA_ENABLED", "False") == "True" and linux64]
- 10 # [os.environ.get("CF_CUDA_ENABLED", "False") == "True" and linux64]
- 10 # [os.environ.get("CF_CUDA_ENABLED", "False") == "True" and linux64]
- 12 # [os.environ.get("CF_CUDA_ENABLED", "False") == "True" and linux64]
jakirkham marked this conversation as resolved.
Show resolved Hide resolved

cudnn:
- undefined
- 7 # [(linux64 or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- 8 # [(linux64 or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- 8 # [(linux64 or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- 8 # [(linux64 or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- 8 # [(linux64 or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
jakirkham marked this conversation as resolved.
Show resolved Hide resolved

cdt_name: # [linux]
- cos6 # [linux64 and os.environ.get("DEFAULT_LINUX_VERSION", "cos6") == "cos6"]
- cos7 # [linux64 and os.environ.get("DEFAULT_LINUX_VERSION", "cos6") == "cos7"]
- cos7 # [linux and aarch64]
- cos7 # [linux and ppc64le]
- cos7 # [linux and armv7l]
- cos7 # [linux and s390x]

- cos6 # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True" and os.environ.get("DEFAULT_LINUX_VERSION", "cos6") == "cos6"]
- cos7 # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True" and os.environ.get("DEFAULT_LINUX_VERSION", "cos6") == "cos7"]
- cos7 # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- cos7 # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- cos7 # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- cos7 # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
jakirkham marked this conversation as resolved.
Show resolved Hide resolved

docker_image: # [os.environ.get("BUILD_PLATFORM", "").startswith("linux-")]
- quay.io/condaforge/linux-anvil-cos7-x86_64 # [os.environ.get("BUILD_PLATFORM") == "linux-64"]
- quay.io/condaforge/linux-anvil-aarch64 # [os.environ.get("BUILD_PLATFORM") == "linux-aarch64"]
- quay.io/condaforge/linux-anvil-ppc64le # [os.environ.get("BUILD_PLATFORM") == "linux-ppc64le"]
- quay.io/condaforge/linux-anvil-armv7l # [os.environ.get("BUILD_PLATFORM") == "linux-armv7l"]

- quay.io/condaforge/linux-anvil-cos7-cuda:10.2 # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True" and os.environ.get("BUILD_PLATFORM") == "linux-64"]
- quay.io/condaforge/linux-anvil-cuda:11.0 # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True" and os.environ.get("BUILD_PLATFORM") == "linux-64"]
- quay.io/condaforge/linux-anvil-cuda:11.1 # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True" and os.environ.get("BUILD_PLATFORM") == "linux-64"]
- quay.io/condaforge/linux-anvil-cuda:11.2 # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True" and os.environ.get("BUILD_PLATFORM") == "linux-64"]
- quay.io/condaforge/linux-anvil-cos7-x86_64 # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True" and os.environ.get("BUILD_PLATFORM") == "linux-64"]
jakirkham marked this conversation as resolved.
Show resolved Hide resolved

zip_keys:
- # [unix]
- c_compiler_version # [unix]
- cxx_compiler_version # [unix]
- fortran_compiler_version # [unix]
- cudnn # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- cuda_compiler # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- cuda_compiler_version # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- cdt_name # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- docker_image # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True" and os.environ.get("BUILD_PLATFORM", "").startswith("linux-")]
- # [win64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- cudnn # [win64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- cuda_compiler_version # [win64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
jakirkham marked this conversation as resolved.
Show resolved Hide resolved
-
- python
- numpy
- python_impl
# transition until arrow_cpp can be dropped for arrow 13.x
-
- arrow_cpp
- libarrow
jakirkham marked this conversation as resolved.
Show resolved Hide resolved
jakirkham marked this conversation as resolved.
Show resolved Hide resolved