[Doc] Update tip info on using latest transformers when creating a custom Dockerfile (#15070)
This commit is contained in:
parent
3d446433ec
commit
073d1ed354
@ -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.7.3
|
FROM vllm/vllm-openai:v0.8.0
|
||||||
|
|
||||||
# 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 --system vllm[audio,video]==0.7.3
|
RUN uv pip install vllm[audio,video]==0.8.0
|
||||||
```
|
```
|
||||||
|
|
||||||
:::
|
:::
|
||||||
@ -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 --system git+https://github.com/huggingface/transformers.git
|
RUN uv pip install git+https://github.com/huggingface/transformers.git
|
||||||
```
|
```
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
Loading…
x
Reference in New Issue
Block a user