mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-17 12:40:36 +08:00
testing slurm ddp
This commit is contained in:
@@ -181,7 +181,7 @@ if __name__ == '__main__':
|
||||
optimize_on_cluster(hyperparams)
|
||||
|
||||
# RUN ON GPUS
|
||||
if hyperparams.gpus is not None:
|
||||
elif hyperparams.gpus is not None:
|
||||
# -1 means use all gpus
|
||||
# otherwise use the visible ones
|
||||
if hyperparams.gpus == '-1':
|
||||
|
||||
Reference in New Issue
Block a user