fix docker file
This commit is contained in:
parent
e44a4f07f0
commit
0f421055da
|
@ -26,8 +26,8 @@ RUN pip config set global.index-url "$PIP_INDEX" && \
|
||||||
RUN pip uninstall -y transformer-engine flash-attn && \
|
RUN pip uninstall -y transformer-engine flash-attn && \
|
||||||
if [ "$INSTALL_FLASHATTN" == "true" ]; then \
|
if [ "$INSTALL_FLASHATTN" == "true" ]; then \
|
||||||
pip uninstall -y ninja && pip install ninja && \
|
pip uninstall -y ninja && pip install ninja && \
|
||||||
pip install --no-cache-dir flash-attn --no-build-isolation \
|
pip install --no-cache-dir flash-attn --no-build-isolation; \
|
||||||
fi;
|
fi
|
||||||
|
|
||||||
# Copy the rest of the application into the image
|
# Copy the rest of the application into the image
|
||||||
COPY . /app
|
COPY . /app
|
||||||
|
|
Loading…
Reference in New Issue