mirror of
https://github.com/mudler/LocalAI.git
synced 2025-01-05 12:24:10 +00: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:
parent
3ee5ceb9fa
commit
0f9aa1ef91
2
docs/static/install.sh
vendored
2
docs/static/install.sh
vendored
@ -613,7 +613,9 @@ for PACKAGE_MANAGER in dnf yum apt-get; do
|
||||
done
|
||||
|
||||
if [ "$DOCKER_INSTALL" = "true" ]; then
|
||||
if [ "$HAS_CUDA" = true ]; then
|
||||
install_container_toolkit
|
||||
fi
|
||||
install_docker
|
||||
else
|
||||
install_binary
|
||||
|
Loading…
Reference in New Issue
Block a user