mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-09 11:32:07 +08:00
using slurm flag to fine node nb
This commit is contained in:
@@ -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')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user