diff --git a/tensorflow/tools/ci_build/Dockerfile.rbe.rocm-ubuntu18.04-manylinux2010-multipython b/tensorflow/tools/ci_build/Dockerfile.rbe.rocm-ubuntu18.04-manylinux2010-multipython index 79580021d1a..57672c349db 100644 --- a/tensorflow/tools/ci_build/Dockerfile.rbe.rocm-ubuntu18.04-manylinux2010-multipython +++ b/tensorflow/tools/ci_build/Dockerfile.rbe.rocm-ubuntu18.04-manylinux2010-multipython @@ -16,15 +16,15 @@ ARG DEBIAN_FRONTEND=noninteractive # Install ROCm packages RUN apt-get update && apt-get install -y --no-install-recommends \ curl libnuma-dev gnupg sudo libelf1 build-essential \ - && curl -sL http://repo.radeon.com/rocm/apt/4.0/rocm.gpg.key | apt-key add - \ - && printf "deb [arch=amd64] http://repo.radeon.com/rocm/apt/4.0/ xenial main" | tee /etc/apt/sources.list.d/rocm.list \ + && curl -sL http://repo.radeon.com/rocm/apt/4.1/rocm.gpg.key | apt-key add - \ + && printf "deb [arch=amd64] http://repo.radeon.com/rocm/apt/4.1/ xenial main" | tee /etc/apt/sources.list.d/rocm.list \ && apt-get update && apt-get install -y --no-install-recommends \ rocm-dev rocm-libs hipcub rocm-utils rocm-cmake \ rocfft miopen-hip miopengemm rocblas hipblas rocrand rccl \ && apt-get clean && rm -rf /var/lib/apt/lists/* # Set ROCm environment variables and paths. -ARG ROCM_PATH=/opt/rocm +ARG ROCM_PATH=/opt/rocm-4.1.0 ENV HCC_HOME=$ROCM_PATH/hcc ENV HIP_PATH=$ROCM_PATH/hip ENV OPENCL_ROOT=$ROCM_PATH/opencl diff --git a/third_party/toolchains/preconfig/generate/containers.bzl b/third_party/toolchains/preconfig/generate/containers.bzl index 2d3c28de5c9..14acc2b66c2 100644 --- a/third_party/toolchains/preconfig/generate/containers.bzl +++ b/third_party/toolchains/preconfig/generate/containers.bzl @@ -12,6 +12,6 @@ container_digests = { "cuda10.1-cudnn7-ubuntu16.04-manylinux2010-multipython": "sha256:3f890a951c81a201d60d0161a56ce628a90323be0c7f795550caa37f6f41a85c", "cuda10.1-cudnn7-ubuntu18.04-manylinux2010-multipython": "sha256:bd7666d1ef49b2b2e2a64981f1c9234deeccdb0d5198b30ff4289c3dfcffedbf", "cuda11.0-cudnn8-ubuntu18.04-manylinux2010-multipython": "sha256:3e5c991f67e2cca610cb9f6b39927e3757ba1e7f2424d18cef8b871bfa4d75b3", - "rocm-ubuntu18.04-manylinux2010-multipython": "sha256:07ebbcd24eb1ec0819c0a57f789808ddd3f293f210efbb9e0525c22dc44729a2", + "rocm-ubuntu18.04-manylinux2010-multipython": "sha256:3eb91d6b8e831f6feddeb6436fcda2a6a2f52c738df76207448d52d78952d307", "windows-1803": "sha256:f109576c7c0c8a1783ff22b666e8923b52dbbe7933f69a1c7a7275202c304a12", }