mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-10 11:54:52 +00:00
Update docker_launch.md
This commit is contained in:
parent
c12547972d
commit
d235d3b432
@ -8,9 +8,12 @@ volume=$PWD/data # share a volume with the Docker container to avoid downloading
|
||||
|
||||
docker run --gpus all --shm-size 1g -p 8080:80 -v $volume:/data ghcr.io/huggingface/text-generation-inference:1.0.0 --model-id $model
|
||||
```
|
||||
|
||||
<Tip warning={true}>
|
||||
**Note:** To use GPUs, you need to install the [NVIDIA Container Toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html). We also recommend using NVIDIA drivers with CUDA version 11.8 or higher.
|
||||
</Tip>
|
||||
|
||||
To see all options to serve your models, check in the [codebase](https://github.com/huggingface/text-generation-inference/blob/main/launcher/src/main.rs) or the CLI:
|
||||
```
|
||||
text-generation-launcher --help
|
||||
```
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user