Skip to content

Commit

Permalink
chore: add multipart dep for fastapi (#895)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhyncs authored Aug 2, 2024
1 parent 6b8f66e commit 046c2b3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ jobs:
pip install -e "python[all]"
pip install flashinfer -i https://flashinfer.ai/whl/cu121/torch2.3/ --force-reinstall
pip install --upgrade transformers
pip install python-multipart
- name: Benchmark Serving Throughput
run: |
Expand Down
2 changes: 1 addition & 1 deletion python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dependencies = [

[project.optional-dependencies]
srt = ["aiohttp", "fastapi", "hf_transfer", "huggingface_hub", "interegular", "packaging", "pillow",
"psutil", "pydantic", "torch", "uvicorn", "uvloop", "zmq", "vllm==0.5.3.post1", "outlines>=0.0.44"]
"psutil", "pydantic", "torch", "uvicorn", "uvloop", "zmq", "vllm==0.5.3.post1", "outlines>=0.0.44", "python-multipart"]
openai = ["openai>=1.0", "tiktoken"]
anthropic = ["anthropic>=0.20.0"]
litellm = ["litellm>=1.0.0"]
Expand Down
1 change: 1 addition & 0 deletions python/sglang/check_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"zmq",
"vllm",
"outlines",
"multipart",
"openai",
"tiktoken",
"anthropic",
Expand Down

0 comments on commit 046c2b3

Please sign in to comment.