You have the option to define early stopping criteria for both executions and Tasks, allowing you to halt their progression based on specific metadata values.
- Create a new execution or Task.
- In the Runtime section, check the box labeled ‘Set stop condition.’
- Define your early stopping rule; for instance, you can set a condition like ‘when accuracy is greater than 0.9.’
- Start your execution.
Valohai monitors the metadata for the specified key, such as ‘accuracy,’ and once its value exceeds 0.9, the execution will be automatically terminated.