Feature Request: Force-Off ROCm and CUDA builds in gen_linux.sh
even if they are present.
#4511
Labels
feature request
New feature or request
Ahoj,
there is a need to force a build without CUDA or ROCm, even if some of their libraries are present on the system.
But current
gen_linux.sh
forces ROCm build if some libraries are found, even if ROCm is not desired.Arch Linux AUR package
ollama-nogpu-git
has a patch to patch out all CUDA and ROCm stuff ingen_linux.sh
, but this upstream here seems to change things too fast that it is not feasible to stay up to date with that patch.So I here wish for a feature to make it built-in that ROCm (and CUDA) build can be forced-off (e.g. by an environment variable or command line switch) even if their libraries or just some of them are present. (On my system, I have only some stuff in
/opt/rocm/
, which is needed by some package, but is not a full and not a functional ROCm installation. This currently breaks buildingollama
.)Regards!
The text was updated successfully, but these errors were encountered: