-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* WIP: Update to latest axolotl * Update snowflake connector * Remove monkey patching, use plugins system * Fix for sample packing patching * Update deepspeed * bump axolotl commit version * Disable Liger till linkedin/Liger-Kernel#322 (comment) is taken care of * Update reqs * Enhance sequence lens validation * Fix notebook * Update notebook * Fix error handling * Update base image * Fix cuda repo and allow changing held packages for libnccl * Fix build
- Loading branch information
Showing
15 changed files
with
422 additions
and
382 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,3 +16,4 @@ tensorboard_logs/ | |
mlruns/ | ||
output/ | ||
outputs/ | ||
*.egg-info/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,22 @@ | ||
# https://hub.docker.com/layers/winglian/axolotl/main-20240819-py3.11-cu121-2.3.1/images/sha256-eb331da0d83e0e55301c542852ee4939d36fa02810f57d99b15f56e4dc0e200d?context=explore | ||
FROM winglian/axolotl@sha256:e70e7ea55ab3ae3c212066bf45271f49198445ab646b9d470d9e0f41050ac8c9 | ||
# https://hub.docker.com/layers/winglian/axolotl/main-20241104-py3.11-cu121-2.3.1/images/sha256-790297fa1d71f8f1590c73ca4505ca39fe7dfa2886b2b6862199a6df679bf8e4?context=explore | ||
FROM winglian/axolotl@sha256:cffbcc4993e80301a8918062f8136a6ac402877fd6c29f1168be563e543aee4d | ||
USER root | ||
COPY requirements.txt /tmp/ | ||
RUN pip install -U pip wheel setuptools && \ | ||
pip uninstall -y mlflow axolotl && \ | ||
pip uninstall -y axolotl && \ | ||
pip install --no-cache-dir -U -r /tmp/requirements.txt | ||
RUN mkdir -p /packages && \ | ||
cd /packages && \ | ||
git clone https://github.com/truefoundry/axolotl && \ | ||
cd axolotl/ && \ | ||
git checkout 294e9097e2c4ea642198aea5ad0561d3b647e572 | ||
git checkout e16f637d079ef5d56321a240ef0547a50c37b708 | ||
RUN cd /packages/axolotl/ && \ | ||
MAX_JOBS=1 NVCC_APPEND_FLAGS="--threads 1" pip install -U --no-build-isolation -e .[flash-attn,mamba-ssm,fused-dense-lib,optimizers] && \ | ||
MAX_JOBS=1 NVCC_APPEND_FLAGS="--threads 1" pip install -U --no-build-isolation --no-cache-dir -e .[flash-attn,mamba-ssm,fused-dense-lib,optimizers,lion-pytorch,galore] && \ | ||
pip install --no-cache-dir -U -r /tmp/requirements.txt && \ | ||
rm -rf /root/.cache/pip | ||
COPY plugins/axolotl_truefoundry /packages/axolotl_truefoundry | ||
RUN cd /packages/axolotl_truefoundry/ && \ | ||
pip install --no-cache-dir -e . && \ | ||
rm -rf /root/.cache/pip | ||
WORKDIR /app | ||
COPY . /app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.