File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
mlperf_logging/rcp_checker Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -232,7 +232,7 @@ def _prune_rcps(self):
232
232
# Step 1
233
233
# Find point with fastest convergence and prune all point with smaller batch size
234
234
# In that way the min batch size point will have the fastest convergenece
235
- fastest_conv = min (min_epochs , key = lambda rc : rc ['Min Epochs ' ])
235
+ fastest_conv = min (min_epochs , key = lambda rc : rc ['RCP Mean ' ])
236
236
min_epochs = list (filter (lambda rc : rc ['BS' ] >= fastest_conv ['BS' ], min_epochs ))
237
237
238
238
# Step 2
@@ -249,7 +249,7 @@ def _prune_rcps(self):
249
249
rcp_max = min_epochs [i + 1 ]
250
250
bs = min_epochs [i ]['BS' ]
251
251
name , rcp = self ._create_interp_rcp (bs , rcp_min , rcp_max )
252
- if min_epochs [i ]['Min Epochs ' ] > rcp ['Min Epochs ' ]:
252
+ if min_epochs [i ]['RCP Mean ' ] > rcp ['RCP Mean ' ]:
253
253
del min_epochs [i ]
254
254
i = i - 1
255
255
list_len = list_len - 1
You can’t perform that action at this time.
0 commit comments