Skip to content

Commit

Permalink
Increase all slurm timeouts to 30 minutes (#21)
Browse files Browse the repository at this point in the history
Related to #20

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/WATonomous/slurm-gha/issues/20?shareId=XXXX-XXXX-XXXX-XXXX).
  • Loading branch information
alexboden authored Dec 31, 2024
1 parent cecfd4a commit dbbf12c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions runner_size_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ def get_runner_resources(runner_label):
Based on https://github.com/WATonomous/infra-config/blob/b604376f4ee9fa3336b11dc084ba90b962ec7ee1/kubernetes/github-arc/get-config.py#L120-L142
"""
if runner_label == "slurm-runner-small":
return {"cpu" : 1, "mem-per-cpu" : "2G", "tmpdisk" : 4096, "time" : "00:15:00"}
return {"cpu" : 1, "mem-per-cpu" : "2G", "tmpdisk" : 4096, "time" : "00:30:00"}
elif runner_label == "slurm-runner-medium":
return {"cpu" : 2, "mem-per-cpu" : "2G", "tmpdisk" : 16384, "time" : "00:20:00"}
return {"cpu" : 2, "mem-per-cpu" : "2G", "tmpdisk" : 16384, "time" : "00:30:00"}
elif runner_label == "slurm-runner-large":
return {"cpu" : 4, "mem-per-cpu" : "2G", "tmpdisk" : 16384, "time" : "00:25:00"}
return {"cpu" : 4, "mem-per-cpu" : "2G", "tmpdisk" : 16384, "time" : "00:30:00"}
elif runner_label == "slurm-runner-xlarge":
return {"cpu" : 16, "mem-per-cpu" : "2G", "tmpdisk" : 16384, "time" : "00:30:00"}
else:
Expand Down

0 comments on commit dbbf12c

Please sign in to comment.