testing slurm ddp

This commit is contained in:
William Falcon 2019-07-08 10:55:06 -04:00
parent 06928f721f
commit f907158c97
1 changed files with 2 additions and 2 deletions

View File

@ -145,8 +145,8 @@ if __name__ == '__main__':
parent_parser = get_default_parser(strategy='random_search', root_dir=root_dir)
# cluster args not defined inside the model
parent_parser.add_argument('-gpu_partition', type=str)
parent_parser.add_argument('-per_experiment_nb_gpus', type=int)
parent_parser.add_argument('--gpu_partition', type=str)
parent_parser.add_argument('--per_experiment_nb_gpus', type=int)
parent_parser.add_argument('--nb_gpu_nodes', type=int, default=1)
# allow model to overwrite or extend args