mirror of
https://github.com/mudler/LocalAI.git
synced 2026-10-20 13:24:27 -04:00
fix(install.sh): install CUDA toolkit only if CUDA is detected
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
1 parent
3ee5ceb9fa
commit
0f9aa1ef91
1 file changed
+3
-1
Vendored
+3
-1
@@ -613,7 +613,9 @@ for PACKAGE_MANAGER in dnf yum apt-get; do
|
||||
done
|
||||
|
||||
if [ "$DOCKER_INSTALL" = "true" ]; then
|
||||
install_container_toolkit
|
||||
if [ "$HAS_CUDA" = true ]; then
|
||||
install_container_toolkit
|
||||
fi
|
||||
install_docker
|
||||
else
|
||||
install_binary
|
||||
|
||||
Reference in new issue
Block a user