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

Added a bit more slack in accuracy validation (profiler)

parent c1de4884
No related branches found
No related tags found
No related merge requests found
......@@ -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}"
)
......
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