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 @@ -56,10 +56,10 @@ ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/rocm/lib/:/libtorch/lib:
56
56
ENV CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH:/libtorch/include:/libtorch/include/torch/csrc/api/include/:/opt/rocm/include/:
57
57
58
58
# Install ROCm flash-attention
59
- RUN if [ "$BUILD_FA" == "1" ]; then \
59
+ RUN if [ "$BUILD_FA" = "1" ]; then \
60
60
mkdir libs \
61
61
&& cd libs \
62
- && git clone https://github.com/ROCmSoftwarePlatform /flash-attention.git \
62
+ && git clone https://github.com/ROCm /flash-attention.git \
63
63
&& cd flash-attention \
64
64
&& git checkout ${FA_BRANCH} \
65
65
&& git submodule update --init \
@@ -83,7 +83,7 @@ RUN if [ "$BASE_IMAGE" = "rocm/pytorch:rocm6.0_ubuntu20.04_py3.9_pytorch_2.1.1"
83
83
RUN cd /app \
84
84
&& cd vllm \
85
85
&& pip install -U -r requirements-rocm.txt \
86
- && if [ "$BUILD_FA" == "1" ]; then \
86
+ && if [ "$BUILD_FA" = "1" ]; then \
87
87
bash patch_xformers.rocm.sh; fi \
88
88
&& patch /opt/rocm/include/hip/amd_detail/amd_hip_bf16.h /app/vllm/rocm_patch/rocm_bf16.patch \
89
89
&& python3 setup.py install \
You can’t perform that action at this time.
0 commit comments