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:40:08 +01:00 committed by GitHub
parent 31822daa2e
commit e9042d3ea1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -83,7 +83,8 @@ model=HuggingFaceH4/zephyr-7b-beta
# share a volume with the Docker container to avoid downloading weights every run # share a volume with the Docker container to avoid downloading weights every run
volume=$PWD/data volume=$PWD/data
docker run --gpus all --shm-size 1g -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 -p 8080:80 -v $volume:/data \
ghcr.io/huggingface/text-generation-inference:3.0.0 --model-id $model
``` ```
And then you can make requests like And then you can make requests like