Act on deprecations in Accelerate no_trainer examples (#24053)
Act on deprecation
This commit is contained in:
@@ -288,7 +288,7 @@ def main():
|
||||
|
||||
if args.with_tracking:
|
||||
accelerator_log_kwargs["log_with"] = args.report_to
|
||||
accelerator_log_kwargs["logging_dir"] = args.output_dir
|
||||
accelerator_log_kwargs["project_dir"] = args.output_dir
|
||||
|
||||
accelerator = Accelerator(gradient_accumulation_steps=args.gradient_accumulation_steps, **accelerator_log_kwargs)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user