File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,15 +12,15 @@ ARG PYTORCH_REPO="https://github.com/pytorch/pytorch.git"
1212ARG PYTORCH_VISION_REPO="https://github.com/pytorch/vision.git"
1313ARG FA_BRANCH="1a7f4dfa"
1414ARG FA_REPO="https://github.com/Dao-AILab/flash-attention.git"
15- ARG AITER_BRANCH="41297e56 "
15+ ARG AITER_BRANCH="c0da3d23 "
1616ARG AITER_REPO="https://github.com/ROCm/aiter.git"
1717
1818FROM ${BASE_IMAGE} AS base
1919
2020ENV PATH=/opt/rocm/llvm/bin:$PATH
2121ENV ROCM_PATH=/opt/rocm
2222ENV LD_LIBRARY_PATH=/opt/rocm/lib:/usr/local/lib:
23- ARG PYTORCH_ROCM_ARCH=gfx90a;gfx942
23+ ARG PYTORCH_ROCM_ARCH=gfx90a;gfx942;gfx1100;gfx1101;gfx1200;gfx1201
2424ENV PYTORCH_ROCM_ARCH=${PYTORCH_ROCM_ARCH}
2525
2626ARG PYTHON_VERSION=3.12
@@ -110,7 +110,7 @@ RUN git clone ${FA_REPO}
110110RUN cd flash-attention \
111111 && git checkout ${FA_BRANCH} \
112112 && git submodule update --init \
113- && GPU_ARCHS=${PYTORCH_ROCM_ARCH} python3 setup.py bdist_wheel --dist-dir=dist
113+ && GPU_ARCHS=$(echo $ {PYTORCH_ROCM_ARCH} | sed -e 's/;gfx1[0-9]\{3\}//g') python3 setup.py bdist_wheel --dist-dir=dist
114114RUN mkdir -p /app/install && cp /app/pytorch/dist/*.whl /app/install \
115115 && cp /app/vision/dist/*.whl /app/install \
116116 && cp /app/flash-attention/dist/*.whl /app/install
You can’t perform that action at this time.
0 commit comments