sha256:921604bee3a7289e95f37db5a4d990dc530f64bdbcabd80efd952aef98647d27
OS/ARCH
linux/amd64
Compressed size
15.59 GB
Last pushed
about 19 hours by rocm
Type
Image
Manifest digest
sha256:921604bee3a7289e95f37db5a4d990dc530f64bdbcabd80efd952aef98647d27
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 update236 MB14COPY /uv /usr/local/bin/uv # buildkit20.96 MB15RUN /bin/sh -c uv venv9.65 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.09 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 TORCH_DIST_USE_NCCL2=00 B26ENV THE_ROCK_VERSION=10.2.0a202610200 B27RUN /bin/sh -c uv pip4.19 GB28ARG PYTORCH_VERSION=2.16.0a0+rocm10.2.0a202610200 B29RUN |1 PYTORCH_VERSION=2.16.0a0+rocm10.2.0a20261020 /bin/sh -c60.48 MB30RUN |1 PYTORCH_VERSION=2.16.0a0+rocm10.2.0a20261020 /bin/sh -c1.01 GB31RUN |1 PYTORCH_VERSION=2.16.0a0+rocm10.2.0a20261020 /bin/sh -c9.3 KB32RUN |1 PYTORCH_VERSION=2.16.0a0+rocm10.2.0a20261020 /bin/sh -c38.58 KB33RUN |1 PYTORCH_VERSION=2.16.0a0+rocm10.2.0a20261020 /bin/sh -c4.19 GB34ENV ROCM_PATH=/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel0 B35ENV ROCM_HOME=/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel0 B36ENV HIP_PLATFORM=amd0 B37ENV HIP_PATH=/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel0 B38ENV HIP_CLANG_PATH=/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel/llvm/bin0 B39ENV HIP_INCLUDE_PATH=/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel/include0 B40ENV HIP_LIB_PATH=/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel/lib0 B41ENV HIP_DEVICE_LIB_PATH=/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel/lib/llvm/amdgcn/bitcode0 B42ENV 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 B43ENV 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 B44ENV 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 B45ENV CPATH=/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel/include0 B46ENV PKG_CONFIG_PATH=/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel/lib/pkgconfig0 B47RUN |1 PYTORCH_VERSION=2.16.0a0+rocm10.2.0a20261020 /bin/sh -c28.15 KB48ARG BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git0 B49ARG BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea740793770 B50ARG BWD_ATTN_SOURCE_SYMBOL=_ZN5aiter43fmha_bwd_hd64_bf16_causal_a16_rtz_recompileE0 B51ARG BWD_ATTN_SYMBOL=_ZN5aiter44fmha_bwd_hd64_bf16_causal_a16_rtne_recompileE0 B52RUN |5 PYTORCH_VERSION=2.16.0a0+rocm10.2.0a20261020 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea740793778.2 KB53ARG TE_REPO=https://github.com/ROCm/TransformerEngine.git0 B54ARG TE_VERSION=023639b5168152a339e99d2e06c495dba26cf6cb0 B55ARG BWD_ATTN_SLOT=bwd_hd64_bf16_causal_a16_rtne.co0 B56ENV NVTE_USE_HIPBLASLT=10 B57ENV NVTE_FRAMEWORK=pytorch0 B58ENV NVTE_ROCM_ARCH=gfx942;gfx9500 B59ENV NVTE_USE_CAST_TRANSPOSE_TRITON=10 B60ENV NVTE_CK_IS_V3_ATOMIC_FP32=00 B61ENV NVTE_CK_USES_BWD_V3=10 B62ENV NVTE_CK_USES_FWD_V3=10 B63ENV CK_TILE_FLOAT_TO_BFLOAT16_DEFAULT=20 B64ENV NVTE_CK_HOW_V3_BF16_CVT=20 B65ENV NVTE_USE_ROCM=10 B66ENV NVTE_FUSED_ATTN_AOTRITON=00 B67ENV NVTE_FUSED_ATTN_CK=10 B68ENV NVTE_CK_JIT=10 B69ENV NVTE_CK_FUSED_ATTN_PATH=0 B70ENV NVTE_AITER_SOURCE_DIR=/workspace/deps/te-aiter0 B71ENV NVTE_BUILD_MAX_JOBS=1280 B72ENV CU_NUM=3040 B73ENV NVTE_SKIP_SUBMODULE_CHECKS_DURING_BUILD=10 B74ENV CMAKE_BUILD_PARALLEL_LEVEL=1280 B75RUN |8 PYTORCH_VERSION=2.16.0a0+rocm10.2.0a20261020 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea74079377522.24 MB76ARG FA_REPO=https://github.com/ROCm/flash-attention.git0 B77ARG FA_REF=5301a359f59ef8fa10f211618d9f7a69716a88980 B78RUN |10 PYTORCH_VERSION=2.16.0a0+rocm10.2.0a20261020 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea7407937768.05 MB79ARG FLUX_REPO=https://github.com/ROCm/AMDiffusionBenchmark.git0 B80ARG FLUX_BRANCH=26.4_RC_Patch_torchcodec0 B81COPY pipeline/primus_training/docker/Diffusion_benchmark_patches.patch /workspace/Diffusion_benchmark_patches.patch # buildkit2.81 KB82COPY pipeline/primus_training/docker/sdxl_patch.patch /workspace/sdxl_patch.patch # buildkit582 B83COPY pipeline/primus_training/docker/Diffusion_amd_smi.patch /workspace/Diffusion_amd_smi.patch # buildkit766 B84COPY pipeline/primus_training/docker/siheyuan-dataset-fix.patch /workspace/siheyuan-dataset-fix.patch # buildkit1.04 KB85COPY pipeline/primus_training/docker/torchcodec_decord_video_shim.patch /workspace/torchcodec_decord_video_shim.patch # buildkit1.89 KB86RUN |12 PYTORCH_VERSION=2.16.0a0+rocm10.2.0a20261020 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea7407937789.5 MB87ARG DLRM_REPO=https://github.com/AMD-AGI/DLRMBenchmark.git0 B88ARG DLRM_BRANCH=main0 B89RUN |14 PYTORCH_VERSION=2.16.0a0+rocm10.2.0a20261020 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea74079377103.58 KB90ARG TORCHTUNE_REPO=https://github.com/pytorch/torchtune.git0 B91ARG TORCHTUNE_BRANCH=b4c98ac2a37f0397d64c22579aed415ce7264db60 B92RUN |16 PYTORCH_VERSION=2.16.0a0+rocm10.2.0a20261020 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea7407937717.81 MB93ARG TORCHAO_REPO=https://github.com/pytorch/ao.git0 B94ARG TORCHAO_BRANCH=e9c7bead90b840b280f97374308255957108ce470 B95RUN |18 PYTORCH_VERSION=2.16.0a0+rocm10.2.0a20261020 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea740793772.07 MB96RUN |18 PYTORCH_VERSION=2.16.0a0+rocm10.2.0a20261020 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea74079377173.47 MB97ARG GROUPED_GEMM_REPO=https://github.com/caaatch22/grouped_gemm.git0 B98ARG GROUPED_GEMM_BRANCH=rocm0 B99RUN |20 PYTORCH_VERSION=2.16.0a0+rocm10.2.0a20261020 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea74079377120.39 KB100ARG CAUSAL_CONV1D_REPO=https://github.com/Dao-AILab/causal-conv1d0 B101ARG CAUSAL_CONV1D_BRANCH=e940ead2fd962c56854455017541384909ca669f0 B102ENV CAUSAL_CONV1D_FORCE_BUILD=TRUE0 B103ENV MAMBA_FORCE_BUILD=TRUE0 B104ENV HIP_ARCHITECTURES=gfx942,gfx9500 B105RUN |22 PYTORCH_VERSION=2.16.0a0+rocm10.2.0a20261020 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea740793779.23 MB106ARG MAMBA_REPO=https://github.com/AndreasKaratzas/mamba.git0 B107ARG MAMBA_BRANCH=enable-primus-hybrid-models0 B108RUN |24 PYTORCH_VERSION=2.16.0a0+rocm10.2.0a20261020 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea7407937752.18 MB109ARG PRIMUS_REPO=https://github.com/AMD-AGI/Primus.git0 B110ARG PRIMUS_BRANCH=db1a41601833294231daadb3cdbb2933eb805c730 B111ENV NVTE_FLASH_ATTN=00 B112ENV NVTE_FUSED_ATTN=10 B113ENV PRIMUS_FLA_MLA_ATTN=10 B114RUN |26 PYTORCH_VERSION=2.16.0a0+rocm10.2.0a20261020 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea740793771.7 GB115ARG AITER_REPO=https://github.com/ROCm/aiter.git0 B116ARG AITER_COMMIT=778d74d57c765616ee36a0c3295dc446e5027d5f0 B117RUN |28 PYTORCH_VERSION=2.16.0a0+rocm10.2.0a20261020 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea74079377195.19 MB118ARG TURBO_REPO=https://github.com/AMD-AGI/Primus-Turbo.git0 B119ARG TURBO_COMMIT=de8fa6ca7f4986334070d5ee62beee07552f8ad80 B120ENV HCC_AMDGPU_TARGET=gfx942,gfx9500 B121ENV PRIMUS_TURBO_FRAMEWORK=PYTORCH0 B122RUN |30 PYTORCH_VERSION=2.16.0a0+rocm10.2.0a20261020 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea740793771023.33 MB123RUN |30 PYTORCH_VERSION=2.16.0a0+rocm10.2.0a20261020 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea740793777.04 KB124RUN |30 PYTORCH_VERSION=2.16.0a0+rocm10.2.0a20261020 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea7407937712.57 MB125RUN |30 PYTORCH_VERSION=2.16.0a0+rocm10.2.0a20261020 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea7407937754.83 MB126RUN |30 PYTORCH_VERSION=2.16.0a0+rocm10.2.0a20261020 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea7407937710.84 MB127WORKDIR /workspace/32 B128RUN |30 PYTORCH_VERSION=2.16.0a0+rocm10.2.0a20261020 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea740793773.49 MB129ARG FBGEMM_REPO=https://github.com/pytorch/FBGEMM.git0 B130ARG FBGEMM_COMMIT=80bd3c077dc41b55cd16ed4dcad15cf7c1c1d76a0 B131ENV BUILD_ROCM_VERSION=7.150 B132RUN |32 PYTORCH_VERSION=2.16.0a0+rocm10.2.0a20261020 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea74079377874.19 KB133RUN |32 PYTORCH_VERSION=2.16.0a0+rocm10.2.0a20261020 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea740793771.71 GB134RUN |32 PYTORCH_VERSION=2.16.0a0+rocm10.2.0a20261020 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea74079377303.29 KB135ENV GPU_ARCHS=native0 B136RUN |32 PYTORCH_VERSION=2.16.0a0+rocm10.2.0a20261020 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea740793778.01 MB137RUN |32 PYTORCH_VERSION=2.16.0a0+rocm10.2.0a20261020 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea74079377861 B138RUN |32 PYTORCH_VERSION=2.16.0a0+rocm10.2.0a20261020 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea7407937714.12 MB139ARG AINIC_BUNDLE_VERSION=1.117.5-a-1960 B140RUN |33 PYTORCH_VERSION=2.16.0a0+rocm10.2.0a20261020 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea74079377429.17 KB141RUN |33 PYTORCH_VERSION=2.16.0a0+rocm10.2.0a20261020 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea74079377230 B142ARG UCX_VERSION=1.18.00 B143RUN |34 PYTORCH_VERSION=2.16.0a0+rocm10.2.0a20261020 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea7407937786.44 MB144ENV UCX_INSTALL_DIR=/workspace/ucx-1.18.0/install0 B145ARG MPI_VERSION=4.1.60 B146RUN |35 PYTORCH_VERSION=2.16.0a0+rocm10.2.0a20261020 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea740793773.84 MB147ENV 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 B148ENV 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 B149ARG MLPERF_COMMENT_REPO=https://github.com/AMD-AGI/mlperf-common.git0 B150ARG MLPERF_COMMENT_COMMIT=7771aeabc8b91402e95cb7a33f447d9d9941361f0 B151RUN |37 PYTORCH_VERSION=2.16.0a0+rocm10.2.0a20261020 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea7407937725.28 KB152COPY /wandb-core /opt/venv/lib/python3.12/site-packages/wandb/bin/wandb-core # buildkit15.19 MB153RUN |37 PYTORCH_VERSION=2.16.0a0+rocm10.2.0a20261020 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea74079377257 B154RUN |37 PYTORCH_VERSION=2.16.0a0+rocm10.2.0a20261020 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea74079377589 B155RUN |37 PYTORCH_VERSION=2.16.0a0+rocm10.2.0a20261020 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea7407937732 B156RUN |37 PYTORCH_VERSION=2.16.0a0+rocm10.2.0a20261020 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea7407937732 B157RUN |37 PYTORCH_VERSION=2.16.0a0+rocm10.2.0a20261020 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea74079377404 B158ARG GIT_COMMIT_TAG=8c8b5b3d977cfd4f746ba6cdd96731a894995bc00 B159ARG DOCKERFILE_PATH=pipeline/primus_training/docker/Dockerfile0 B160RUN |39 PYTORCH_VERSION=2.16.0a0+rocm10.2.0a20261020 BWD_ATTN_ASM_REPO=https://github.com/mawad-amd/bwd-attn-asm.git BWD_ATTN_ASM_REF=9b9fb6444f3fee388617f62432c3faea7407937721.24 KB161COPY pipeline/primus_training/docker/Dockerfile /workspace/.manifest/docker-build-recipe.txt # buildkit12.67 KB162CMD ["/usr/bin/bash"]0 BCommand
ARG RELEASE