Added install_nvidia
This commit is contained in:
parent
a76feebc85
commit
53f77b42d1
1 changed files with 0 additions and 8 deletions
|
|
@ -105,14 +105,6 @@ IMAGE="images:debian/12"
|
||||||
#incus launch "${IMAGE}" "ollama-container" < /dev/null
|
#incus launch "${IMAGE}" "ollama-container" < /dev/null
|
||||||
run_command "incus launch ${IMAGE} ollama-container" "Crear contenedor Ollama"
|
run_command "incus launch ${IMAGE} ollama-container" "Crear contenedor Ollama"
|
||||||
|
|
||||||
if [ $? -eq 0 ]; then
|
|
||||||
echo -e "${GREEN}¡Ollama-container se ha inicializado correctamente!${NC}"
|
|
||||||
else
|
|
||||||
|
|
||||||
die "No se puede crear el container para Ollama"
|
|
||||||
|
|
||||||
fi
|
|
||||||
|
|
||||||
incus restart ollama-container
|
incus restart ollama-container
|
||||||
|
|
||||||
incus config device add ollama-container gpu gpu
|
incus config device add ollama-container gpu gpu
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue