forked from vllm-project/vllm
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Misc] Define common requirements (vllm-project#3841)
- Loading branch information
1 parent
9edec65
commit cfaf49a
Showing
11 changed files
with
62 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,14 @@ | ||
cmake>=3.21 | ||
cmake >= 3.21 | ||
ninja # For faster builds. | ||
psutil | ||
ray >= 2.9 | ||
sentencepiece # Required for LLaMA tokenizer. | ||
numpy | ||
torch == 2.2.1 | ||
requests | ||
py-cpuinfo | ||
transformers >= 4.39.1 # Required for StarCoder2 & Llava. | ||
xformers == 0.0.25 # Requires PyTorch 2.2.1. | ||
fastapi | ||
uvicorn[standard] | ||
pydantic >= 2.0 # Required for OpenAI server. | ||
prometheus_client >= 0.18.0 | ||
pynvml == 11.5.0 | ||
triton >= 2.1.0 | ||
outlines == 0.0.34 | ||
tiktoken == 0.6.0 # Required for DBRX tokenizer | ||
vllm-nccl-cu12>=2.18,<2.19 # for downloading nccl library | ||
tiktoken == 0.6.0 # Required for DBRX tokenizer | ||
outlines == 0.0.34 # Requires torch >= 2.1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,6 @@ | ||
cmake>=3.21 | ||
ninja # For faster builds. | ||
psutil | ||
ray >= 2.9 | ||
sentencepiece # Required for LLaMA tokenizer. | ||
numpy | ||
transformers >= 4.38.0 # Required for Gemma. | ||
fastapi | ||
uvicorn[standard] | ||
pydantic >= 2.0 # Required for OpenAI server. | ||
prometheus_client >= 0.18.0 | ||
torch == 2.2.1+cpu | ||
triton >= 2.1.0 | ||
filelock == 3.13.3 | ||
py-cpuinfo | ||
# Common dependencies | ||
-r requirements-common.txt | ||
|
||
# Dependencies for x86_64 CPUs | ||
torch == 2.2.1+cpu | ||
triton >= 2.1.0 # FIXME(woosuk): This is a hack to avoid import error. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Common dependencies | ||
-r requirements-common.txt | ||
|
||
# Dependencies for NVIDIA GPUs | ||
ray >= 2.9 | ||
pynvml == 11.5.0 | ||
vllm-nccl-cu12>=2.18,<2.19 # for downloading nccl library | ||
torch == 2.2.1 | ||
xformers == 0.0.25 # Requires PyTorch 2.2.1 | ||
triton >= 2.1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,7 @@ | ||
sentencepiece # Required for LLaMA tokenizer. | ||
numpy | ||
# Common dependencies | ||
-r requirements-common.txt | ||
|
||
# Dependencies for Neuron devices | ||
transformers-neuronx >= 0.9.0 | ||
torch-neuronx >= 2.1.0 | ||
neuronx-cc | ||
fastapi | ||
uvicorn[standard] | ||
pydantic >= 2.0 # Required for OpenAI server. | ||
prometheus_client >= 0.18.0 | ||
requests | ||
psutil | ||
py-cpuinfo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,5 @@ | ||
cmake>=3.21 | ||
ninja # For faster builds. | ||
typing-extensions>=4.8.0 | ||
starlette | ||
requests | ||
py-cpuinfo | ||
psutil | ||
# Common dependencies | ||
-r requirements-common.txt | ||
|
||
# Dependencies for AMD GPUs | ||
ray == 2.9.3 | ||
sentencepiece # Required for LLaMA tokenizer. | ||
numpy | ||
tokenizers>=0.15.0 | ||
transformers >= 4.39.1 # Required for StarCoder2 & Llava. | ||
fastapi | ||
uvicorn[standard] | ||
pydantic >= 2.0 # Required for OpenAI server. | ||
prometheus_client >= 0.18.0 | ||
outlines == 0.0.34 | ||
tiktoken == 0.6.0 # Required for DBRX tokenizer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters