Browse Source

Merge pull request 'Increased timeout for not using the GPU to 4 hours' (#20) from feature/increased_gpu_timeout into master

Reviewed-on: #20
fix/no_alerts_var
B.E. Droge 10 months ago
parent
commit
3320c4d570
  1. 2
      roles/gpu_detector/files/warn_gpu_not_used

2
roles/gpu_detector/files/warn_gpu_not_used

@ -219,7 +219,7 @@ def main(): @@ -219,7 +219,7 @@ def main():
])
jobs = [line_to_job(l) for l in jobs.decode().split('\n') if l != '']
jobs = list(filter(lambda a: a != None, jobs))
long_jobs = filter(lambda j: j.delta.total_seconds() > 9000, jobs)
long_jobs = filter(lambda j: j.delta.total_seconds() > 14400, jobs)
message = []
for job in long_jobs:
gpus_usage = gpu_load(job)

Loading…
Cancel
Save