-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
WIP: Add GPU builds #21
base: main
Are you sure you want to change the base?
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 ( |
I'm not sufficiently connected to the core devs anymore to weigh in intelligently on this. Perhaps @bodono can weigh in? |
1ed5ac8
to
deec5d9
Compare
Interestingly, this only fails for cuda 10.2 on windows, but works otherwise. I'd be completely fine in skipping that failing combination. @conda-forge/nvcc it's a bit hard to tell for me if building for all CUDA versions is really required here, but the dependence on cudart makes me guess so? In any case, feedback is welcome! :) |
Seems my enthusiasm might have been premature - the test suite is too old to be run with pytest, and everything just gets skipped... 🤦 EDIT: wasn't an issue after all. :) |
In CUDA 11.0+ the soname on libcudart is the same, so if no newer features are used then in theory you can build with the latest CUDA 11.x version and run on all 11.x versions of libcudart (at least on the linux side, not sure about the windows side). |
@xhochy @isuruf Obviously those changes are still outstanding (revert vs2019, skip win+cuda10.2), but wanted to leave it as is right now for ease of reviewing. |
@h-vetinari Should I look at this PR in general or with regards to win/GPU? For the latter, I have no experience/expertise. |
General review would already be very nice, there's no win-specific GPU parts here anyway. :) |
recipe/meta.yaml
Outdated
- export BLAS_LAPACK_LIBS="lapack:cblas:blas" # [unix] | ||
- {{ PYTHON }} -m pip install . -vv | ||
skip: true # [py==27 and (win or (not x86_64))] | ||
number: {{ number }} |
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.
Keep this as a plain number, otherwise the bot will not update it anymore.
recipe/meta.yaml
Outdated
script: build-pkg.bat # [win] | ||
build: | ||
string: "py{{ CONDA_PY }}h{{ PKG_HASH }}_{{ number }}_{{ scs_proc_type }}" # [cuda_compiler_version == "None"] | ||
string: "py{{ CONDA_PY }}cuda{{ cuda_compiler_version|replace(".", "") }}h{{ PKG_HASH }}_{{ number }}_{{ scs_proc_type }}" # [cuda_compiler_version != "None"] |
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.
string: "py{{ CONDA_PY }}cuda{{ cuda_compiler_version|replace(".", "") }}h{{ PKG_HASH }}_{{ number }}_{{ scs_proc_type }}" # [cuda_compiler_version != "None"] | |
string: "py{{ CONDA_PY }}cuda{{ cuda_compiler_version|replace(".", "") }}h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}_{{ scs_proc_type }}" # [cuda_compiler_version != "None"] |
recipe/meta.yaml
Outdated
script: build-pkg.sh # [not win] | ||
script: build-pkg.bat # [win] | ||
build: | ||
string: "py{{ CONDA_PY }}h{{ PKG_HASH }}_{{ number }}_{{ scs_proc_type }}" # [cuda_compiler_version == "None"] |
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.
string: "py{{ CONDA_PY }}h{{ PKG_HASH }}_{{ number }}_{{ scs_proc_type }}" # [cuda_compiler_version == "None"] | |
string: "py{{ CONDA_PY }}h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}_{{ scs_proc_type }}" # [cuda_compiler_version == "None"] |
Thanks for the review @xhochy; I'm sorry this slipped under the radar in a very busy week. Will try to get back to it soon. |
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 again for the review @xhochy, didn't know the PKG_BUILDNUM
trick.
@conda-forge/help-pypy @conda-forge/nvcc |
OpenMM has some! |
d3f53b8
to
992a6b7
Compare
@conda-forge-admin, please rerender |
Hi! This is the friendly automated conda-forge-linting service. I was trying to look for recipes to lint for you, but it appears we have a merge conflict. Please ping the 'conda-forge/core' team (using the @ notation in a comment) if you believe this is a bug. |
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 |
@conda-forge-admin, please rerender |
…nda-forge-pinning 2022.01.14.19.19.28
Found out that upstream supports GPUs, let's try building for it.
There are a bunch of relevant changes that haven't seen a release yet (I've asked when that might be), but for the moment, I'm building from master.Edit: new version release 🥳