Merge pull request #286 from OpenAccess-AI-Collective/logging-docker-fixes
misc fixes
This commit is contained in:
@@ -23,7 +23,8 @@ RUN cd axolotl && \
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# fix so that git fetch/pull from remote works
|
# 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
|
git config --get remote.origin.fetch
|
||||||
|
|
||||||
# helper for huggingface-login cli
|
# helper for huggingface-login cli
|
||||||
|
|||||||
@@ -35,6 +35,7 @@ LOG = logging.getLogger("axolotl.scripts")
|
|||||||
|
|
||||||
|
|
||||||
DEFAULT_DATASET_PREPARED_PATH = "last_run_prepared"
|
DEFAULT_DATASET_PREPARED_PATH = "last_run_prepared"
|
||||||
|
os.environ["HF_HUB_ENABLE_HF_TRANSFER"] = "1"
|
||||||
|
|
||||||
|
|
||||||
def choose_device(cfg):
|
def choose_device(cfg):
|
||||||
|
|||||||
@@ -22,6 +22,9 @@ DEFAULT_LOGGING_CONFIG: Dict[str, Any] = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
"root": {"handlers": ["console"], "level": os.getenv("LOG_LEVEL", "INFO")},
|
"root": {"handlers": ["console"], "level": os.getenv("LOG_LEVEL", "INFO")},
|
||||||
|
"loggers": {
|
||||||
|
"axolotl": {"handlers": ["console"], "level": "DEBUG", "propagate": False},
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user