Raising a breaking error when a sweep function crashes

hey, is it possible to raise a breaking error that terminates my whole computation when the underlying train function of a sweep encounters an error? i see that sweep tries to handle errors in a non-breaking way based on that whole “we dont want your stuff to crash” philosophy, but I would rather prefer to immediately break if any of my sweep instances encounters an error, because i have kind of a “zero-tolerance” philosophy on errors xD.
thanks!

Hello @jcnumeus !

Were you looking for early termination of sweeps?. When the early stopping is triggered, the agent stops the current run and gets the next set of hyperparameters to try. Here is an example of a sweep config with early termination. Let me know if that helps out with your needs.

Hi Jan-Christian, since we have not heard back from you we are going to close this request. If you would like to re-open the conversation, please let us know!

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.