-
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.
refactor lmi, neuron, and trt dockerfiles to install python requireme…
…nts from requirements file
- Loading branch information
Showing
6 changed files
with
140 additions
and
137 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,42 @@ | ||
torch==2.5.1 | ||
torchvision==0.20.1 | ||
# sequence scheduler for hf accelerate rolling batch | ||
https://publish.djl.ai/seq_scheduler/seq_scheduler-0.1.0-py3-none-any.whl | ||
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 | ||
autoawq==0.2.5 | ||
tokenizers==0.20.1 | ||
pydantic==2.9.2 | ||
# djl converter wheel for converting hf models to onnx/rust | ||
https://publish.djl.ai/djl_converter/djl_converter-0.31.0-py3-none-any.whl | ||
optimum==1.23.2 | ||
# flashinfer for vllm | ||
https://github.com/flashinfer-ai/flashinfer/releases/download/v0.1.6/flashinfer-0.1.6+cu124torch2.4-cp311-cp311-linux_x86_64.whl | ||
# vllm wheel using PT 2.5.1 | ||
https://publish.djl.ai/vllm/cu124-pt251/vllm-0.6.3.post1%2Bcu124-cp311-cp311-linux_x86_64.whl | ||
# lmi-dist wheel - need to change this to the one built by ci once ready | ||
https://publish.djl.ai/lmi_dist/lmi_dist-13.0.0-cp311-cp311-linux_x86_64.whl | ||
# sagemaker fast model loader wheel | ||
https://publish.djl.ai/fast-model-loader/sagemaker_fast_model_loader-0.1.0-cp311-cp311-linux_x86_64.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--extra-index-url https://pip.repos.neuron.amazonaws.com | ||
accelerate==0.29.2 | ||
safetensors | ||
torchvision==0.16.2 | ||
neuronx-cc==2.15.128.0 | ||
torch-neuronx==2.1.2.2.3.0 | ||
transformers-neuronx==0.12.313 | ||
torch_xla==2.1.4 | ||
neuronx-cc-stubs==2.15.128.0 | ||
huggingface-hub==0.25.2 | ||
neuronx_distributed==0.9.0 | ||
protobuf | ||
sentencepiece | ||
jinja2 | ||
diffusers==0.28.2 | ||
opencv-contrib-python-headless | ||
pillow | ||
pydantic==2.6.1 | ||
optimum | ||
optimum-neuron==0.0.25 | ||
tiktoken | ||
blobfile | ||
transformers |
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,38 @@ | ||
torch==2.4.0 | ||
transformers==4.42.4 | ||
accelerate==0.32.1 | ||
peft==0.13.2 | ||
sentencepiece | ||
mpi4py | ||
cuda-python==12.5 | ||
onnx | ||
polygraphy | ||
pynvml==11.5.0 | ||
datasets==2.19.1 | ||
pydantic==2.6.1 | ||
scipy | ||
torchprofile | ||
bitsandbytes | ||
ninja | ||
transformers_stream_generator | ||
einops | ||
tiktoken | ||
jinja2 | ||
graphviz | ||
blobfile | ||
colored | ||
h5py | ||
strenum | ||
pulp | ||
flax | ||
easydict | ||
tensorrt==10.3.0 | ||
janus==1.0.0 | ||
nvidia-modelopt==0.15.0 | ||
numpy==1.26.4 | ||
# TRTLLM toolkit wheel | ||
https://publish.djl.ai/tensorrt-llm/toolkit/tensorrt_llm_toolkit-0.12.0%2Bnightly-py3-none-any.whl | ||
# TRTLLM wheel - contains necessary patch fix not available in OSS | ||
https://publish.djl.ai/tensorrt-llm/v0.12.0/tensorrt_llm-0.12.0-cp310-cp310-linux_x86_64.whl | ||
# Triton toolkit wheel - pybindings for trtllm | ||
https://publish.djl.ai/tritonserver/r24.04/tritontoolkit-24.4-py310-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