Update multi_node_cluster_auto_slurm.py
This commit is contained in:
parent
cbc619afa1
commit
ac0111c196
|
@ -76,12 +76,11 @@ def main(hparams, cluster):
|
|||
# ------------------------
|
||||
# 4 INIT TRAINER
|
||||
# ------------------------
|
||||
gpus = list(range(0, hparams.per_experiment_nb_gpus))
|
||||
trainer = Trainer(
|
||||
experiment=exp,
|
||||
checkpoint_callback=checkpoint,
|
||||
early_stop_callback=early_stop,
|
||||
gpus=gpus,
|
||||
gpus=hparams.per_experiment_nb_gpus,
|
||||
nb_gpu_nodes=hyperparams.nb_gpu_nodes
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue