mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-18 20:27:57 +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
4
docs/static/install.sh
vendored
4
docs/static/install.sh
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user