[Doc] update --system for transformers installation in docker doc (#15616)
Signed-off-by: reidliu41 <reid201711@gmail.com> Co-authored-by: reidliu41 <reid201711@gmail.com>
This commit is contained in:
parent
6278bc829e
commit
8063dfc61a
@ -34,11 +34,11 @@ If you need to use those dependencies (having accepted the license terms),
|
|||||||
create a custom Dockerfile on top of the base image with an extra layer that installs them:
|
create a custom Dockerfile on top of the base image with an extra layer that installs them:
|
||||||
|
|
||||||
```Dockerfile
|
```Dockerfile
|
||||||
FROM vllm/vllm-openai:v0.8.0
|
FROM vllm/vllm-openai:v0.8.2
|
||||||
|
|
||||||
# e.g. install the `audio` and `video` optional dependencies
|
# e.g. install the `audio` and `video` optional dependencies
|
||||||
# NOTE: Make sure the version of vLLM matches the base image!
|
# NOTE: Make sure the version of vLLM matches the base image!
|
||||||
RUN uv pip install vllm[audio,video]==0.8.0
|
RUN uv pip install --system vllm[audio,video]==0.8.2
|
||||||
```
|
```
|
||||||
|
|
||||||
:::
|
:::
|
||||||
@ -52,7 +52,7 @@ with an extra layer that installs their code from source:
|
|||||||
```Dockerfile
|
```Dockerfile
|
||||||
FROM vllm/vllm-openai:latest
|
FROM vllm/vllm-openai:latest
|
||||||
|
|
||||||
RUN uv pip install git+https://github.com/huggingface/transformers.git
|
RUN uv pip install --system git+https://github.com/huggingface/transformers.git
|
||||||
```
|
```
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
Loading…
x
Reference in New Issue
Block a user