mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-11-05 10:22:15 +08:00
fix docker file
Former-commit-id: 688f02decb1185deb74b26444f7643cab7d355c1
This commit is contained in:
parent
9805350811
commit
52ab77d008
@ -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