diff --git a/docker/Dockerfile b/docker/Dockerfile index dcb6f9131..943feb6e3 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -23,7 +23,8 @@ RUN cd axolotl && \ fi # fix so that git fetch/pull from remote works -RUN git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*" && \ +RUN cd axolotl && \ + git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*" && \ git config --get remote.origin.fetch # helper for huggingface-login cli diff --git a/scripts/finetune.py b/scripts/finetune.py index 8696d3c9a..9eb65037c 100644 --- a/scripts/finetune.py +++ b/scripts/finetune.py @@ -35,6 +35,7 @@ DEFAULT_DATASET_PREPARED_PATH = "last_run_prepared" +os.environ["HF_HUB_ENABLE_HF_TRANSFER"] = "1" def choose_device(cfg): diff --git a/src/axolotl/logging_config.py b/src/axolotl/logging_config.py index 1df272d5c..546e64a77 100644 --- a/src/axolotl/logging_config.py +++ b/src/axolotl/logging_config.py @@ -22,6 +22,9 @@ }, }, "root": {"handlers": ["console"], "level": os.getenv("LOG_LEVEL", "INFO")}, + "loggers": { + "axolotl": {"handlers": ["console"], "level": "DEBUG", "propagate": False}, + }, }