sha256:4fcb3f210dc6675de0cb414cdc152184d1f43940d9a5f235e47d42cf644be122
OS/ARCH
linux/amd64
Compressed size
13.33 GB
Last pushed
22 days by rocm
Type
Image
Manifest digest
sha256:4fcb3f210dc6675de0cb414cdc152184d1f43940d9a5f235e47d42cf644be122
Image Layers
1ARG RELEASE0 B2ARG LAUNCHPAD_BUILD_ARCH0 B3LABEL org.opencontainers.image.version=24.040 B4ADD file ... in / 28.37 MB5CMD ["/bin/bash"]0 B6WORKDIR /workspace/99 B7ENV MAX_JOBS=1280 B8ENV PYTORCH_ROCM_ARCH=gfx942;gfx9500 B9ENV ROCM_AMDGPU_TARGETS=gfx942,gfx9500 B10ENV GPU_ARCHS=gfx942;gfx9500 B11ENV DEBIAN_FRONTEND=noninteractive0 B12RUN /bin/sh -c apt update241.82 MB13RUN /bin/sh -c python -m4 MB14ENV PATH=/opt/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin0 B15RUN /bin/sh -c pip install32.83 MB16RUN /bin/sh -c apt update94.9 MB17ENV HSA_ENABLE_SCRATCH_ASYNC_RECLAIM=00 B18ENV HSA_NO_SCRATCH_RECLAIM=10 B19ENV THE_ROCK_VERSION=7.15.0a202607270 B20RUN /bin/sh -c python -m3.3 GB21ARG PYTORCH_VERSION=2.12.0+rocm7.15.0a202607270 B22RUN |1 PYTORCH_VERSION=2.12.0+rocm7.15.0a20260727 /bin/sh -c73.67 MB23RUN |1 PYTORCH_VERSION=2.12.0+rocm7.15.0a20260727 /bin/sh -c979.99 MB24RUN |1 PYTORCH_VERSION=2.12.0+rocm7.15.0a20260727 /bin/sh -c3.29 GB25ENV ROCM_PATH=/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel0 B26ENV ROCM_HOME=/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel0 B27ENV HIP_PLATFORM=amd0 B28ENV HIP_PATH=/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel0 B29ENV HIP_CLANG_PATH=/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel/llvm/bin0 B30ENV HIP_INCLUDE_PATH=/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel/include0 B31ENV HIP_LIB_PATH=/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel/lib0 B32ENV HIP_DEVICE_LIB_PATH=/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel/lib/llvm/amdgcn/bitcode0 B33ENV PATH=/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel/bin:/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel/llvm/bin:/opt/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin0 B34ENV LD_LIBRARY_PATH=/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel/lib:/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel/lib:/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel/lib64:/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel/llvm/lib:/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel/lib/host-math/lib:/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel/lib/rocm_sysdeps/lib0 B35ENV LIBRARY_PATH=/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel/lib:/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel/lib:/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel/lib640 B36ENV CPATH=/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel/include0 B37ENV PKG_CONFIG_PATH=/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel/lib/pkgconfig0 B38RUN |1 PYTORCH_VERSION=2.12.0+rocm7.15.0a20260727 /bin/sh -c23.88 KB39ARG TE_VERSION=2.17.0+rocm7.15.0a20260727.e028a6c0 B40ENV NVTE_USE_CAST_TRANSPOSE_TRITON=10 B41ENV NVTE_CK_IS_V3_ATOMIC_FP32=00 B42ENV NVTE_CK_USES_BWD_V3=10 B43ENV NVTE_CK_USES_FWD_V3=10 B44ENV CK_TILE_FLOAT_TO_BFLOAT16_DEFAULT=20 B45ENV NVTE_CK_HOW_V3_BF16_CVT=20 B46RUN |2 PYTORCH_VERSION=2.12.0+rocm7.15.0a20260727 TE_VERSION=2.17.0+rocm7.15.0a20260727.e028a6c /bin/sh367.09 MB47RUN |2 PYTORCH_VERSION=2.12.0+rocm7.15.0a20260727 TE_VERSION=2.17.0+rocm7.15.0a20260727.e028a6c /bin/sh64.15 MB48RUN |2 PYTORCH_VERSION=2.12.0+rocm7.15.0a20260727 TE_VERSION=2.17.0+rocm7.15.0a20260727.e028a6c /bin/sh32 B49ARG FLUX_REPO=https://github.com/ROCm/AMDiffusionBenchmark.git0 B50ARG FLUX_BRANCH=26.4_RC_Patch_torchcodec0 B51COPY primus_training_the_rock/docker/Diffusion_benchmark_patches.patch /workspace/Diffusion_benchmark_patches.patch # buildkit2.82 KB52COPY primus_training_the_rock/docker/sdxl_patch.patch /workspace/sdxl_patch.patch # buildkit579 B53RUN |4 PYTORCH_VERSION=2.12.0+rocm7.15.0a20260727 TE_VERSION=2.17.0+rocm7.15.0a20260727.e028a6c FLUX_REPO=https://github.com/ROCm/AMDiffusionBenchmark.git105.57 MB54ARG DLRM_REPO=https://github.com/AMD-AGI/DLRMBenchmark.git0 B55ARG DLRM_BRANCH=main0 B56RUN |6 PYTORCH_VERSION=2.12.0+rocm7.15.0a20260727 TE_VERSION=2.17.0+rocm7.15.0a20260727.e028a6c FLUX_REPO=https://github.com/ROCm/AMDiffusionBenchmark.git103.58 KB57ARG TORCHTUNE_REPO=https://github.com/pytorch/torchtune.git0 B58ARG TORCHTUNE_BRANCH=b4c98ac2a37f0397d64c22579aed415ce7264db60 B59RUN |8 PYTORCH_VERSION=2.12.0+rocm7.15.0a20260727 TE_VERSION=2.17.0+rocm7.15.0a20260727.e028a6c FLUX_REPO=https://github.com/ROCm/AMDiffusionBenchmark.git21.85 MB60ARG TORCHAO_REPO=https://github.com/pytorch/ao.git0 B61ARG TORCHAO_BRANCH=e9c7bead90b840b280f97374308255957108ce470 B62RUN |10 PYTORCH_VERSION=2.12.0+rocm7.15.0a20260727 TE_VERSION=2.17.0+rocm7.15.0a20260727.e028a6c FLUX_REPO=https://github.com/ROCm/AMDiffusionBenchmark.git3.61 MB63RUN |10 PYTORCH_VERSION=2.12.0+rocm7.15.0a20260727 TE_VERSION=2.17.0+rocm7.15.0a20260727.e028a6c FLUX_REPO=https://github.com/ROCm/AMDiffusionBenchmark.git206.16 MB64ARG GROUPED_GEMM_REPO=https://github.com/caaatch22/grouped_gemm.git0 B65ARG GROUPED_GEMM_BRANCH=rocm0 B66RUN |12 PYTORCH_VERSION=2.12.0+rocm7.15.0a20260727 TE_VERSION=2.17.0+rocm7.15.0a20260727.e028a6c FLUX_REPO=https://github.com/ROCm/AMDiffusionBenchmark.git112.58 KB67ARG CAUSAL_CONV1D_REPO=https://github.com/Dao-AILab/causal-conv1d0 B68ARG CAUSAL_CONV1D_BRANCH=e940ead2fd962c56854455017541384909ca669f0 B69ENV CAUSAL_CONV1D_FORCE_BUILD=TRUE0 B70ENV MAMBA_FORCE_BUILD=TRUE0 B71ENV HIP_ARCHITECTURES=gfx942,gfx9500 B72RUN |14 PYTORCH_VERSION=2.12.0+rocm7.15.0a20260727 TE_VERSION=2.17.0+rocm7.15.0a20260727.e028a6c FLUX_REPO=https://github.com/ROCm/AMDiffusionBenchmark.git9.16 MB73ARG MAMBA_REPO=https://github.com/AndreasKaratzas/mamba.git0 B74ARG MAMBA_BRANCH=enable-primus-hybrid-models0 B75RUN |16 PYTORCH_VERSION=2.12.0+rocm7.15.0a20260727 TE_VERSION=2.17.0+rocm7.15.0a20260727.e028a6c FLUX_REPO=https://github.com/ROCm/AMDiffusionBenchmark.git86.13 MB76ARG PRIMUS_REPO=https://github.com/AMD-AGI/Primus.git0 B77ARG PRIMUS_BRANCH=2aa05ead3401708cf1a1e2958c1def18d7aecf920 B78ENV NVTE_FLASH_ATTN=00 B79ENV NVTE_FUSED_ATTN=10 B80ENV PRIMUS_FLA_MLA_ATTN=10 B81RUN |18 PYTORCH_VERSION=2.12.0+rocm7.15.0a20260727 TE_VERSION=2.17.0+rocm7.15.0a20260727.e028a6c FLUX_REPO=https://github.com/ROCm/AMDiffusionBenchmark.git1.56 GB82ARG AITER_REPO=https://github.com/ROCm/aiter.git0 B83ARG AITER_COMMIT=0f3c58e6edb6754940bcf9fd5f09ccb6f389f52e0 B84RUN |20 PYTORCH_VERSION=2.12.0+rocm7.15.0a20260727 TE_VERSION=2.17.0+rocm7.15.0a20260727.e028a6c FLUX_REPO=https://github.com/ROCm/AMDiffusionBenchmark.git226.86 MB85ARG TURBO_REPO=https://github.com/AMD-AGI/Primus-Turbo.git0 B86ARG TURBO_COMMIT=a6a16cdce46bd2235a248b41f501fb363c215b9b0 B87ENV HCC_AMDGPU_TARGET=gfx942,gfx9500 B88RUN |22 PYTORCH_VERSION=2.12.0+rocm7.15.0a20260727 TE_VERSION=2.17.0+rocm7.15.0a20260727.e028a6c FLUX_REPO=https://github.com/ROCm/AMDiffusionBenchmark.git781.28 MB89RUN |22 PYTORCH_VERSION=2.12.0+rocm7.15.0a20260727 TE_VERSION=2.17.0+rocm7.15.0a20260727.e028a6c FLUX_REPO=https://github.com/ROCm/AMDiffusionBenchmark.git13.32 MB90RUN |22 PYTORCH_VERSION=2.12.0+rocm7.15.0a20260727 TE_VERSION=2.17.0+rocm7.15.0a20260727.e028a6c FLUX_REPO=https://github.com/ROCm/AMDiffusionBenchmark.git64.34 MB91RUN |22 PYTORCH_VERSION=2.12.0+rocm7.15.0a20260727 TE_VERSION=2.17.0+rocm7.15.0a20260727.e028a6c FLUX_REPO=https://github.com/ROCm/AMDiffusionBenchmark.git15.23 MB92WORKDIR /workspace/32 B93RUN |22 PYTORCH_VERSION=2.12.0+rocm7.15.0a20260727 TE_VERSION=2.17.0+rocm7.15.0a20260727.e028a6c FLUX_REPO=https://github.com/ROCm/AMDiffusionBenchmark.git6.24 MB94ARG FBGEMM_REPO=https://github.com/pytorch/FBGEMM.git0 B95ARG FBGEMM_COMMIT=80bd3c077dc41b55cd16ed4dcad15cf7c1c1d76a0 B96ENV BUILD_ROCM_VERSION=7.150 B97RUN |24 PYTORCH_VERSION=2.12.0+rocm7.15.0a20260727 TE_VERSION=2.17.0+rocm7.15.0a20260727.e028a6c FLUX_REPO=https://github.com/ROCm/AMDiffusionBenchmark.git875.05 KB98RUN |24 PYTORCH_VERSION=2.12.0+rocm7.15.0a20260727 TE_VERSION=2.17.0+rocm7.15.0a20260727.e028a6c FLUX_REPO=https://github.com/ROCm/AMDiffusionBenchmark.git1.71 GB99RUN |24 PYTORCH_VERSION=2.12.0+rocm7.15.0a20260727 TE_VERSION=2.17.0+rocm7.15.0a20260727.e028a6c FLUX_REPO=https://github.com/ROCm/AMDiffusionBenchmark.git304.12 KB100ENV GPU_ARCHS=native0 B101RUN |24 PYTORCH_VERSION=2.12.0+rocm7.15.0a20260727 TE_VERSION=2.17.0+rocm7.15.0a20260727.e028a6c FLUX_REPO=https://github.com/ROCm/AMDiffusionBenchmark.git8.01 MB102RUN |24 PYTORCH_VERSION=2.12.0+rocm7.15.0a20260727 TE_VERSION=2.17.0+rocm7.15.0a20260727.e028a6c FLUX_REPO=https://github.com/ROCm/AMDiffusionBenchmark.git32 B103RUN |24 PYTORCH_VERSION=2.12.0+rocm7.15.0a20260727 TE_VERSION=2.17.0+rocm7.15.0a20260727.e028a6c FLUX_REPO=https://github.com/ROCm/AMDiffusionBenchmark.git13.77 MB104ARG AINIC_BUNDLE_VERSION=1.117.5-a-770 B105RUN |25 PYTORCH_VERSION=2.12.0+rocm7.15.0a20260727 TE_VERSION=2.17.0+rocm7.15.0a20260727.e028a6c FLUX_REPO=https://github.com/ROCm/AMDiffusionBenchmark.git447.66 KB106RUN |25 PYTORCH_VERSION=2.12.0+rocm7.15.0a20260727 TE_VERSION=2.17.0+rocm7.15.0a20260727.e028a6c FLUX_REPO=https://github.com/ROCm/AMDiffusionBenchmark.git230 B107ARG UCX_VERSION=1.18.00 B108RUN |26 PYTORCH_VERSION=2.12.0+rocm7.15.0a20260727 TE_VERSION=2.17.0+rocm7.15.0a20260727.e028a6c FLUX_REPO=https://github.com/ROCm/AMDiffusionBenchmark.git86.43 MB109ENV UCX_INSTALL_DIR=/workspace/ucx-1.18.0/install0 B110ARG MPI_VERSION=4.1.60 B111RUN |27 PYTORCH_VERSION=2.12.0+rocm7.15.0a20260727 TE_VERSION=2.17.0+rocm7.15.0a20260727.e028a6c FLUX_REPO=https://github.com/ROCm/AMDiffusionBenchmark.git3.84 MB112ENV PATH=/opt/openmpi/bin:/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel/bin:/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel/llvm/bin:/opt/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin0 B113ENV LD_LIBRARY_PATH=/opt/openmpi/lib:/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel/lib:/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel/lib:/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel/lib64:/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel/llvm/lib:/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel/lib/host-math/lib:/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel/lib/rocm_sysdeps/lib0 B114ARG MLPERF_COMMENT_REPO=https://github.com/AMD-AGI/mlperf-common.git0 B115ARG MLPERF_COMMENT_COMMIT=56d8ca70f60f866312add84adfea66f5447a4c860 B116RUN |29 PYTORCH_VERSION=2.12.0+rocm7.15.0a20260727 TE_VERSION=2.17.0+rocm7.15.0a20260727.e028a6c FLUX_REPO=https://github.com/ROCm/AMDiffusionBenchmark.git57.33 KB117COPY /wandb-core /opt/venv/lib/python3.12/site-packages/wandb/bin/wandb-core # buildkit15.15 MB118RUN |29 PYTORCH_VERSION=2.12.0+rocm7.15.0a20260727 TE_VERSION=2.17.0+rocm7.15.0a20260727.e028a6c FLUX_REPO=https://github.com/ROCm/AMDiffusionBenchmark.git257 B119RUN |29 PYTORCH_VERSION=2.12.0+rocm7.15.0a20260727 TE_VERSION=2.17.0+rocm7.15.0a20260727.e028a6c FLUX_REPO=https://github.com/ROCm/AMDiffusionBenchmark.git549 B120RUN |29 PYTORCH_VERSION=2.12.0+rocm7.15.0a20260727 TE_VERSION=2.17.0+rocm7.15.0a20260727.e028a6c FLUX_REPO=https://github.com/ROCm/AMDiffusionBenchmark.git32 B121RUN |29 PYTORCH_VERSION=2.12.0+rocm7.15.0a20260727 TE_VERSION=2.17.0+rocm7.15.0a20260727.e028a6c FLUX_REPO=https://github.com/ROCm/AMDiffusionBenchmark.git32 B122ARG GIT_COMMIT_TAG=f756f2279d8ab57b6549bcbd50d249755b69a4070 B123ARG DOCKERFILE_PATH=primus_training_the_rock/docker/Dockerfile0 B124RUN |31 PYTORCH_VERSION=2.12.0+rocm7.15.0a20260727 TE_VERSION=2.17.0+rocm7.15.0a20260727.e028a6c FLUX_REPO=https://github.com/ROCm/AMDiffusionBenchmark.git20.03 KB125COPY primus_training_the_rock/docker/Dockerfile /workspace/.manifest/Dockerfile # buildkit7.96 KB126CMD ["/usr/bin/bash"]0 BCommand
ARG RELEASE