Add line-break in docker run for readability

Co-authored-by: Daniël de Kok <danieldk@users.noreply.github.com>
This commit is contained in:
Alvaro Bartolome 2025-01-09 11:38:12 +01:00 committed by GitHub
parent 08b39d1ae2
commit 31822daa2e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -150,7 +150,8 @@ model=meta-llama/Meta-Llama-3.1-8B-Instruct
volume=$PWD/data # share a volume with the Docker container to avoid downloading weights every run volume=$PWD/data # share a volume with the Docker container to avoid downloading weights every run
token=<your cli READ token> token=<your cli READ token>
docker run --gpus all --shm-size 1g -e HF_TOKEN=$token -p 8080:80 -v $volume:/data ghcr.io/huggingface/text-generation-inference:3.0.0 --model-id $model docker run --gpus all --shm-size 1g -e HF_TOKEN=$token -p 8080:80 -v $volume:/data \
ghcr.io/huggingface/text-generation-inference:3.0.0 --model-id $model
``` ```
### A note on Shared Memory (shm) ### A note on Shared Memory (shm)