pin gradio version to fix connection error (#12069)
This commit is contained in:
parent
48d9092b5a
commit
beb876665d
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ RUN wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRO
|
||||||
pip install -r /llm/vllm/requirements-xpu.txt && \
|
pip install -r /llm/vllm/requirements-xpu.txt && \
|
||||||
VLLM_TARGET_DEVICE=xpu python setup.py install && \
|
VLLM_TARGET_DEVICE=xpu python setup.py install && \
|
||||||
pip install mpi4py fastapi uvicorn openai && \
|
pip install mpi4py fastapi uvicorn openai && \
|
||||||
pip install gradio && \
|
pip install gradio==4.43.0 && \
|
||||||
# patch /usr/local/lib/python3.11/dist-packages/fastchat/serve/gradio_web_server.py < /tmp/gradio_web_server.patch && \
|
# patch /usr/local/lib/python3.11/dist-packages/fastchat/serve/gradio_web_server.py < /tmp/gradio_web_server.patch && \
|
||||||
pip install ray && \
|
pip install ray && \
|
||||||
patch /usr/local/lib/python3.11/dist-packages/fastchat/serve/gradio_web_server.py < /tmp/gradio_web_server.patch
|
patch /usr/local/lib/python3.11/dist-packages/fastchat/serve/gradio_web_server.py < /tmp/gradio_web_server.patch
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue