using slurm flag to fine node nb

This commit is contained in:
William Falcon
2019-07-08 14:11:48 -04:00
parent 8552a911bf
commit 553223334f
@@ -46,6 +46,7 @@ def main(hparams, cluster, results_dict):
# 1 INIT LIGHTNING MODEL
# ------------------------
print('loading model...')
print(os.environ['SLURM_SRUN_COMM_HOST'])
model = LightningTemplateModel(hparams)
print('model built')