aitune.torch.task.profiling.measuring_stop_strategy
aitune.torch.task.profiling.measuring_stop_strategy
Measuring stop strategies for profiling.
Module Contents
Classes
API
Strategy when to stop collecting measurements for given batch size.
Get events to use for measuring stop strategy.
Check if the measurement should be stopped.
Parameters:
List of profiling results events for a one measurement.
Returns: bool
True if the measurement should be stopped, False otherwise.
Bases: MeasuringStopStrategy
Strategy to stop collecting measurements after a given number of steps.
Get final measured events after should_stop() has returned True.
Check if the measurement should be stopped.
Bases: MeasuringStopStrategy
Strategy to stop collecting measurements after a stable sliding window has been collected.
Get events to use for measuring stop strategy.
Check if the measurement should be stopped.