diff --git a/hpvm/projects/hpvm-profiler/hpvm_profiler/__init__.py b/hpvm/projects/hpvm-profiler/hpvm_profiler/__init__.py index 123a35a781f515a089598a10e1334fd7d6067cd3..88f74c9194bb105a2a731ed063aed7e2ac875e6a 100644 --- a/hpvm/projects/hpvm-profiler/hpvm_profiler/__init__.py +++ b/hpvm/projects/hpvm-profiler/hpvm_profiler/__init__.py @@ -121,7 +121,7 @@ class Config: def update_profile_results(self, speedup: float, qos: float, base_qos: float): recorded_base_qos = self.qos + self.qos_loss - if abs(recorded_base_qos - base_qos) > 1e-3: + if abs(recorded_base_qos - base_qos) > 0.02: raise ValueError( f"Baseline QoS mismatch. Original: {recorded_base_qos}, measured: {base_qos}" )