From 3588dbd541863250ff6ba64d110fb3924a28b540 Mon Sep 17 00:00:00 2001 From: Yuting Jiang Date: Thu, 26 Sep 2024 15:08:42 +0800 Subject: [PATCH] Update rocm6.0.x.dockerfile --- dockerfile/rocm6.0.x.dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dockerfile/rocm6.0.x.dockerfile b/dockerfile/rocm6.0.x.dockerfile index bd33e289a..ce5736e29 100644 --- a/dockerfile/rocm6.0.x.dockerfile +++ b/dockerfile/rocm6.0.x.dockerfile @@ -173,6 +173,11 @@ RUN make RCCL_HOME=/opt/rccl/build/ ROCBLAS_BRANCH=release/rocm-rel-6.0 HIPBLASL RUN cd third_party/Megatron/Megatron-DeepSpeed && \ git apply ../megatron_deepspeed_rocm6.patch +# Install AMD SMI Python Library +RUN apt install amd-smi-lib -y && \ + cd /opt/rocm/share/amd_smi && \ + python3 -m pip install . + ADD . . ENV USE_HIP_DATATYPE=1 ENV USE_HIPBLAS_COMPUTETYPE=1