Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

put back neuron installation #2237

Merged
merged 1 commit into from
Jul 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions serving/docker/lmi.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,11 @@ RUN pip3 install torch==${torch_version} torchvision==${torch_vision_version} --
${seq_scheduler_wheel} peft==${peft_version} protobuf==${protobuf_version} \
transformers==${transformers_version} hf-transfer zstandard datasets==${datasets_version} \
mpi4py sentencepiece tiktoken blobfile einops accelerate==${accelerate_version} bitsandbytes==${bitsandbytes_version} \
# TODO: not installing due to version conflict. Install later for optimum update
# optimum==${optimum_version} \
auto-gptq==${auto_gptq_version} pandas pyarrow jinja2 \
opencv-contrib-python-headless safetensors scipy onnx sentence_transformers ${onnxruntime_wheel} autoawq==${autoawq_version} \
tokenizers==${tokenizers_version} pydantic==${pydantic_version} \
&& pip3 install ${djl_converter_wheel} --no-deps \
# TODO: installing optimum here due to version conflict.
&& pip3 install ${djl_converter_wheel} optimum==${optimum_version} --no-deps \
&& git clone https://github.com/neuralmagic/AutoFP8.git && cd AutoFP8 && git reset --hard 4b2092c && pip3 install . && cd .. && rm -rf AutoFP8 \
&& pip3 cache purge

Expand Down
Loading