From cbf6bc235073cd56867dcb9858b9c96dcb594aca Mon Sep 17 00:00:00 2001 From: Zachary Mueller Date: Tue, 6 Jun 2023 13:30:19 -0400 Subject: [PATCH] Oops, missed one (#24054) Oops --- examples/pytorch/text-classification/run_glue_no_trainer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/pytorch/text-classification/run_glue_no_trainer.py b/examples/pytorch/text-classification/run_glue_no_trainer.py index 2ba3c444983..cf5d1f2e742 100644 --- a/examples/pytorch/text-classification/run_glue_no_trainer.py +++ b/examples/pytorch/text-classification/run_glue_no_trainer.py @@ -217,7 +217,7 @@ def main(): # If we're using tracking, we also need to initialize it here and it will by default pick up all supported trackers # in the environment accelerator = ( - Accelerator(log_with=args.report_to, logging_dir=args.output_dir) if args.with_tracking else Accelerator() + Accelerator(log_with=args.report_to, project_dir=args.output_dir) if args.with_tracking else Accelerator() ) # Make one log on every process with the configuration for debugging. logging.basicConfig(