Skip to content

Separate training/validation progress bars #12623

@ZhaofengWu

Description

@ZhaofengWu

🚀 Feature

Currently, there is a global progress bar for training + validation, and a validation progress bar during validation. It would be very helpful to have a separate training-only progress bar.

Motivation

  1. A global progress bar does not accurately estimate the time remaining because training and validation have different speed. A training-only progress bar at least gives us an unbiased estimate of the time remaining for the training stage.
  2. The n_total in the global training bar considers both training and validation batches. Having a training-only progress bar that displays the number of training batches is helpful for calculating gradient accumulation, distributed training nodes, etc.

Pitch

An option to either replace the global progress bar with a training-only progress bar, or to add a training-only progress bar.

cc @Borda @kaushikb11 @rohitgr7 @awaelchli @carmocca

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions