mlcommons/algorithmic-efficiency

Skip eval on train and test for self-reporting results

Open

#725 opened on Mar 26, 2024

 (2 comments) (0 reactions) (0 assignees)Python (76 forks)auto 404
Good First Issue✨ Feature Request

Repository metrics

Stars
 (422 stars)
PR merge metrics
 (PR metrics pending)

Description

Feature request: allow users to skip eval on train and test

Evaluating on the training and test sets is time-consuming and not necessary for self-reporting results. We should add a flag that allow the user to skip eval on these datasets, to make scoring faster.

Accordingly, in this scenario we should modify:

goals_reached = (
              train_state['validation_goal_reached'] and
              train_state['test_goal_reached'])

into:

goals_reached = (train_state['validation_goal_reached'])

This would speed up self-evalution even more, by stopping training when validation target is reached, avoiding unnecessary usage of computational resources.

Contributor guide