switched cpu amp order
This commit is contained in:
parent
aadf8e16aa
commit
fffc09830f
|
@ -57,7 +57,7 @@ def test_amp_gpu_ddp_slurm_managed():
|
|||
|
||||
# simulate setting slurm flags
|
||||
os.environ['MASTER_PORT'] = str(np.random.randint(12000, 19000, 1)[0])
|
||||
os.environ['SLURM_LOCALID'] = 0
|
||||
os.environ['SLURM_LOCALID'] = str(0)
|
||||
|
||||
hparams = get_hparams()
|
||||
model = LightningTestModel(hparams)
|
||||
|
|
Loading…
Reference in New Issue