File tree Expand file tree Collapse file tree 3 files changed +14
-1
lines changed
tools/submission/submission_checker Expand file tree Collapse file tree 3 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -127,6 +127,11 @@ def loadgen_errors_check(self):
127127 return True
128128
129129 def dataset_check (self ):
130+ if self .config .skip_dataset_size_check :
131+ self .log .info (
132+ "%s Skipping dataset size check" , self .path
133+ )
134+ return True
130135 qsl_total_count = self .mlperf_log ["qsl_reported_total_count" ]
131136 expected_qsl_total_count = self .config .get_dataset_size (self .model )
132137 if qsl_total_count != expected_qsl_total_count :
Original file line number Diff line number Diff line change @@ -17,7 +17,8 @@ def __init__(
1717 skip_extra_files_in_root_check = False ,
1818 skip_extra_accuracy_files_check = False ,
1919 skip_all_systems_have_results_check = False ,
20- skip_calibration_check = False
20+ skip_calibration_check = False ,
21+ skip_dataset_size_check = False
2122 ):
2223 self .base = MODEL_CONFIG .get (version )
2324 self .extra_model_benchmark_map = extra_model_benchmark_map
@@ -34,6 +35,7 @@ def __init__(
3435 self .skip_extra_accuracy_files_check = skip_extra_accuracy_files_check
3536 self .skip_all_systems_have_results_check = skip_all_systems_have_results_check
3637 self .skip_calibration_check = skip_calibration_check
38+ self .skip_dataset_size_check = skip_dataset_size_check
3739 self .load_config (version )
3840
3941
Original file line number Diff line number Diff line change @@ -101,6 +101,11 @@ def get_args():
101101 action = "store_true" ,
102102 help = "skips the check that the calibration documentation should exist" ,
103103 )
104+ parser .add_argument (
105+ "--skip-dataset-size-check" ,
106+ action = "store_true" ,
107+ help = "skips dataset size check, only for backwards compatibility" ,
108+ )
104109 args = parser .parse_args ()
105110 return args
106111
@@ -121,6 +126,7 @@ def main():
121126 skip_extra_accuracy_files_check = args .skip_extra_accuracy_files_check ,
122127 skip_all_systems_have_results_check = args .skip_all_systems_have_results_check ,
123128 skip_calibration_check = args .skip_calibration_check ,
129+ skip_dataset_size_check = args .skip_dataset_size_check
124130 )
125131
126132 if args .scenarios_to_skip :
You can’t perform that action at this time.
0 commit comments