don't compile deepspeed or bitsandbytes from source (#837)

This commit is contained in:
Wing Lian
2023-11-08 19:49:55 -05:00
committed by GitHub
parent 641e6f7e51
commit f544ab2bed
25 changed files with 29 additions and 65 deletions

View File

@@ -21,9 +21,9 @@ WORKDIR /workspace/axolotl
# If AXOLOTL_EXTRAS is set, append it in brackets
RUN sed -i "s/torch==.*/torch==$PYTORCH_VERSION/" requirements.txt
RUN if [ "$AXOLOTL_EXTRAS" != "" ] ; then \
pip install -e .[flash-attn,$AXOLOTL_EXTRAS]; \
pip install -e .[deepspeed,flash-attn,$AXOLOTL_EXTRAS]; \
else \
pip install -e .[flash-attn]; \
pip install -e .[deepspeed,flash-attn]; \
fi
# fix so that git fetch/pull from remote works