Mava
Mava copied to clipboard
[FEATURE] Terminate experiment in case of error
Feature
Terminate an experiment when one of the nodes has an error. This feature will be helpful in case of running multipple experiments, in case one of the experiment had an error won't just stack there and it will be immediatly terminated so the pipeline keep progressed.
Proposal
Catch if there is an error during running an experiment and call terminate function to stop the experiment.
Mandatory checklist before making a PR
- [ ] The success criteria laid down in āDefinition of doneā are met.
- [ ] Code is documented - docstrings for methods and classes, static types for arguments.
- [ ] Code is tested - unit, integration and/or functional tests are added.
- [ ] Documentation is updated - README, CONTRIBUTING, or other documentation.
- [ ] All functional tests are green.
- [ ] Link experiment/benchmarking after implementation (optional).