Skip to content

Commit 47826e2

Browse files
committed
.
1 parent 6a95395 commit 47826e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytorch_lightning/trainer/connectors/slurm_connector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def resolve_root_node_address(self, root_node):
6666

6767
def register_slurm_signal_handlers(self):
6868
# see if we're using slurm (not interactive)
69-
job_name = os.environ.get('SLURM_JOB_NAME')
69+
job_name = os.environ.get('SLURM_JOB_NAME', '')
7070
on_slurm = job_name != 'bash'
7171

7272
if on_slurm:

0 commit comments

Comments
 (0)