sha256:18e4d8f0b8ce7a7422c58046940dd5f32249960449fca09a562b65fb8eb1562a
OS/ARCH
linux/amd64
Compressed size
23.86 GB
Last pushed
8 months by rocmdev
Type
Image
Manifest digest
sha256:18e4d8f0b8ce7a7422c58046940dd5f32249960449fca09a562b65fb8eb1562a
Image Layers
1ARG RELEASE0 B2ARG LAUNCHPAD_BUILD_ARCH0 B3LABEL org.opencontainers.image.ref.name=ubuntu0 B4LABEL org.opencontainers.image.version=24.040 B5ADD file ... in / 28.35 MB6CMD ["/bin/bash"]0 B7RUN /bin/sh -c apt-get update175.86 MB8RUN /bin/sh -c apt-get update1.63 MB9ARG GPU_DEVICE_TARGETS=gfx906 gfx908 gfx90a gfx9420 B10ENV GPU_DEVICE_TARGETS=gfx906 gfx908 gfx90a gfx9420 B11ARG ROCM_VERSION=7.1.00 B12ARG ROCM_PATH=/opt/rocm-7.1.00 B13ENV ROCM_PATH=/opt/rocm-7.1.00 B14ARG ROCM_BUILD_JOB=0 B15ARG ROCM_BUILD_NUM=0 B16ARG PLUGIN_NAMESPACE=70 B17ARG THEROCK_PATH0 B18RUN |7 GPU_DEVICE_TARGETS=gfx906 gfx908 gfx90a5.7 GB19ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/rocm/bin:/opt/rocm/llvm/bin0 B20ENV ln=-s /opt/rocm-/lib/librocblas.so.5 /opt/rocm-/lib/librocblas.so.40 B21ENV LD_LIBRARY_PATH=/opt/rocm-7.1.0/lib:0 B22ENV LLVM_PATH=/opt/rocm-7.1.0/llvm0 B23ENV HCC_HOME=/opt/rocm-7.1.0/hcc0 B24ENV HIP_PATH=/opt/rocm-7.1.0/0 B25ENV OPENCL_ROOT=/opt/rocm-7.1.0/opencl0 B26ENV PATH=/opt/rocm-7.1.0/hcc/bin:/opt/rocm-7.1.0//bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/rocm/bin:/opt/rocm/llvm/bin0 B27ENV PATH=/opt/rocm-7.1.0/bin:/opt/rocm-7.1.0/hcc/bin:/opt/rocm-7.1.0//bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/rocm/bin:/opt/rocm/llvm/bin0 B28ENV PATH=/opt/rocm-7.1.0/opencl/bin:/opt/rocm-7.1.0/bin:/opt/rocm-7.1.0/hcc/bin:/opt/rocm-7.1.0//bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/rocm/bin:/opt/rocm/llvm/bin0 B29ENV PATH=/root/bin:/root/.local/bin:/opt/rocm-7.1.0/opencl/bin:/opt/rocm-7.1.0/bin:/opt/rocm-7.1.0/hcc/bin:/opt/rocm-7.1.0//bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/rocm/bin:/opt/rocm/llvm/bin0 B30RUN |7 GPU_DEVICE_TARGETS=gfx906 gfx908 gfx90a98.54 MB31RUN |7 GPU_DEVICE_TARGETS=gfx906 gfx908 gfx90a92.25 MB32ARG JAX_VERSION0 B33ARG XLA_COMMIT=2e5971172f0c0d8f3a4c37b55cc1b53b4ec37cae0 B34ARG JAX_COMMIT=5712de44e97c455faed1fd45532e821ca66d025a0 B35ARG ROCM_JAX_COMMIT=f10dbb67e9d738e2dd01b0d916afe4db2473bdd70 B36LABEL com.amdgpu.rocm_version=7.1.0 com.amdgpu.python_version=3.12 com.amdgpu.jax_version= com.amdgpu.jax_commit=5712de44e97c455faed1fd45532e821ca66d025a0 B37RUN |11 GPU_DEVICE_TARGETS=gfx906 gfx908 gfx90a157.22 MB38ENV ROCM_PATH=/opt/rocm-7.1.00 B39ENV PATH=/opt/rocm-7.1.0/opencl/bin:/opt/rocm-7.1.0/bin:/opt/rocm-7.1.0/hcc/bin:/opt/rocm-7.1.0//bin:/root/bin:/root/.local/bin:/opt/rocm-7.1.0/opencl/bin:/opt/rocm-7.1.0/bin:/opt/rocm-7.1.0/hcc/bin:/opt/rocm-7.1.0//bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/rocm/bin:/opt/rocm/llvm/bin0 B40ENV MAX_JOBS=1280 B41RUN /bin/sh -c echo 'deb233 B42RUN /bin/sh -c wget -O4.89 KB43RUN /bin/sh -c sudo apt-get13.51 MB44RUN /bin/sh -c sudo apt-get218.43 MB45RUN /bin/sh -c apt update1.62 GB46RUN /bin/sh -c python -m4 MB47ENV PATH=/opt/venv/bin:/opt/rocm-7.1.0/opencl/bin:/opt/rocm-7.1.0/bin:/opt/rocm-7.1.0/hcc/bin:/opt/rocm-7.1.0//bin:/root/bin:/root/.local/bin:/opt/rocm-7.1.0/opencl/bin:/opt/rocm-7.1.0/bin:/opt/rocm-7.1.0/hcc/bin:/opt/rocm-7.1.0//bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/rocm/bin:/opt/rocm/llvm/bin0 B48RUN /bin/sh -c pip install5.13 MB49RUN /bin/sh -c pip uninstall259.92 KB50RUN /bin/sh -c pip install52.73 MB51RUN /bin/sh -c cd /opt/rocm/share/amd_smi3.49 MB52WORKDIR /workspace99 B53RUN /bin/sh -c pip install368.9 KB54ARG ROCM_REPO=https://github.com/ROCm/rocm-systems.git0 B55ARG ROCM_BRANCH=release/rocm-rel-7.10 B56ENV CLR_DIR=/workspace/rocm-systems/projects/clr0 B57ENV HIP_DIR=/workspace/rocm-systems/projects/hip0 B58RUN |2 ROCM_REPO=https://github.com/ROCm/rocm-systems.git ROCM_BRANCH=release/rocm-rel-7.1 /bin/sh13.9 MB59ARG ROCPROF_REPO=https://github.com/ROCm/rocm-systems.git0 B60ARG ROCPROF_BRANCH=ed42157c3145a2f10f3c95c6059efd6f367064190 B61RUN |4 ROCM_REPO=https://github.com/ROCm/rocm-systems.git ROCM_BRANCH=release/rocm-rel-7.1 ROCPROF_REPO=https://github.com/ROCm/rocm-systems.git14.06 MB62ARG HIPBLASLT_REPO=https://github.com/ROCm/rocm-libraries.git0 B63ENV HIPBLASLT_REPO=https://github.com/ROCm/rocm-libraries.git0 B64ARG HIPBLASLT_BRANCH=cbfc63b3f596a42eceeaba19716b0a1e8cb2e5870 B65ENV HIPBLASLT_BRANCH=cbfc63b3f596a42eceeaba19716b0a1e8cb2e5870 B66ENV PYTORCH_ROCM_ARCH=gfx942;gfx9500 B67ENV Python_ROOT=/pyenv0 B68RUN |6 ROCM_REPO=https://github.com/ROCm/rocm-systems.git ROCM_BRANCH=release/rocm-rel-7.1 ROCPROF_REPO=https://github.com/ROCm/rocm-systems.git176 B69RUN |6 ROCM_REPO=https://github.com/ROCm/rocm-systems.git ROCM_BRANCH=release/rocm-rel-7.1 ROCPROF_REPO=https://github.com/ROCm/rocm-systems.git1.53 GB70RUN |6 ROCM_REPO=https://github.com/ROCm/rocm-systems.git ROCM_BRANCH=release/rocm-rel-7.1 ROCPROF_REPO=https://github.com/ROCm/rocm-systems.git185 B71RUN |6 ROCM_REPO=https://github.com/ROCm/rocm-systems.git ROCM_BRANCH=release/rocm-rel-7.1 ROCPROF_REPO=https://github.com/ROCm/rocm-systems.git172 B72RUN |6 ROCM_REPO=https://github.com/ROCm/rocm-systems.git ROCM_BRANCH=release/rocm-rel-7.1 ROCPROF_REPO=https://github.com/ROCm/rocm-systems.git94.66 KB73RUN |6 ROCM_REPO=https://github.com/ROCm/rocm-systems.git ROCM_BRANCH=release/rocm-rel-7.1 ROCPROF_REPO=https://github.com/ROCm/rocm-systems.git94.67 KB74RUN |6 ROCM_REPO=https://github.com/ROCm/rocm-systems.git ROCM_BRANCH=release/rocm-rel-7.1 ROCPROF_REPO=https://github.com/ROCm/rocm-systems.git172 B75WORKDIR /workspace32 B76ARG MAXTEXT_REPO=https://github.com/ROCm/maxtext.git0 B77ARG MAXTEXT_BRANCH=genesu/add-jax-training-patches0 B78RUN |8 ROCM_REPO=https://github.com/ROCm/rocm-systems.git ROCM_BRANCH=release/rocm-rel-7.1 ROCPROF_REPO=https://github.com/ROCm/rocm-systems.git1.58 GB79ENV ROCM_JAX_REPO=https://github.com/ROCm/rocm-jax.git0 B80ENV ROCM_JAX_BRANCH=be6011b1b9d3e61e103fcf8700f54f9742d05fb50 B81ARG JAX_VERSION=0.7.10 B82ENV JAX_VERSION=0.7.10 B83RUN |9 ROCM_REPO=https://github.com/ROCm/rocm-systems.git ROCM_BRANCH=release/rocm-rel-7.1 ROCPROF_REPO=https://github.com/ROCm/rocm-systems.git166.9 MB84RUN |9 ROCM_REPO=https://github.com/ROCm/rocm-systems.git ROCM_BRANCH=release/rocm-rel-7.1 ROCPROF_REPO=https://github.com/ROCm/rocm-systems.git5.86 GB85ARG TE_REPO=https://github.com/ROCm/TransformerEngine.git0 B86ARG TE_BRANCH=0018b1bce0240ad53a6ac24a3b8052d9f067d34b0 B87WORKDIR /workspace32 B88ENV USE_ROCM=10 B89ENV HIP_PATH=/opt/rocm0 B90ENV NVTE_FRAMEWORK=jax0 B91ENV CMAKE_BUILD_PARALLEL_LEVEL=640 B92ENV NVTE_ROCM_ARCH=gfx942;gfx9500 B93ENV NVTE_USE_ROCM=10 B94ENV PYTHONPATH=/home/TransformerEngine/3rdparty/hipify_torch0 B95RUN |11 ROCM_REPO=https://github.com/ROCm/rocm-systems.git ROCM_BRANCH=release/rocm-rel-7.1 ROCPROF_REPO=https://github.com/ROCm/rocm-systems.git173 B96RUN |11 ROCM_REPO=https://github.com/ROCm/rocm-systems.git ROCM_BRANCH=release/rocm-rel-7.1 ROCPROF_REPO=https://github.com/ROCm/rocm-systems.git192 B97RUN |11 ROCM_REPO=https://github.com/ROCm/rocm-systems.git ROCM_BRANCH=release/rocm-rel-7.1 ROCPROF_REPO=https://github.com/ROCm/rocm-systems.git668.93 MB98ENV NVTE_ALLOW_NONDETERMINISTIC_ALGO=10 B99ENV NVTE_USE_HIPBLASLT=10 B100ENV GPU_MAX_HW_QUEUES=20 B101ENV HIP_FORCE_DEV_KERNARG=10 B102ENV HSA_FORCE_FINE_GRAIN_PCIE=10 B103ENV NVTE_FUSED_ATTN=10 B104ENV NCCL_DEBUG=VERSION0 B105ENV NVTE_CK_USES_BWD_V3=10 B106ENV NVTE_CK_USES_FWD_V3=10 B107ENV NVTE_CK_IS_V3_ATOMIC_FP32=00 B108ENV NVTE_CK_HOW_V3_BF16_CVT=20 B109ENV XLA_PYTHON_CLIENT_MEM_FRACTION=.970 B110ENV XLA_FLAGS=--xla_gpu_memory_limit_slop_factor=95 --xla_gpu_reduce_scatter_combine_threshold_bytes=8589934592 --xla_gpu_enable_latency_hiding_scheduler=True --xla_gpu_all_gather_combine_threshold_bytes=85899345920 B111COPY jax_training/docker/google_forced_balance.patch /workspace/google_forced_balance.patch # buildkit1.09 KB112COPY jax_training/docker/device-info.patch /workspace/device-info.patch # buildkit1.69 KB113COPY jax_training/docker/max_to_keep.patch /workspace/max_to_keep.patch # buildkit1 KB114COPY jax_training/docker/attention_mask.patch /workspace/attention_mask.patch # buildkit1.32 KB115COPY jax_training/docker/quantization.patch /workspace/quantization.patch # buildkit452 B116COPY jax_training/docker/hf_data_processing.patch /workspace/hf_data_processing.patch # buildkit895 B117COPY jax_training/docker/CustomPackAndBatchOperation.py /workspace/CustomPackAndBatchOperation.py # buildkit2.87 KB118RUN |11 ROCM_REPO=https://github.com/ROCm/rocm-systems.git ROCM_BRANCH=release/rocm-rel-7.1 ROCPROF_REPO=https://github.com/ROCm/rocm-systems.git2.64 MB119RUN |11 ROCM_REPO=https://github.com/ROCm/rocm-systems.git ROCM_BRANCH=release/rocm-rel-7.1 ROCPROF_REPO=https://github.com/ROCm/rocm-systems.git396.67 MB120RUN |11 ROCM_REPO=https://github.com/ROCm/rocm-systems.git ROCM_BRANCH=release/rocm-rel-7.1 ROCPROF_REPO=https://github.com/ROCm/rocm-systems.git155 B121RUN |11 ROCM_REPO=https://github.com/ROCm/rocm-systems.git ROCM_BRANCH=release/rocm-rel-7.1 ROCPROF_REPO=https://github.com/ROCm/rocm-systems.git146 B122RUN |11 ROCM_REPO=https://github.com/ROCm/rocm-systems.git ROCM_BRANCH=release/rocm-rel-7.1 ROCPROF_REPO=https://github.com/ROCm/rocm-systems.git146 B123RUN |11 ROCM_REPO=https://github.com/ROCm/rocm-systems.git ROCM_BRANCH=release/rocm-rel-7.1 ROCPROF_REPO=https://github.com/ROCm/rocm-systems.git148 B124RUN |11 ROCM_REPO=https://github.com/ROCm/rocm-systems.git ROCM_BRANCH=release/rocm-rel-7.1 ROCPROF_REPO=https://github.com/ROCm/rocm-systems.git147 B125RUN |11 ROCM_REPO=https://github.com/ROCm/rocm-systems.git ROCM_BRANCH=release/rocm-rel-7.1 ROCPROF_REPO=https://github.com/ROCm/rocm-systems.git151 B126RUN |11 ROCM_REPO=https://github.com/ROCm/rocm-systems.git ROCM_BRANCH=release/rocm-rel-7.1 ROCPROF_REPO=https://github.com/ROCm/rocm-systems.git4.96 GB127RUN |11 ROCM_REPO=https://github.com/ROCm/rocm-systems.git ROCM_BRANCH=release/rocm-rel-7.1 ROCPROF_REPO=https://github.com/ROCm/rocm-systems.git32 B128RUN |11 ROCM_REPO=https://github.com/ROCm/rocm-systems.git ROCM_BRANCH=release/rocm-rel-7.1 ROCPROF_REPO=https://github.com/ROCm/rocm-systems.git131 B129ARG GIT_COMMIT_TAG=16a78b68f79b8be8f0311cc7c47955303868d2380 B130RUN |12 ROCM_REPO=https://github.com/ROCm/rocm-systems.git ROCM_BRANCH=release/rocm-rel-7.1 ROCPROF_REPO=https://github.com/ROCm/rocm-systems.git184 B131bash15.48 KB132bash566.29 MB133RUN /bin/sh -c rm -f258 B134RUN /bin/sh -c rm -f389 BCommand
ARG RELEASE