@@ -78,13 +78,13 @@ RUN cd /opt/rocm/share/amd_smi \
78
78
&& pip wheel . --wheel-dir=dist
79
79
RUN mkdir -p /app/install && cp /opt/rocm/share/amd_smi/dist/*.whl /app/install
80
80
81
- # FROM base AS build_pytorch
81
+ FROM base AS build_pytorch
82
82
#ARG PYTORCH_BRANCH
83
83
#ARG PYTORCH_VISION_BRANCH
84
84
#ARG PYTORCH_REPO
85
85
#ARG PYTORCH_VISION_REPO
86
- # ARG FA_BRANCH
87
- # ARG FA_REPO
86
+ ARG FA_BRANCH
87
+ ARG FA_REPO
88
88
#RUN git clone ${PYTORCH_REPO} pytorch
89
89
#RUN cd pytorch && git checkout ${PYTORCH_BRANCH} && \
90
90
# pip install -r requirements.txt && git submodule update --init --recursive \
@@ -127,8 +127,8 @@ RUN mkdir /app/debs
127
127
# cp /install/*.whl /app/debs
128
128
RUN --mount=type=bind,from=build_amdsmi,src=/app/install/,target=/install \
129
129
cp /install/*.whl /app/debs
130
- # RUN --mount=type=bind,from=build_pytorch,src=/app/install/,target=/install \
131
- # cp /install/*.whl /app/debs
130
+ RUN --mount=type=bind,from=build_pytorch,src=/app/install/,target=/install \
131
+ cp /install/*.whl /app/debs
132
132
# RUN --mount=type=bind,from=build_aiter,src=/app/install/,target=/install \
133
133
# cp /install/*.whl /app/debs
134
134
@@ -142,8 +142,8 @@ FROM base AS final
142
142
# pip install /install/*.whl
143
143
RUN --mount=type=bind,from=build_amdsmi,src=/app/install/,target=/install \
144
144
pip install /install/*.whl
145
- # RUN --mount=type=bind,from=build_pytorch,src=/app/install/,target=/install \
146
- # pip install /install/*.whl
145
+ RUN --mount=type=bind,from=build_pytorch,src=/app/install/,target=/install \
146
+ pip install /install/*.whl
147
147
# RUN --mount=type=bind,from=build_aiter,src=/app/install/,target=/install \
148
148
# pip install /install/*.whl
149
149
0 commit comments