@ -622,8 +622,6 @@ if __name__ == "__main__":
# Set the steps
trainer_config.max_steps = opt.batch_size
# default to ddp
trainer_config["accelerator"] = "ddp"
for k in nondefault_trainer_args(opt):
trainer_config[k] = getattr(opt, k)
if not "gpus" in trainer_config: