-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
Switch to FindCUDAToolKit #83
Switch to FindCUDAToolKit #83
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 ( |
@conda-forge-admin, please rerender |
/cc @jakirkham - this hopefully would fix #82 #78 |
…nda-forge-pinning 2024.01.05.22.51.09
@conda-forge-admin, please rerender |
…nda-forge-pinning 2024.01.06.21.22.54
@conda-forge-admin, please rerender |
…nda-forge-pinning 2024.01.06.22.47.57
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 Tobias! 🙏
Indeed it looks like the ARM builds are doing well
Had a minor suggestion to fix an issue spotted in one of the ARM CI logs
As to the Linux
Think we can fix this by taking this portion of the recipe... dlib-feedstock/recipe/meta.yaml Lines 49 to 50 in 4498740
...and making this change to it host:
+ - cuda-version {{ cuda_compiler_version }} # [(cuda_compiler_version or "None") != "None"]
- cudnn # [cuda_compiler_version != "None"] This should align the two environments on the same CUDA compiler version |
Many thanks @jakirkham! Do you have any idea how to resolve the windows issues? |
And there seems to be a missing compatible cudnn on aarch64 too :( |
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 Tobias! 🙏
Added a few relevant suggestions below
recipe/meta.yaml
Outdated
- cuda-nvcc-tools # [(cuda_compiler_version or "").startswith("12")] | ||
- cuda-nvcc-impl # [(cuda_compiler_version or "").startswith("12")] |
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.
Could we drop these from host
? Think this is confusing CMake on Windows
Also please let me know any context as to why they were added
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.
Sure thing. Unfortunately still the same issue :(. In conda-forge/pycolmap-feedstock#16 I went back to a setuptools build, that fixed it somehow. I think the correct flags are still not being passed.
/cc @carterbox
Finally. It seems using Ninja did the trick. Gosh, what an ordeal ;). I suggest to:
Any more thoughts @jakirkham? Thanks a lot for all your help! *:
|
Nicely done Tobias! 🥳 Thank you for all your hard work here! 🙏 Yeah agree this was not easy. Exploring with upstream whether we can starting using Everything you propose sounds reasonable CUDA 12 ARM probably needs a newer GLIBC (due to cuDNN) ( conda-forge/conda-forge.github.io#1941 ) As to CUDA 11.2, happy with dropping it on Windows (or anywhere else for that matter). A few feedstocks have already dropped CUDA 11.2. Also have started a discussion about moving from CUDA 11.2 to 11.8 in conda-forge ( conda-forge/conda-forge-pinning-feedstock#5339 ) Edit: FWIW did find this Windows CUDA 11.2 issue ( actions/runner-images#3485 ), which might make sense of the issues we are seeing there |
Co-authored-by: jakirkham <[email protected]>
Co-authored-by: jakirkham <[email protected]>
@conda-forge-admin, please rerender |
@conda-forge-admin, please rerender |
…nda-forge-pinning 2024.01.10.00.10.45
@jakirkham @conda-forge/dlib do you want to take another look, please? All green now. |
Generally this looks good. Only had a couple suggestions on adding comments for future readers Thanks again for all of your hard work here Tobias! 🙏 |
Co-authored-by: jakirkham <[email protected]>
Thanks @jakirkham for the review and your help - will add |
Hi! This is the friendly conda-forge automerge bot! I considered the following status checks when analyzing this PR:
Thus the PR was passing and merged! Have a great day! |
Thanks Tobias! 🙏 Happy to help. Glad to see this in 😄 |
Circling back to this question, there is a CUDA Toolkit package for Visual Studio integration. Think that is what we would need for MSBuild support. Raised an issue about this: conda-forge/staged-recipes#28064 Certainly using a different CMake Generator than MSBuild would bypass this issue |
Checklist
0
(if the version changed)conda-smithy
(Use the phrase@conda-forge-admin, please rerender
in a comment in this PR for automated rerendering)