Skip to content
Snippets Groups Projects
Commit e50f157b authored by Yifan Zhao's avatar Yifan Zhao
Browse files

Relax accuracy check in profiler for a bit more (0.025)

parent 717e55dc
No related branches found
No related tags found
No related merge requests found
...@@ -151,7 +151,7 @@ class Config: ...@@ -151,7 +151,7 @@ class Config:
def update_profile_results(self, speedup: float, qos: float, base_qos: float): def update_profile_results(self, speedup: float, qos: float, base_qos: float):
recorded_base_qos = self.qos + self.qos_loss recorded_base_qos = self.qos + self.qos_loss
if abs(recorded_base_qos - base_qos) > 0.02: if abs(recorded_base_qos - base_qos) > 0.025:
raise ValueError( raise ValueError(
f"Baseline QoS mismatch. Original: {recorded_base_qos}, measured: {base_qos}" f"Baseline QoS mismatch. Original: {recorded_base_qos}, measured: {base_qos}"
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment