Logging config for colab (#2611)

* only configure logging on cli to play nicely with colab

* allow reloading the config on the fly from a dict

* make sure to use dict for yaml

* reuse existing function for load

* make cli args optional

* mps fix and respect max_steps
This commit is contained in:
Wing Lian
2025-05-01 12:58:00 -04:00
committed by GitHub
parent 996fc124e5
commit fee3c13bb5
11 changed files with 32 additions and 25 deletions

View File

@@ -2,4 +2,7 @@
import os
from axolotl.logging_config import configure_logging
os.environ["HF_HUB_ENABLE_HF_TRANSFER"] = "1"
configure_logging()