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

update deepspeed container python version to 3.9 #546

Merged
merged 1 commit into from
Mar 9, 2023
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
3 changes: 2 additions & 1 deletion serving/docker/deepspeed.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
ARG version=11.7.1-cudnn8-devel-ubuntu20.04
FROM nvidia/cuda:$version
ARG djl_version=0.21.0~SNAPSHOT
ARG python_version=3.9
ARG torch_version=1.13.1
ARG accelerate_version=0.16.0
ARG deepspeed_wheel="https://publish.djl.ai/deepspeed/deepspeed-0.8.0-py2.py3-none-any.whl"
Expand Down Expand Up @@ -43,7 +44,7 @@ RUN apt-get update && \
scripts/install_djl_serving.sh $djl_version && \
mkdir -p /opt/djl/bin && cp scripts/telemetry.sh /opt/djl/bin && \
echo "${djl_version} deepspeed" > /opt/djl/bin/telemetry && \
scripts/install_python.sh && \
scripts/install_python.sh ${python_version} && \
scripts/install_s5cmd.sh x64 && \
DEBIAN_FRONTEND=noninteractive apt-get install -yq libaio-dev libopenmpi-dev && \
pip3 install torch==${torch_version} --extra-index-url https://download.pytorch.org/whl/cu117 && \
Expand Down