Sign inSign up

rocm/primus:v26.6

Manifest digest

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 B
2ARG LAUNCHPAD_BUILD_ARCH0 B
3LABEL org.opencontainers.image.version=24.040 B
4ADD file ... in / 28.37 MB
5CMD ["/bin/bash"]0 B
6WORKDIR /workspace/99 B
7ENV MAX_JOBS=1280 B
8ENV PYTORCH_ROCM_ARCH=gfx942;gfx9500 B
9ENV ROCM_AMDGPU_TARGETS=gfx942,gfx9500 B
10ENV GPU_ARCHS=gfx942;gfx9500 B
11ENV DEBIAN_FRONTEND=noninteractive0 B
12RUN /bin/sh -c apt update241.82 MB
13RUN /bin/sh -c python -m4 MB
14ENV PATH=/opt/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin0 B
15RUN /bin/sh -c pip install32.83 MB
16RUN /bin/sh -c apt update94.9 MB
17ENV HSA_ENABLE_SCRATCH_ASYNC_RECLAIM=00 B
18ENV HSA_NO_SCRATCH_RECLAIM=10 B
19ENV THE_ROCK_VERSION=7.15.0a202607270 B
20RUN /bin/sh -c python -m3.3 GB
21ARG PYTORCH_VERSION=2.12.0+rocm7.15.0a202607270 B
22RUN |1 PYTORCH_VERSION=2.12.0+rocm7.15.0a20260727 /bin/sh -c73.67 MB
23RUN |1 PYTORCH_VERSION=2.12.0+rocm7.15.0a20260727 /bin/sh -c979.99 MB
24RUN |1 PYTORCH_VERSION=2.12.0+rocm7.15.0a20260727 /bin/sh -c3.29 GB
25ENV ROCM_PATH=/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel0 B
26ENV ROCM_HOME=/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel0 B
27ENV HIP_PLATFORM=amd0 B
28ENV HIP_PATH=/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel0 B
29ENV HIP_CLANG_PATH=/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel/llvm/bin0 B
30ENV HIP_INCLUDE_PATH=/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel/include0 B
31ENV HIP_LIB_PATH=/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel/lib0 B
32ENV HIP_DEVICE_LIB_PATH=/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel/lib/llvm/amdgcn/bitcode0 B
33ENV 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 B
34ENV 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 B
35ENV 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 B
36ENV CPATH=/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel/include0 B
37ENV PKG_CONFIG_PATH=/opt/venv/lib/python3.12/site-packages/_rocm_sdk_devel/lib/pkgconfig0 B
38RUN |1 PYTORCH_VERSION=2.12.0+rocm7.15.0a20260727 /bin/sh -c23.88 KB
39ARG TE_VERSION=2.17.0+rocm7.15.0a20260727.e028a6c0 B
40ENV NVTE_USE_CAST_TRANSPOSE_TRITON=10 B
41ENV NVTE_CK_IS_V3_ATOMIC_FP32=00 B
42ENV NVTE_CK_USES_BWD_V3=10 B
43ENV NVTE_CK_USES_FWD_V3=10 B
44ENV CK_TILE_FLOAT_TO_BFLOAT16_DEFAULT=20 B
45ENV NVTE_CK_HOW_V3_BF16_CVT=20 B
46RUN |2 PYTORCH_VERSION=2.12.0+rocm7.15.0a20260727 TE_VERSION=2.17.0+rocm7.15.0a20260727.e028a6c /bin/sh367.09 MB
47RUN |2 PYTORCH_VERSION=2.12.0+rocm7.15.0a20260727 TE_VERSION=2.17.0+rocm7.15.0a20260727.e028a6c /bin/sh64.15 MB
48RUN |2 PYTORCH_VERSION=2.12.0+rocm7.15.0a20260727 TE_VERSION=2.17.0+rocm7.15.0a20260727.e028a6c /bin/sh32 B
49ARG FLUX_REPO=https://github.com/ROCm/AMDiffusionBenchmark.git0 B
50ARG FLUX_BRANCH=26.4_RC_Patch_torchcodec0 B
51COPY primus_training_the_rock/docker/Diffusion_benchmark_patches.patch /workspace/Diffusion_benchmark_patches.patch # buildkit2.82 KB
52COPY primus_training_the_rock/docker/sdxl_patch.patch /workspace/sdxl_patch.patch # buildkit579 B
53RUN |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 MB
54ARG DLRM_REPO=https://github.com/AMD-AGI/DLRMBenchmark.git0 B
55ARG DLRM_BRANCH=main0 B
56RUN |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 KB
57ARG TORCHTUNE_REPO=https://github.com/pytorch/torchtune.git0 B
58ARG TORCHTUNE_BRANCH=b4c98ac2a37f0397d64c22579aed415ce7264db60 B
59RUN |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 MB
60ARG TORCHAO_REPO=https://github.com/pytorch/ao.git0 B
61ARG TORCHAO_BRANCH=e9c7bead90b840b280f97374308255957108ce470 B
62RUN |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 MB
63RUN |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 MB
64ARG GROUPED_GEMM_REPO=https://github.com/caaatch22/grouped_gemm.git0 B
65ARG GROUPED_GEMM_BRANCH=rocm0 B
66RUN |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 KB
67ARG CAUSAL_CONV1D_REPO=https://github.com/Dao-AILab/causal-conv1d0 B
68ARG CAUSAL_CONV1D_BRANCH=e940ead2fd962c56854455017541384909ca669f0 B
69ENV CAUSAL_CONV1D_FORCE_BUILD=TRUE0 B
70ENV MAMBA_FORCE_BUILD=TRUE0 B
71ENV HIP_ARCHITECTURES=gfx942,gfx9500 B
72RUN |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 MB
73ARG MAMBA_REPO=https://github.com/AndreasKaratzas/mamba.git0 B
74ARG MAMBA_BRANCH=enable-primus-hybrid-models0 B
75RUN |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 MB
76ARG PRIMUS_REPO=https://github.com/AMD-AGI/Primus.git0 B
77ARG PRIMUS_BRANCH=2aa05ead3401708cf1a1e2958c1def18d7aecf920 B
78ENV NVTE_FLASH_ATTN=00 B
79ENV NVTE_FUSED_ATTN=10 B
80ENV PRIMUS_FLA_MLA_ATTN=10 B
81RUN |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 GB
82ARG AITER_REPO=https://github.com/ROCm/aiter.git0 B
83ARG AITER_COMMIT=0f3c58e6edb6754940bcf9fd5f09ccb6f389f52e0 B
84RUN |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 MB
85ARG TURBO_REPO=https://github.com/AMD-AGI/Primus-Turbo.git0 B
86ARG TURBO_COMMIT=a6a16cdce46bd2235a248b41f501fb363c215b9b0 B
87ENV HCC_AMDGPU_TARGET=gfx942,gfx9500 B
88RUN |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 MB
89RUN |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 MB
90RUN |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 MB
91RUN |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 MB
92WORKDIR /workspace/32 B
93RUN |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 MB
94ARG FBGEMM_REPO=https://github.com/pytorch/FBGEMM.git0 B
95ARG FBGEMM_COMMIT=80bd3c077dc41b55cd16ed4dcad15cf7c1c1d76a0 B
96ENV BUILD_ROCM_VERSION=7.150 B
97RUN |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 KB
98RUN |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 GB
99RUN |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 KB
100ENV GPU_ARCHS=native0 B
101RUN |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 MB
102RUN |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 B
103RUN |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 MB
104ARG AINIC_BUNDLE_VERSION=1.117.5-a-770 B
105RUN |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 KB
106RUN |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 B
107ARG UCX_VERSION=1.18.00 B
108RUN |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 MB
109ENV UCX_INSTALL_DIR=/workspace/ucx-1.18.0/install0 B
110ARG MPI_VERSION=4.1.60 B
111RUN |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 MB
112ENV 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 B
113ENV 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 B
114ARG MLPERF_COMMENT_REPO=https://github.com/AMD-AGI/mlperf-common.git0 B
115ARG MLPERF_COMMENT_COMMIT=56d8ca70f60f866312add84adfea66f5447a4c860 B
116RUN |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 KB
117COPY /wandb-core /opt/venv/lib/python3.12/site-packages/wandb/bin/wandb-core # buildkit15.15 MB
118RUN |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 B
119RUN |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 B
120RUN |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 B
121RUN |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 B
122ARG GIT_COMMIT_TAG=f756f2279d8ab57b6549bcbd50d249755b69a4070 B
123ARG DOCKERFILE_PATH=primus_training_the_rock/docker/Dockerfile0 B
124RUN |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 KB
125COPY primus_training_the_rock/docker/Dockerfile /workspace/.manifest/Dockerfile # buildkit7.96 KB
126CMD ["/usr/bin/bash"]0 B

Command

 ARG RELEASE