Skip to content

Commit 379ee53

Browse files
Fix delta perf check (#1804)
1 parent 3fb6c3e commit 379ee53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/submission/submission_checker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2612,7 +2612,7 @@ def check_compliance_acc_dir(test_dir, model, config):
26122612
is_valid = False
26132613
break
26142614
else:
2615-
required_delta_perc = config.get_delta_perc(model, acc_types)
2615+
required_delta_perc = config.get_delta_perc(model, acc_type[0])
26162616
delta_perc = abs(1 - acc_baseline[acc_type] / acc_compliance[acc_type]) * 100
26172617
if delta_perc <= required_delta_perc:
26182618
is_valid = True

0 commit comments

Comments
 (0)