sha256:79629b5e5ba4fcfef1d49cfd9dc5247681243437e7fd1db815279870f41c1b3c
OS/ARCH
linux/amd64
Compressed size
14.31 GB
Last pushed
2 days by rocm
Type
Image
Manifest digest
sha256:79629b5e5ba4fcfef1d49cfd9dc5247681243437e7fd1db815279870f41c1b3c
Image Layers
1ARG RELEASE0 B2ARG LAUNCHPAD_BUILD_ARCH0 B3LABEL org.opencontainers.image.version=24.040 B4ADD file ... in / 29.21 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 MLPERF_RUNTIME_SERIES=v26.50 B12ENV DEBIAN_FRONTEND=noninteractive0 B13RUN /bin/sh -c apt update238.21 MB14COPY /uv /usr/local/bin/uv # buildkit20.96 MB15RUN /bin/sh -c uv venv9.64 KB16ENV PATH=/opt/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin0 B17ENV VIRTUAL_ENV=/opt/venv0 B18COPY /dist/pip-*.whl /tmp/ # buildkit1.71 MB19RUN /bin/sh -c uv pip29.08 MB20RUN /bin/sh -c apt update95 MB21ENV HSA_ENABLE_SCRATCH_ASYNC_RECLAIM=00 B22ENV HSA_NO_SCRATCH_RECLAIM=10 B23ENV GPU_USE_DEVICE_QUEUE=10 B24ENV DEBUG_CLR_AQL_DEV_QUEUE=10 B25ENV THE_ROCK_VERSION=10.1.00 B26RUN /bin/sh -c uv pip3.68 GB27ARG PYTORCH_VERSION=2.14.0+rocm10.1.00 B28RUN |1 PYTORCH_VERSION=2.14.0+rocm10.1.0 /bin/sh -c60.22 MB29RUN |1 PYTORCH_VERSION=2.14.0+rocm10.1.0 /bin/sh -c973.15 MB30RUN |1 PYTORCH_VERSION=2.14.0+rocm10.1.0 /bin/sh -c9.36 KB31RUN |1 PYTORCH_VERSION=2.14.0+rocm10.1.0 /bin/sh -c3.67 GB32ENV ROCM_PATH=/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel0 B33ENV ROCM_HOME=/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel0 B34ENV HIP_PLATFORM=amd0 B35ENV HIP_PATH=/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel0 B36ENV HIP_CLANG_PATH=/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel/llvm/bin0 B37ENV HIP_INCLUDE_PATH=/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel/include0 B38ENV HIP_LIB_PATH=/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel/lib0 B39ENV HIP_DEVICE_LIB_PATH=/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel/lib/llvm/amdgcn/bitcode0 B40ENV 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 B41ENV 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 B42ENV 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 B43ENV CPATH=/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel/include0 B44ENV PKG_CONFIG_PATH=/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel/lib/pkgconfig0 B45RUN |1 PYTORCH_VERSION=2.14.0+rocm10.1.0 /bin/sh -c26.42 KB46ARG BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git0 B47ARG BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea740793770 B48ARG BWD_ATTN_SOURCE_SYMBOL=_ZN5aiter43fmha_bwd_hd64_bf16_causal_a16_rtz_recompileE0 B49ARG BWD_ATTN_SYMBOL=_ZN5aiter44fmha_bwd_hd64_bf16_causal_a16_rtne_recompileE0 B50RUN |5 PYTORCH_VERSION=2.14.0+rocm10.1.0 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea740793778.09 KB51ARG TE_REPO=https://github.com/ROCm/TransformerEngine.git0 B52ARG TE_VERSION=130099ce48dc806398611de9960f8e0c486ad5f10 B53ARG BWD_ATTN_SLOT=bwd_hd64_bf16_causal_a16_rtne.co0 B54ENV NVTE_USE_HIPBLASLT=10 B55ENV NVTE_FRAMEWORK=pytorch0 B56ENV NVTE_ROCM_ARCH=gfx942;gfx9500 B57ENV NVTE_USE_CAST_TRANSPOSE_TRITON=10 B58ENV NVTE_CK_IS_V3_ATOMIC_FP32=00 B59ENV NVTE_CK_USES_BWD_V3=10 B60ENV NVTE_CK_USES_FWD_V3=10 B61ENV CK_TILE_FLOAT_TO_BFLOAT16_DEFAULT=20 B62ENV NVTE_CK_HOW_V3_BF16_CVT=20 B63ENV NVTE_USE_ROCM=10 B64ENV NVTE_FUSED_ATTN_AOTRITON=00 B65ENV NVTE_FUSED_ATTN_CK=10 B66ENV NVTE_CK_JIT=10 B67ENV NVTE_CK_FUSED_ATTN_PATH=0 B68ENV NVTE_AITER_SOURCE_DIR=/workspace/deps/te-aiter0 B69ENV NVTE_BUILD_MAX_JOBS=1280 B70ENV CU_NUM=3040 B71ENV NVTE_SKIP_SUBMODULE_CHECKS_DURING_BUILD=10 B72ENV CMAKE_BUILD_PARALLEL_LEVEL=1280 B73RUN |8 PYTORCH_VERSION=2.14.0+rocm10.1.0 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea74079377483.33 MB74ARG FA_REPO=https://github.com/ROCm/flash-attention.git0 B75ARG FA_REF=5301a359f59ef8fa10f211618d9f7a69716a88980 B76RUN |10 PYTORCH_VERSION=2.14.0+rocm10.1.0 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea7407937767.65 MB77ARG FLUX_REPO=https://github.com/ROCm/AMDiffusionBenchmark.git0 B78ARG FLUX_BRANCH=26.4_RC_Patch_torchcodec0 B79COPY pipeline/primus_training/docker/Diffusion_benchmark_patches.patch /workspace/Diffusion_benchmark_patches.patch # buildkit2.82 KB80COPY pipeline/primus_training/docker/sdxl_patch.patch /workspace/sdxl_patch.patch # buildkit583 B81COPY pipeline/primus_training/docker/Diffusion_amd_smi.patch /workspace/Diffusion_amd_smi.patch # buildkit768 B82RUN |12 PYTORCH_VERSION=2.14.0+rocm10.1.0 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea7407937785.56 MB83ARG DLRM_REPO=https://github.com/AMD-AGI/DLRMBenchmark.git0 B84ARG DLRM_BRANCH=main0 B85RUN |14 PYTORCH_VERSION=2.14.0+rocm10.1.0 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea74079377103.58 KB86ARG TORCHTUNE_REPO=https://github.com/pytorch/torchtune.git0 B87ARG TORCHTUNE_BRANCH=b4c98ac2a37f0397d64c22579aed415ce7264db60 B88RUN |16 PYTORCH_VERSION=2.14.0+rocm10.1.0 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea7407937717.59 MB89ARG TORCHAO_REPO=https://github.com/pytorch/ao.git0 B90ARG TORCHAO_BRANCH=e9c7bead90b840b280f97374308255957108ce470 B91RUN |18 PYTORCH_VERSION=2.14.0+rocm10.1.0 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea740793772.06 MB92RUN |18 PYTORCH_VERSION=2.14.0+rocm10.1.0 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea74079377173.24 MB93ARG GROUPED_GEMM_REPO=https://github.com/caaatch22/grouped_gemm.git0 B94ARG GROUPED_GEMM_BRANCH=rocm0 B95RUN |20 PYTORCH_VERSION=2.14.0+rocm10.1.0 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea74079377217.54 KB96ARG CAUSAL_CONV1D_REPO=https://github.com/Dao-AILab/causal-conv1d0 B97ARG CAUSAL_CONV1D_BRANCH=e940ead2fd962c56854455017541384909ca669f0 B98ENV CAUSAL_CONV1D_FORCE_BUILD=TRUE0 B99ENV MAMBA_FORCE_BUILD=TRUE0 B100ENV HIP_ARCHITECTURES=gfx942,gfx9500 B101RUN |22 PYTORCH_VERSION=2.14.0+rocm10.1.0 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea740793779.42 MB102ARG MAMBA_REPO=https://github.com/AndreasKaratzas/mamba.git0 B103ARG MAMBA_BRANCH=enable-primus-hybrid-models0 B104RUN |24 PYTORCH_VERSION=2.14.0+rocm10.1.0 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea7407937752.53 MB105ARG PRIMUS_REPO=https://github.com/AMD-AGI/Primus.git0 B106ARG PRIMUS_BRANCH=f487a934fbc21def28077d5e919dad0b68ecaf9d0 B107ENV NVTE_FLASH_ATTN=00 B108ENV NVTE_FUSED_ATTN=10 B109ENV PRIMUS_FLA_MLA_ATTN=10 B110RUN |26 PYTORCH_VERSION=2.14.0+rocm10.1.0 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea740793771.61 GB111ARG AITER_REPO=https://github.com/ROCm/aiter.git0 B112ARG AITER_COMMIT=b4d9154d125e09efbe098d986e40fea3549c12440 B113RUN |28 PYTORCH_VERSION=2.14.0+rocm10.1.0 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea74079377190.58 MB114ARG TURBO_REPO=https://github.com/AMD-AGI/Primus-Turbo.git0 B115ARG TURBO_COMMIT=9c645c5fe1c9179a4a26373466d8637801185d870 B116ENV HCC_AMDGPU_TARGET=gfx942,gfx9500 B117ENV PRIMUS_TURBO_FRAMEWORK=PYTORCH0 B118RUN |30 PYTORCH_VERSION=2.14.0+rocm10.1.0 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea740793771002.55 MB119RUN |30 PYTORCH_VERSION=2.14.0+rocm10.1.0 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea740793777.05 KB120RUN |30 PYTORCH_VERSION=2.14.0+rocm10.1.0 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea7407937712.57 MB121RUN |30 PYTORCH_VERSION=2.14.0+rocm10.1.0 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea7407937754.82 MB122RUN |30 PYTORCH_VERSION=2.14.0+rocm10.1.0 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea7407937710 MB123WORKDIR /workspace/32 B124RUN |30 PYTORCH_VERSION=2.14.0+rocm10.1.0 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea740793773.37 MB125ARG FBGEMM_REPO=https://github.com/pytorch/FBGEMM.git0 B126ARG FBGEMM_COMMIT=80bd3c077dc41b55cd16ed4dcad15cf7c1c1d76a0 B127ENV BUILD_ROCM_VERSION=7.150 B128RUN |32 PYTORCH_VERSION=2.14.0+rocm10.1.0 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea74079377874.63 KB129RUN |32 PYTORCH_VERSION=2.14.0+rocm10.1.0 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea740793771.7 GB130RUN |32 PYTORCH_VERSION=2.14.0+rocm10.1.0 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea74079377303.6 KB131ENV GPU_ARCHS=native0 B132RUN |32 PYTORCH_VERSION=2.14.0+rocm10.1.0 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea740793778.01 MB133RUN |32 PYTORCH_VERSION=2.14.0+rocm10.1.0 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea74079377858 B134RUN |32 PYTORCH_VERSION=2.14.0+rocm10.1.0 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea7407937714.12 MB135ARG AINIC_BUNDLE_VERSION=1.117.5-a-770 B136RUN |33 PYTORCH_VERSION=2.14.0+rocm10.1.0 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea74079377447.26 KB137RUN |33 PYTORCH_VERSION=2.14.0+rocm10.1.0 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea74079377233 B138ARG UCX_VERSION=1.18.00 B139RUN |34 PYTORCH_VERSION=2.14.0+rocm10.1.0 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea7407937786.43 MB140ENV UCX_INSTALL_DIR=/workspace/ucx-1.18.0/install0 B141ARG MPI_VERSION=4.1.60 B142RUN |35 PYTORCH_VERSION=2.14.0+rocm10.1.0 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea740793773.84 MB143ENV 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 B144ENV 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 B145ARG MLPERF_COMMENT_REPO=https://github.com/AMD-AGI/mlperf-common.git0 B146ARG MLPERF_COMMENT_COMMIT=56d8ca70f60f866312add84adfea66f5447a4c860 B147RUN |37 PYTORCH_VERSION=2.14.0+rocm10.1.0 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea7407937724.98 KB148COPY /wandb-core /opt/venv/lib/python3.12/site-packages/wandb/bin/wandb-core # buildkit15.16 MB149RUN |37 PYTORCH_VERSION=2.14.0+rocm10.1.0 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea74079377258 B150RUN |37 PYTORCH_VERSION=2.14.0+rocm10.1.0 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea74079377544 B151RUN |37 PYTORCH_VERSION=2.14.0+rocm10.1.0 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea7407937732 B152RUN |37 PYTORCH_VERSION=2.14.0+rocm10.1.0 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea7407937732 B153RUN |37 PYTORCH_VERSION=2.14.0+rocm10.1.0 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea74079377401 B154ARG GIT_COMMIT_TAG=6025d2033abe4288c190d2db916bfeb2c9585d060 B155ARG DOCKERFILE_PATH=pipeline/primus_training/docker/Dockerfile0 B156RUN |39 PYTORCH_VERSION=2.14.0+rocm10.1.0 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea7407937721.18 KB157COPY pipeline/primus_training/docker/Dockerfile /workspace/.manifest/docker-build-recipe.txt # buildkit11.97 KB158CMD ["/usr/bin/bash"]0 BCommand
ARG RELEASE