-
-
Notifications
You must be signed in to change notification settings - Fork 287
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
Documenting GPU builds #901
Comments
Navigated this for https://github.com/conda-forge/nvidia-apex-feedstock - overall, large challenge is the more-limited use of the outputs section in current packages - so, general lack of experience in writing that portion, and the lack of understanding on what it is executing/what needs to be included in it versus what can be left out. Documentation is available on the outputs section generally, but the use specifically for these type of recipes can be unclear and could use to be clarified (ie, the order of the build scripts to make sure you're skipping the correct aspects in each part). I remain to be a bit confused on the difference between Also, the previous package I used for guidance was the https://github.com/conda-forge/ucx-split-feedstock - which uses an install.sh script in the outputs section. Understanding when that's necessary and when it is not, would be helpful, as that brought some confusion during the build. In this package specifically, one challenge was balancing the CUDA limitations for packages that can run on both Linux and Windows. Ultimately, it came to an easy solution for setting the proc type to CPU for all Windows machines, but it took some trouble-shooting (for example, simply skipping windows on the CUDA compiler did not work). |
Overall, the experience has been positive! I started the recipe when
Also, I'd like to thank you for putting this together! I'll be happy to participate in reviewing the documentation if you need help! |
I'm trying to use |
There isn't. Currently selectors are used to handle the other platforms. Please see these lines as an example. |
Are the headers for the libraries provided with |
They are in the Docker images. You may need to re-render after adding |
Are these files located at |
Yes.
Do you have a PR? Maybe we should move this conversation to there. 🙂 |
My questions regarding general GPU support (I don't know the answers):
Addressing these questions will provide a basis for putting together the document. |
Here are some of the answers:
|
My understanding is that the |
I might tackle this over the Christmas break, together with other GPU stuff like conda-forge/cudatoolkit-feedstock#38. How should we coordinate @jakirkham ? |
Would be good to document how users should enable GPU builds of packages.
The text was updated successfully, but these errors were encountered: