Skip to content

Commit 098d654

Browse files
Upgrade DeepSpeed to 0.15.1 to fix build with ROCm
1 parent 38b2fa4 commit 098d654

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

images/runtime/examples/ray-torch-rocm/Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,4 @@ RUN export TMP_DIR=$(mktemp -d) \
1717
&& rm -rf $TMP_DIR
1818

1919
# Install DeepSpeed
20-
# The installation fails on ROCm with the latest released version of DeepSpeed (0.15.0 as of this writing)
21-
# This can be updated once https://github.com/microsoft/DeepSpeed/pull/6456 is released
22-
RUN DS_ACCELERATOR=cuda DS_BUILD_CPU_ADAM=1 DS_BUILD_FUSED_ADAM=1 python3 -m pip install git+https://github.com/microsoft/DeepSpeed.git@a7ffe540fc98a945b9d3d2a9c05653e160d62dcf --global-option="build_ext" --global-option="-j8"
20+
RUN DS_ACCELERATOR=cuda DS_BUILD_CPU_ADAM=1 DS_BUILD_FUSED_ADAM=1 python3 -m pip install deepspeed==0.15.1 --global-option="build_ext" --global-option="-j8"

0 commit comments

Comments
 (0)