mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-08-01 11:12:50 +08:00
fix docker file
Former-commit-id: 0f421055da37d7f9b3313954fd008c433b3100f5
This commit is contained in:
parent
7c488cea57
commit
5e60c29971
@ -26,8 +26,8 @@ RUN pip config set global.index-url "$PIP_INDEX" && \
|
||||
RUN pip uninstall -y transformer-engine flash-attn && \
|
||||
if [ "$INSTALL_FLASHATTN" == "true" ]; then \
|
||||
pip uninstall -y ninja && pip install ninja && \
|
||||
pip install --no-cache-dir flash-attn --no-build-isolation \
|
||||
fi;
|
||||
pip install --no-cache-dir flash-attn --no-build-isolation; \
|
||||
fi
|
||||
|
||||
# Copy the rest of the application into the image
|
||||
COPY . /app
|
||||
|
Loading…
x
Reference in New Issue
Block a user