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

Rebuild for CUDA 12 w/arch + Windows support #9

Merged

Conversation

regro-cf-autotick-bot
Copy link
Contributor

This PR has been triggered in an effort to update cuda120.

Notes and instructions for merging this PR:

  1. Please merge the PR only after the tests have passed.
  2. Feel free to push to the bot's branch to update this PR if needed.

Please note that if you close this PR we presume that the feedstock has been rebuilt, so if you are going to perform the rebuild yourself don't close this PR until the your rebuild has been merged.


Here are some more details about this specific migrator:

The transition to CUDA 12 SDK includes new packages for all CUDA libraries and build tools. Notably, the cudatoolkit package no longer exists, and packages should depend directly on the specific CUDA libraries (libcublas, libcusolver, etc) as needed. For an in-depth overview of the changes and to report problems see this issue. Please feel free to raise any issues encountered there. Thank you! 🙏


If this PR was opened in error or needs to be updated please add the 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 the conda-forge-admin add it for you.

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/7139523503, please use this URL for debugging.

The transition to CUDA 12 SDK includes new packages for all CUDA libraries and
build tools. Notably, the cudatoolkit package no longer exists, and packages
should depend directly on the specific CUDA libraries (libcublas, libcusolver,
etc) as needed. For an in-depth overview of the changes and to report problems
[see this issue]( conda-forge/conda-forge.github.io#1963 ).
Please feel free to raise any issues encountered there. Thank you! 🙏
@conda-forge-webservices
Copy link
Contributor

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 (recipe) and found it was in an excellent condition.

@basnijholt
Copy link
Contributor

We seem to running into pybind/pybind11#4606:

2023-12-08T10:59:02.4917152Z   [ 21%] Built target qsim_basic
2023-12-08T10:59:02.5159661Z   [ 28%] Building CUDA object pybind_interface/cuda/CMakeFiles/qsim_cuda.dir/pybind_main_cuda.cpp.o
2023-12-08T10:59:08.8066415Z   /home/conda/feedstock_root/build_artifacts/qsimcirq_1702032902615/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/include/pybind11/detail/../cast.h: In function 'typename pybind11::detail::type_caster<typename pybind11::detail::intrinsic_type<T>::type>::cast_op_type<T> pybind11::detail::cast_op(make_caster<T>&)':
2023-12-08T10:59:08.8072209Z   /home/conda/feedstock_root/build_artifacts/qsimcirq_1702032902615/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/include/pybind11/detail/../cast.h:45:120: error: expected template-name before '<' token
2023-12-08T10:59:08.8076970Z      45 |     return caster.operator typename make_caster<T>::template cast_op_type<T>();
2023-12-08T10:59:08.8082745Z         |                                                                                                                        ^
2023-12-08T10:59:08.8089251Z   /home/conda/feedstock_root/build_artifacts/qsimcirq_1702032902615/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/include/pybind11/detail/../cast.h:45:120: error: expected identifier before '<' token
2023-12-08T10:59:08.8095115Z   /home/conda/feedstock_root/build_artifacts/qsimcirq_1702032902615/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/include/pybind11/detail/../cast.h:45:123: error: expected primary-expression before '>' token
2023-12-08T10:59:08.8099614Z      45 |     return caster.operator typename make_caster<T>::template cast_op_type<T>();
2023-12-08T10:59:08.8105996Z         |                                                                                                                           ^
2023-12-08T10:59:08.8112151Z   /home/conda/feedstock_root/build_artifacts/qsimcirq_1702032902615/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/include/pybind11/detail/../cast.h:45:126: error: expected primary-expression before ')' token
2023-12-08T10:59:08.8116142Z      45 |     return caster.operator typename make_caster<T>::template cast_op_type<T>();
2023-12-08T10:59:08.8121651Z         |                                                                                                                              ^
2023-12-08T10:59:09.9432566Z   make[2]: *** [pybind_interface/decide/CMakeFiles/qsim_decide.dir/build.make:77: pybind_interface/decide/CMakeFiles/qsim_decide.dir/decide.cpp.o] Error 1
2023-12-08T10:59:09.9440665Z   make[1]: *** [CMakeFiles/Makefile2:232: pybind_interface/decide/CMakeFiles/qsim_decide.dir/all] Error 2
2023-12-08T10:59:09.9446003Z   make[1]: *** Waiting for unfinished jobs....
2023-12-08T11:02:11.8869911Z   /home/conda/feedstock_root/build_artifacts/qsimcirq_1702032902615/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/include/pybind11/detail/../cast.h: In function 'typename pybind11::detail::type_caster<typename pybind11::detail::intrinsic_type<T>::type>::cast_op_type<T> pybind11::detail::cast_op(make_caster<T>&)':
2023-12-08T11:02:11.8928207Z   /home/conda/feedstock_root/build_artifacts/qsimcirq_1702032902615/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/include/pybind11/detail/../cast.h:45:120: error: expected template-name before '<' token
2023-12-08T11:02:11.8929633Z      45 |     return caster.operator typename make_caster<T>::template cast_op_type<T>();
2023-12-08T11:02:11.8930001Z         |                                                                                                                        ^
2023-12-08T11:02:11.8930966Z   /home/conda/feedstock_root/build_artifacts/qsimcirq_1702032902615/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/include/pybind11/detail/../cast.h:45:120: error: expected identifier before '<' token
2023-12-08T11:02:11.8932318Z   /home/conda/feedstock_root/build_artifacts/qsimcirq_1702032902615/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/include/pybind11/detail/../cast.h:45:123: error: expected primary-expression before '>' token
2023-12-08T11:02:11.8933011Z      45 |     return caster.operator typename make_caster<T>::template cast_op_type<T>();
2023-12-08T11:02:11.8933355Z         |                                                                                                                           ^
2023-12-08T11:02:11.8934327Z   /home/conda/feedstock_root/build_artifacts/qsimcirq_1702032902615/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/include/pybind11/detail/../cast.h:45:126: error: expected primary-expression before ')' token
2023-12-08T11:02:11.8935369Z      45 |     return caster.operator typename make_caster<T>::template cast_op_type<T>();
2023-12-08T11:02:11.8935721Z         |                                                                                                                              ^
2023-12-08T11:02:16.3989112Z   make[2]: *** [pybind_interface/cuda/CMakeFiles/qsim_cuda.dir/build.make:77: pybind_interface/cuda/CMakeFiles/qsim_cuda.dir/pybind_main_cuda.cpp.o] Error 1
2023-12-08T11:02:16.3990043Z   make[1]: *** [CMakeFiles/Makefile2:258: pybind_interface/cuda/CMakeFiles/qsim_cuda.dir/all] Error 2
2023-12-08T11:02:16.3990305Z   make: *** [Makefile:91: all] Error 2

Copying from @jakirkham from regro-cf-autotick-bot/pp-sketchlib-feedstock@da7a213

The combination of pybind11 + GCC 12 + nvcc 12 runs into compilation
errors. This is documented in a pybind11 issue. To workaround this,
configure the CUDA 12 migrator to use GCC 11, which shouldn't have this
issue.

xref: pybind/pybind11#4606
@conda-forge-webservices conda-forge-webservices bot added the bot-rerun Instruct the bot to retry the PR label Dec 8, 2023
@basnijholt
Copy link
Contributor

@conda-forge-admin, please rerender

Copy link
Contributor

github-actions bot commented Dec 8, 2023

Hi! This is the friendly automated conda-forge-webservice.

I tried to rerender for you but ran into some issues. Please check the output logs of the latest rerendering GitHub actions workflow run for errors. You can also ping conda-forge/core for further assistance or try re-rendering locally.

This message was generated by GitHub actions workflow run https://github.com/conda-forge/qsimcirq-feedstock/actions/runs/7144268427.

@basnijholt basnijholt removed the bot-rerun Instruct the bot to retry the PR label Dec 8, 2023
@basnijholt basnijholt merged commit b704f81 into conda-forge:main Dec 8, 2023
27 checks passed
@regro-cf-autotick-bot regro-cf-autotick-bot deleted the rebuild-cuda120-0-3_h7b2616 branch December 8, 2023 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants