We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4da6639 commit dc6b47dCopy full SHA for dc6b47d
1 file changed
clusterscope/job_info.py
@@ -34,12 +34,6 @@ def __init__(self):
34
self.is_torchelastic_run = lambda: "TORCHELASTIC_RUN_ID" in os.environ
35
self.is_slurm_job = lambda: "SLURM_JOB_ID" in os.environ
36
self.is_slurm_srun = lambda: "SLURM_PROCID" in os.environ
37
- self.job_id = self.get_job_id()
38
- self.job_name = self.get_job_name()
39
- self.global_rank = self.get_global_rank()
40
- self.local_rank = self.get_local_rank()
41
- self.world_size = self.get_world_size()
42
- self.is_rank_zero = self.get_is_rank_zero()
43
44
@lru_cache(maxsize=1)
45
def get_job_id(self) -> int:
0 commit comments