Skip to content
This repository has been archived by the owner on Sep 24, 2024. It is now read-only.

Commit

Permalink
fix bug in wandb init for finetune
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Friedowitz committed Jan 19, 2024
1 parent cd68801 commit 3f0c8f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flamingo/jobs/finetuning/entrypoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def load_and_train(config: FinetuningJobConfig):
def train_func(config_data: dict):
config = FinetuningJobConfig(**config_data)
if is_tracking_enabled(config):
with wandb_init_from_config(config, resume="never"):
with wandb_init_from_config(config.tracking, resume="never"):
load_and_train(config)
else:
load_and_train(config)
Expand Down

0 comments on commit 3f0c8f0

Please sign in to comment.