mirror of
https://github.com/storytold/FineTrainers-Conditioning.git
synced 2026-10-19 07:43:28 +00:00
Merge pull request #100 from a-r-r-o-w/wandb-tracker-fix
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.
|
# We need to initialize the trackers we use, and also store our configuration.
|
||||||
# The trackers initializes automatically on the main process.
|
# 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"
|
tracker_name = args.tracker_name or "cogvideox-sft"
|
||||||
accelerator.init_trackers(tracker_name, config=vars(args))
|
accelerator.init_trackers(tracker_name, config=vars(args))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user