try with reversion of packaging/setuptools/wheel install

This commit is contained in:
Wing Lian
2025-03-21 07:19:12 -04:00
parent e7532c9b0c
commit 5ece44b4a8

View File

@@ -31,13 +31,10 @@ RUN if [ "$NIGHTLY_BUILD" = "true" ] ; then \
sed -i 's#^datasets.*#datasets @ git+https://github.com/huggingface/datasets.git@main#' requirements.txt; \
fi
RUN pip3 install -U packaging setuptools wheel ninja
RUN if [ "$AXOLOTL_EXTRAS" != "" ] ; then \
pip install --no-build-isolation deepspeed; \
pip install --no-build-isolation -e .[flash-attn,optimizers,ray,$AXOLOTL_EXTRAS] $AXOLOTL_ARGS; \
pip install --no-build-isolation -e .[deepspeed,flash-attn,optimizers,ray,$AXOLOTL_EXTRAS] $AXOLOTL_ARGS; \
else \
pip install deepspeed; \
pip install --no-build-isolation -e .[flash-attn,optimizers,ray] $AXOLOTL_ARGS --no-binary=deepspeed; \
pip install --no-build-isolation -e .[deepspeed,flash-attn,optimizers,ray] $AXOLOTL_ARGS; \
fi
RUN python scripts/unsloth_install.py | sh