Skip to content

Commit

Permalink
reorder for fix
Browse files Browse the repository at this point in the history
  • Loading branch information
winglian committed Apr 22, 2024
1 parent b4df593 commit b5e2821
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docker/Dockerfile-beta
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,19 @@ RUN echo "source /home/axolotl/venv/axolotl/bin/activate" >> /home/axolotl/.bash
RUN git lfs install --skip-repo && \
pip3 install awscli

WORKDIR /workspace

RUN git clone --depth=1 https://github.com/OpenAccess-AI-Collective/axolotl.git

WORKDIR /workspace/axolotl

RUN pip install causal_conv1d && \
cd /workspace/axolotl && \
pip install -e .[deepspeed,flash-attn,mamba-ssm,galore]

# So we can test the Docker image
RUN pip install pytest

WORKDIR /workspace

RUN git clone --depth=1 https://github.com/OpenAccess-AI-Collective/axolotl.git

WORKDIR /workspace/axolotl

# fix so that git fetch/pull from remote works
RUN git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*" && \
git config --get remote.origin.fetch
Expand Down

0 comments on commit b5e2821

Please sign in to comment.