Update README.md

Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
This commit is contained in:
Ettore Di Giacinto 2024-11-21 09:54:41 +01:00 committed by GitHub
parent f03bbf3188
commit 46847f3bd4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -56,14 +56,16 @@ curl https://localai.io/install.sh | sh
Or run with docker: Or run with docker:
```bash ```bash
docker run -ti --name local-ai -p 8080:8080 localai/localai:latest-aio-cpu docker run -ti --name local-ai -p 8080:8080 localai/localai:latest-cpu
# Alternative images: # Alternative images:
# - if you have an Nvidia GPU: # - if you have an Nvidia GPU:
# docker run -ti --name local-ai -p 8080:8080 --gpus all localai/localai:latest-aio-gpu-nvidia-cuda-12 # docker run -ti --name local-ai -p 8080:8080 --gpus all localai/localai:latest-gpu-nvidia-cuda-12
# - without preconfigured models # - without preconfigured models
# docker run -ti --name local-ai -p 8080:8080 localai/localai:latest # docker run -ti --name local-ai -p 8080:8080 localai/localai:latest
# - without preconfigured models for Nvidia GPUs # - without preconfigured models for Nvidia GPUs
# docker run -ti --name local-ai -p 8080:8080 --gpus all localai/localai:latest-gpu-nvidia-cuda-12 # docker run -ti --name local-ai -p 8080:8080 --gpus all localai/localai:latest-gpu-nvidia-cuda-12
## AIO images (it will pre-download a set of models ready for use, see https://localai.io/basics/container/)
# docker run -ti --name local-ai -p 8080:8080 localai/localai:latest-aio-cpu
``` ```
To load models: To load models: