-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
cuda-python v12.2.0 #40
Changes from 5 commits
2c25dc9
9788c8a
90389da
21a0944
b08f0eb
f7cecc8
3f2bda0
cfea7e7
5adaebe
55f53f2
1faf6d4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
c_compiler: | ||
- gcc | ||
c_compiler_version: | ||
- '12' | ||
cdt_name: | ||
- cos7 | ||
channel_sources: | ||
- conda-forge | ||
channel_targets: | ||
- conda-forge main | ||
cuda_compiler: | ||
- cuda-nvcc | ||
cuda_compiler_version: | ||
- '12' | ||
cxx_compiler: | ||
- gxx | ||
cxx_compiler_version: | ||
- '12' | ||
docker_image: | ||
- quay.io/condaforge/linux-anvil-cos7-x86_64 | ||
pin_run_as_build: | ||
python: | ||
min_pin: x.x | ||
max_pin: x.x | ||
python: | ||
- 3.12.* *_cpython | ||
target_platform: | ||
- linux-64 | ||
zip_keys: | ||
- - c_compiler_version | ||
- cxx_compiler_version | ||
- cuda_compiler | ||
- cuda_compiler_version | ||
- cdt_name | ||
- docker_image |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
BUILD: | ||
- aarch64-conda_cos7-linux-gnu | ||
c_compiler: | ||
- gcc | ||
c_compiler_version: | ||
- '12' | ||
cdt_arch: | ||
- aarch64 | ||
cdt_name: | ||
- cos7 | ||
channel_sources: | ||
- conda-forge | ||
channel_targets: | ||
- conda-forge main | ||
cuda_compiler: | ||
- cuda-nvcc | ||
cuda_compiler_version: | ||
- '12' | ||
cxx_compiler: | ||
- gxx | ||
cxx_compiler_version: | ||
- '12' | ||
docker_image: | ||
- quay.io/condaforge/linux-anvil-cos7-x86_64 | ||
pin_run_as_build: | ||
python: | ||
min_pin: x.x | ||
max_pin: x.x | ||
python: | ||
- 3.12.* *_cpython | ||
target_platform: | ||
- linux-aarch64 | ||
zip_keys: | ||
- - c_compiler_version | ||
- cxx_compiler_version | ||
- cuda_compiler | ||
- cuda_compiler_version | ||
- cdt_name | ||
- docker_image |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
c_compiler: | ||
- gcc | ||
c_compiler_version: | ||
- '12' | ||
cdt_name: | ||
- cos7 | ||
channel_sources: | ||
- conda-forge | ||
channel_targets: | ||
- conda-forge main | ||
cuda_compiler: | ||
- cuda-nvcc | ||
cuda_compiler_version: | ||
- '12' | ||
cxx_compiler: | ||
- gxx | ||
cxx_compiler_version: | ||
- '12' | ||
docker_image: | ||
- quay.io/condaforge/linux-anvil-cos7-x86_64 | ||
pin_run_as_build: | ||
python: | ||
min_pin: x.x | ||
max_pin: x.x | ||
python: | ||
- 3.12.* *_cpython | ||
target_platform: | ||
- linux-ppc64le | ||
zip_keys: | ||
- - c_compiler_version | ||
- cxx_compiler_version | ||
- cuda_compiler | ||
- cuda_compiler_version | ||
- cdt_name | ||
- docker_image |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
c_compiler: | ||
- vs2019 | ||
channel_sources: | ||
- conda-forge | ||
channel_targets: | ||
- conda-forge main | ||
cuda_compiler: | ||
- cuda-nvcc | ||
cuda_compiler_version: | ||
- '12' | ||
cxx_compiler: | ||
- vs2019 | ||
pin_run_as_build: | ||
python: | ||
min_pin: x.x | ||
max_pin: x.x | ||
python: | ||
- 3.12.* *_cpython | ||
target_platform: | ||
- win-64 | ||
zip_keys: | ||
- - cuda_compiler | ||
- cuda_compiler_version |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{% set name = "cuda-python" %} | ||
{% set version = "12.1.0" %} | ||
{% set version = "12.2.0" %} | ||
{% set major_version = version.split(".")[0]|int %} | ||
{% set minor_version = version.split(".")[1]|int %} | ||
{% set patch_version = version.split(".")[2]|int %} | ||
|
@@ -14,14 +14,10 @@ package: | |
|
||
source: | ||
url: https://github.com/NVIDIA/cuda-python/archive/refs/tags/v{{ version }}.tar.gz | ||
sha256: 6fdfacaabbd6bc7f5dddec3ecf6bb0968e4a6b5151896d6352703ff5e0fc4abb | ||
sha256: a42dfad4fd10c61c0dda0497e4f8d671918c4b152823a63a80491d56b6458c4f | ||
|
||
build: | ||
number: 0 | ||
# Cython 0.29.x seems not to be fully compatible with Python 3.12, skipping for now. | ||
# This can be removed in a later CUDA Python that supports Cython 3.x. | ||
# xref: https://github.com/conda-forge/cuda-python-feedstock/issues/57 | ||
skip: true # [py == 312] | ||
{% if not (environ.get("cuda_compiler_version")|string()).startswith(major_version|string()) %} | ||
skip: true | ||
{% endif %} | ||
|
@@ -46,12 +42,12 @@ requirements: | |
- sysroot_{{ target_platform }} 2.17 # [linux] | ||
- cross-python_{{ target_platform }} # [build_platform != target_platform] | ||
- python # [build_platform != target_platform] | ||
- cython <3 # [build_platform != target_platform] | ||
- cython # [build_platform != target_platform] | ||
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. Which of course can be repeated for the cross-compilation case where Cython is needed in |
||
host: | ||
- cuda-cudart-dev | ||
- cuda-nvrtc-dev | ||
- cuda-profiler-api | ||
- cython <3 | ||
- cython | ||
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. Also issue ( NVIDIA/cuda-python#44 ) fixes Cython 3 support, so we can drop this upper bound on Cython |
||
- pip | ||
- pyclibrary | ||
- python | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As CUDA-Python 12.2.0 has a fix for issue ( NVIDIA/cuda-python#44 ), we can drop the Python 3.12
skip
thus fixing issue ( #57 )