wandb tracker in scheduling problems during the training initiation and training stages.

This commit is contained in:
glide-the
2024-11-27 17:14:28 +08:00
parent 62a82a8647
commit a9cf49ecea
+1 -1
View File
@@ -536,7 +536,7 @@ def main(args):
# We need to initialize the trackers we use, and also store our configuration.
# The trackers initializes automatically on the main process.
if accelerator.is_main_process:
if accelerator.distributed_type == DistributedType.DEEPSPEED or accelerator.is_main_process:
tracker_name = args.tracker_name or "cogvideox-sft"
accelerator.init_trackers(tracker_name, config=vars(args))