Skip to content

Commit

Permalink
also use wandb.save for axolotl yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
winglian authored Apr 9, 2024
1 parent 8414bb0 commit 1536ee3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/axolotl/utils/callbacks/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -751,6 +751,7 @@ def on_train_begin(
at = wandb.Artifact(f"config-{wandb.run.id}", type="axolotl-config")
at.add_file(temp_file.name)
wandb.log_artifact(at)
wandb.save(temp_file.name)
LOG.info(
"The Axolotl config has been saved to the WandB run under files."
)
Expand Down

0 comments on commit 1536ee3

Please sign in to comment.