We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a95395 commit 47826e2Copy full SHA for 47826e2
pytorch_lightning/trainer/connectors/slurm_connector.py
@@ -66,7 +66,7 @@ def resolve_root_node_address(self, root_node):
66
67
def register_slurm_signal_handlers(self):
68
# see if we're using slurm (not interactive)
69
- job_name = os.environ.get('SLURM_JOB_NAME')
+ job_name = os.environ.get('SLURM_JOB_NAME', '')
70
on_slurm = job_name != 'bash'
71
72
if on_slurm:
0 commit comments