-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
cupy v13.0.0 #241
cupy v13.0.0 #241
Conversation
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
To address #229, I wanna raise a question to @conda-forge/cupy: With CuPy v13 we can move all My proposal:
Thoughts? |
This comment was marked as resolved.
This comment was marked as resolved.
19a916f
to
91d1193
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
…nda-forge-pinning 2024.01.18.06.29.38
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
@leofang I like the |
I concur with the benefits of having two separate packages. I think |
@conda-forge-admin, please rerender |
Hi! This is the friendly automated conda-forge-webservice. I tried to rerender for you, but it looks like there was nothing to do. This message was generated by GitHub actions workflow run https://github.com/conda-forge/cupy-feedstock/actions/runs/7585579292. |
@conda-forge-admin, please rerender |
…nda-forge-pinning 2024.01.19.13.31.20
@beckermr @jakirkham I am unable to disable Python 3.8 which CuPy v13 no longer supports. Could this be a bug in conda-smithy? Could this relate to the Python 3.12 migration issue that we were unable to fix (#234)? |
@conda-forge-admin , please re-render |
…nda-forge-pinning 2024.01.19.20.48.12
Did essentially this and added |
requirements: | ||
build: | ||
- {{ compiler("c") }} | ||
- {{ compiler("cxx") }} | ||
- {{ compiler("cuda") }} | ||
#- cuda-nvcc | ||
- sysroot_{{ target_platform }} 2.17 # [linux] | ||
- cross-python_{{ target_platform }} # [build_platform != target_platform] | ||
- python # [build_platform != target_platform] | ||
- cython >=0.29.22,<3 # [build_platform != target_platform] | ||
# TODO: clean up | ||
{% if cuda_major >= 12 %} | ||
- cuda-driver-dev # [linux and build_platform != target_platform] | ||
- cuda-cudart-dev # [build_platform != target_platform] | ||
- cuda-nvrtc-dev # [build_platform != target_platform] | ||
- cuda-nvtx-dev # [build_platform != target_platform] | ||
- cuda-profiler-api # [build_platform != target_platform] | ||
- cuda-cccl_{{ build_platform }} # [build_platform != target_platform] | ||
- libcublas-dev # [build_platform != target_platform] | ||
- libcufft-dev # [build_platform != target_platform] | ||
- libcurand-dev # [build_platform != target_platform] | ||
- libcusolver-dev # [build_platform != target_platform] | ||
- libcusparse-dev # [build_platform != target_platform] | ||
{% endif %} | ||
# optional dependencies for CUDA 11.2+ | ||
- cudnn >=8.0.*,<9 # [build_platform != target_platform and (not ((aarch64 or ppc64le) and (cuda_compiler_version or "").startswith("12")))] | ||
- nccl >=2.8,<3 # [build_platform != target_platform] | ||
- cutensor >=1.4,<2 # [build_platform != target_platform] | ||
- cusparselt ~=0.2.0.0 # [build_platform != target_platform and (linux64 or aarch64 or win) and (cuda_compiler_version or "").startswith("11")] | ||
|
||
host: | ||
- python | ||
- pip | ||
- setuptools | ||
- cython >=0.29.22,<3 | ||
- fastrlock >=0.5 | ||
- cuda-version {{ cuda_compiler_version }} | ||
- nvtx-c # [win64] | ||
# TODO: clean up | ||
{% if cuda_major >= 12 %} | ||
- cuda-driver-dev # [linux] | ||
- cuda-cudart-dev | ||
- cuda-nvrtc-dev | ||
- cuda-nvtx-dev | ||
- cuda-profiler-api | ||
- cuda-cccl_{{ target_platform }} | ||
- libcublas-dev | ||
- libcufft-dev | ||
- libcurand-dev | ||
- libcusolver-dev | ||
- libcusparse-dev | ||
{% endif %} | ||
# optional dependencies | ||
# TODO: see https://github.com/conda-forge/cudnn-feedstock/issues/58 | ||
- cudnn >=8.0.*,<9 # [not ((aarch64 or ppc64le) and (cuda_compiler_version or "").startswith("12"))] | ||
- nccl >=2.8,<3 # [linux] | ||
- cutensor >=1.4,<2 | ||
- cusparselt ~=0.2.0.0 # [(linux64 or aarch64 or win) and (cuda_compiler_version or "").startswith("11")] |
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.
Think we may want to keep these top-level requirements
at least for build
& host
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.
Why? TBH I don't quite understand the purpose of top-level requirements, when there are multiple outputs. Seems like just hacks to me for bowing to the limitations of conda-build & co? But what do we wish to achieve here, when it's working fine now?
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.
The original idea of the multi-outputs
recipe was to largely handle everything (like the build, dependencies at build time, etc.) at the top-level
The outputs
sections themselves were mainly geared around taking the resulting contents of $PREFIX
and slicing them up in different ways to create several (potentially interrelated) packages
Over time people have added more things to the subpackages sections (different requirement stages, more complicated build & install patterns, etc.). As we have seen these later additions are incomplete
This is why we see issues with Python and PIP_*
environment variables, misunderstandings by the build tooling about how to build the recipe, etc.
Hewing close to the original model will minimize the chance of niche issues cropping up
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.
Thanks, John, for sharing the background. My preference is to keep the recipe as-is and see what else issue we could run into, unless you have strong opinion otherwise. The status quo is cleaner and makes better sense to reflect the intention IMHO. I am also very curious to see how this would involve into, once the new recipe format is up and running.
e26ee3d
to
78be34d
Compare
78be34d
to
2cebe8b
Compare
MNT: Re-rendered with conda-build 3.23.1, conda-smithy 3.30.4, and conda-forge-pinning 2024.01.22.14.29.27
The PR is ready. Will merge later tonight / tomorrow unless there are objections. Lessons learned in this PR
|
Merging, thanks @beckermr @jaimergp @jakirkham for help and @jakirkham @vyasr @bdice for reviewing the |
Close #229.
It is very likely that the current package version for this feedstock is out of date.
Checklist before merging this PR:
license_file
is packagedInformation about this PR:
@conda-forge-admin,
please add bot automerge
in the title and merge the resulting PR. This command will add our bot automerge feature to your feedstock.bot-rerun
label to this PR. The bot will close this PR and schedule another one. If you do not have permissions to add this label, you can use the phrase@conda-forge-admin, please rerun bot
in a PR comment to have theconda-forge-admin
add it for you.Pending Dependency Version Updates
Here is a list of all the pending dependency version updates for this repo. Please double check all dependencies before merging.
Dependency Analysis
We couldn't run dependency analysis due to an internal error in the bot, depfinder, or grayskull. :/ Help is very welcome!
This PR was created by the regro-cf-autotick-bot. The regro-cf-autotick-bot is a service to automatically track the dependency graph, migrate packages, and propose package version updates for conda-forge. Feel free to drop us a line if there are any issues! This PR was generated by https://github.com/regro/cf-scripts/actions/runs/7573336059, please use this URL for debugging.