-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[docker] separate vllm and lmi-dist modes into separate virtual envir… (
- Loading branch information
Showing
8 changed files
with
92 additions
and
57 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
peft==0.13.2 | ||
protobuf==3.20.3 | ||
transformers==4.45.2 | ||
hf-transfer | ||
zstandard | ||
datasets==3.0.1 | ||
mpi4py | ||
sentencepiece | ||
tiktoken | ||
blobfile | ||
einops | ||
accelerate==1.0.1 | ||
bitsandbytes==0.44.1 | ||
auto-gptq==0.7.1 | ||
pandas | ||
pyarrow | ||
jinja2 | ||
retrying | ||
opencv-contrib-python-headless | ||
safetensors | ||
scipy | ||
onnx | ||
sentence_transformers | ||
onnxruntime-gpu==1.20.0 | ||
autoawq==0.2.5 | ||
tokenizers==0.20.3 | ||
pydantic==2.9.2 | ||
optimum==1.23.2 | ||
torch==2.5.1 | ||
torchvision==0.20.1 | ||
# sequence scheduler wheel for hf accelerate rolling batch | ||
https://publish.djl.ai/seq_scheduler/seq_scheduler-0.1.0-py3-none-any.whl |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
-r requirements-common.txt | ||
vllm==0.7.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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/usr/bin/env bash | ||
# used in the dockerfiles to create virtualenvs per engine | ||
# currently only intended for use in lmi.Dockerfile, need to refactor this to work for trtllm/neuron if needed | ||
venv_directory=$1 | ||
requirements_file=$2 | ||
|
||
# This was copied over from the previous pip install defined in the lmi.Dockerfile, so it's specific to that Dockerfile | ||
python -m venv --system-site-packages $venv_directory | ||
venv_pip="${venv_directory}/bin/pip" | ||
$venv_pip install -r $requirements_file | ||
$venv_pip install https://publish.djl.ai/djl_converter/djl_converter-0.31.0-py3-none-any.whl --no-deps | ||
git clone https://github.com/neuralmagic/AutoFP8.git | ||
cd AutoFP8 | ||
git reset --hard 4b2092c | ||
$venv_pip install . | ||
cd .. | ||
rm -rf AutoFP8 | ||
$venv_pip cache purge |
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