From 6d2fcb8171b043ffe69051603389c6c6a534041a Mon Sep 17 00:00:00 2001 From: Nikolas Schmitz <nikschmitz@ukaachen.de> Date: Tue, 13 Feb 2024 11:18:15 +0100 Subject: [PATCH] Intel fix --- experiment_impact_tracker/cpu/intel.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/experiment_impact_tracker/cpu/intel.py b/experiment_impact_tracker/cpu/intel.py index bdd6a2f..61e1226 100755 --- a/experiment_impact_tracker/cpu/intel.py +++ b/experiment_impact_tracker/cpu/intel.py @@ -551,12 +551,13 @@ def get_rapl_power(pid_list, logger=None, **kwargs): ) if total_intel_power < total_attributable_power: - raise ValueError( - "For some reason the total intel estimated power is less than the attributable power. This " - "means there is an error in computing the attribution. Please re-open " - "https://github.com/Breakend/experiment-impact-tracker/issues/38 and add the trace for this " - "warning." - ) + total_intel_power = total_attributable_power + # raise ValueError( + # "For some reason the total intel estimated power is less than the attributable power. This " + # "means there is an error in computing the attribution. Please re-open " + # "https://github.com/Breakend/experiment-impact-tracker/issues/38 and add the trace for this " + # "warning." + # ) data_return_values_with_headers = { "rapl_power_draw_absolute": total_intel_power, -- GitLab