mirror of
https://github.com/storytold/FineTrainers-Conditioning.git
synced 2026-10-09 00:09:45 +00:00
wandb tracker in scheduling problems during the training initiation and training stages.
This commit is contained in:
@@ -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))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user