Bruno Cabral
commited on
Commit
·
f4df266
1
Parent(s):
281dc3d
Disable Wandb
Browse files
src/axolotl/utils/wandb.py
CHANGED
|
@@ -15,3 +15,5 @@ def setup_wandb_env_vars(cfg):
|
|
| 15 |
os.environ["WANDB_LOG_MODEL"] = cfg.wandb_log_model
|
| 16 |
if cfg.wandb_run_id and len(cfg.wandb_run_id) > 0:
|
| 17 |
os.environ["WANDB_RUN_ID"] = cfg.wandb_run_id
|
|
|
|
|
|
|
|
|
| 15 |
os.environ["WANDB_LOG_MODEL"] = cfg.wandb_log_model
|
| 16 |
if cfg.wandb_run_id and len(cfg.wandb_run_id) > 0:
|
| 17 |
os.environ["WANDB_RUN_ID"] = cfg.wandb_run_id
|
| 18 |
+
else:
|
| 19 |
+
os.environ["WANDB_DISABLED"] = "true"
|