conda-forge/conda-forge.github.io

How to handle which version install by default in CUDA-enabled recipe?

traversaro opened this issue · 1 comments

Your question:

Hello, I recently worked on CUDA-enabled recipes (mainly https://github.com/conda-forge/librealsense-feedstock and conda-forge/onnxruntime-feedstock#63) and I have two doubts that I was not able to find the answer to by looking at existing feedstocks and documentation.

The questions are:

Thanks a lot in advance for any hint on this!

fyi @conda-forge/help-c-cpp @conda-forge/cuda-version @conda-forge/jaxlib @conda-forge/pytorch-cpu @conda-forge/arrow-cpp @conda-forge/tensorflow

A1: Option C, each feedstock should decide on their own because as mentioned each program is unique.

A2: Option C, conda environments which satisfy a set of package constraints are often nonunique. You will get more consistent results from the various conda package managers (conda, mamba, etc) if you use both the build number and track_features. Remember to use a randomly generated string in your feature, so that you don't accidentally share a feature with another feedstock.