Skip to content

Commit

Permalink
BLD: Fix pip is looking multiple versions of some packages while inst…
Browse files Browse the repository at this point in the history
…alling (#1603)
  • Loading branch information
ChengjieLi28 authored Jun 7, 2024
1 parent a1cd729 commit 55c5636
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,20 @@ packages = find:
install_requires =
xoscar>=0.3.0
torch
gradio>=3.39.0
gradio==4.26.0
typer[all]<0.12.0 # fix typer required by gradio
pillow
click
tqdm>=4.27
tabulate
requests
pydantic
fastapi
fastapi==0.110.3
uvicorn
huggingface-hub>=0.19.4
typing_extensions
fsspec>=2023.1.0,<=2023.10.0
s3fs
fsspec==2023.10.0
s3fs==2023.10.0
modelscope>=1.10.0
sse_starlette>=1.6.5 # ensure_bytes API break change: https://github.com/sysid/sse-starlette/issues/65
openai>1 # For typing
Expand Down
8 changes: 4 additions & 4 deletions xinference/deploy/docker/cpu.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,20 @@ RUN python -m pip install --upgrade -i "$PIP_INDEX" pip && \
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu && \
pip install -i "$PIP_INDEX" \
"xoscar>=0.3.0" \
"gradio>=3.39.0" \
"gradio==4.26.0" \
"typer[all]<0.12.0" \
pillow \
click \
"tqdm>=4.27" \
tabulate \
requests \
pydantic \
fastapi \
"fastapi==0.110.3" \
uvicorn \
"huggingface-hub>=0.19.4" \
typing_extensions \
"fsspec>=2023.1.0,<=2023.10.0" \
s3fs \
"fsspec==2023.10.0" \
"s3fs==2023.10.0" \
"modelscope>=1.10.0" \
"sse_starlette>=1.6.5" \
"openai>1" \
Expand Down

0 comments on commit 55c5636

Please sign in to comment.