Skip to content

Commit 73e70e3

Browse files
authored
Merge pull request axolotl-ai-cloud#286 from OpenAccess-AI-Collective/logging-docker-fixes
misc fixes
2 parents 0222466 + d75adb9 commit 73e70e3

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

docker/Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ RUN cd axolotl && \
2323
fi
2424

2525
# fix so that git fetch/pull from remote works
26-
RUN git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*" && \
26+
RUN cd axolotl && \
27+
git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*" && \
2728
git config --get remote.origin.fetch
2829

2930
# helper for huggingface-login cli

scripts/finetune.py

+1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535

3636

3737
DEFAULT_DATASET_PREPARED_PATH = "last_run_prepared"
38+
os.environ["HF_HUB_ENABLE_HF_TRANSFER"] = "1"
3839

3940

4041
def choose_device(cfg):

src/axolotl/logging_config.py

+3
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222
},
2323
},
2424
"root": {"handlers": ["console"], "level": os.getenv("LOG_LEVEL", "INFO")},
25+
"loggers": {
26+
"axolotl": {"handlers": ["console"], "level": "DEBUG", "propagate": False},
27+
},
2528
}
2629

2730

0 commit comments

Comments
 (0)