[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFC: Register Build-Profile for ROCm and CUDA?



On Mon, 2025-05-05 at 22:05 +0200, Christian Kastner wrote:
> 
> Theoretically 'nocuda' should also be registered, but CUDA-dependent
> packages have their own special builds anyway so I'm not sure much would
> be gained.
> 
> Thoughts? Objections?

It may work for ROCm but not for CUDA.

For ROCm, one can build binary packages from a single src package
from the main section. However, CUDA is non-free, and hence:

src:pytorch (main) builds the CPU version of pytorch binaries.
src:pytorch-cuda (contrib) builds the CUDA version of pytorch binaries.

We cannot build the CPU binaries for main from src:pytorch-cuda even
with the nocuda tag.


Reply to: