mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-11 12:24:53 +00:00
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:
parent
31822daa2e
commit
e9042d3ea1
@ -83,7 +83,8 @@ model=HuggingFaceH4/zephyr-7b-beta
|
||||
# share a volume with the Docker container to avoid downloading weights every run
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user