Commit efe3dff3 authored by Maiterth, Matthias's avatar Maiterth, Matthias Committed by Brewer, Wes
Browse files

Adjusted gpu_util to consider node utilization + linter fixes

parent b633cf89
Loading
Loading
Loading
Loading
+6 −8
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@ or:
"""
from raps.job import Job, job_dict
import numpy as np
import math, random, json
import math


class HPL:
@@ -43,7 +43,7 @@ class HPL:
                results = self._run_hpl_model(**test)

                total_time = results["T_total"]
                gpu_util = results["gpu_util"]
                gpu_util = self.config_map[self.args.system]['GPUS_PER_NODE'] * results["gpu_util"]
                cpu_util = results["cpu_util"]

                num_samples = math.ceil(total_time / trace_quanta) + 1
@@ -111,8 +111,6 @@ class HPL:


if __name__ == "__main__":
    import json
    import numpy as np

    # Mock minimal configuration values to mimic ExaDigiT runtime
    class DummyHPL(HPL):