File tree 2 files changed +8
-0
lines changed
2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -22,5 +22,9 @@ RUN cd axolotl && \
22
22
pip install -e .; \
23
23
fi
24
24
25
+ # fix so that git fetch/pull from remote works
26
+ RUN git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*" && \
27
+ git config --get remote.origin.fetch
28
+
25
29
# helper for huggingface-login cli
26
30
RUN git config --global credential.helper store
Original file line number Diff line number Diff line change 1
1
ARG BASE_TAG=main
2
2
FROM winglian/axolotl:$BASE_TAG
3
3
4
+ ENV HF_DATASETS_CACHE="/workspace/data/huggingface-cache/datasets"
5
+ ENV HUGGINGFACE_HUB_CACHE="/workspace/data/huggingface-cache/hub"
6
+ ENV TRANSFORMERS_CACHE="/workspace/data/huggingface-cache/hub"
7
+
4
8
COPY scripts/runpod-entrypoint.sh /root/runpod-entrypoint.sh
5
9
6
10
RUN apt install --yes --no-install-recommends openssh-server tmux && \
You can’t perform that action at this time.
0 commit comments