You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wonder if there are any plans to provide a way to pause/resume ML.NET AutoML experiments (with exiting the ML.NET process).
One can use AutoML to run experiments and set duration limit in seconds. However, this requires the process running for the entire duration of the experiment.
Has anyone tried running an experiment and implementing some sort of pause/resume functionality?
Use Case: Pause an experiment and resume after reboot
Developer starts an AutoML Regression experiment that should run for 20 hours
8 hours into the experiment developer pauses the experiment
ML.NET persists the current state and results of the experiment
Developer shutdowns or reboots the OS
Developer resumes the experiment
ML.NET picks up where it left of and continues the experiment until it has run the whole 20 hours
The real use case for me is running long experiments at night. I'm not using my computer between 02:00 and 07:00. How can I run experiment for those 5 hours, pause the experiment and continue the next night?
I would like to add that it would be great to have "skip current trial" and "stop training" functionality alongside the pause/resume mentioned above, ideally accessible through the experiment's IMonitor interface.
Sometimes there are certain trials in an experiment that run significant longer than the previous ones. In those cases I would like to implement a logic that skips that particular trial, because that probably doesn't worth the time spending on it, hoping that the next trial would run normally within the time limits I expect.
I'll include my recent logs to illustrate my point:
We are exploring the option of continue training in AutoML now. And for excessive long trials, it most likely happens in tree-base trainers when the NumberOfTree or NumberOfIteration is large. I'll push a PR to mitigate this.
Activity
briacht commentedon Jul 9, 2021
This is something we are working on in tooling right now as we continue to improve our AutoML experience!
@LittleLittleCloud can provide more details if you have additional questions.
andrasfuchs commentedon Sep 12, 2022
I would like to add that it would be great to have "skip current trial" and "stop training" functionality alongside the pause/resume mentioned above, ideally accessible through the experiment's IMonitor interface.
Sometimes there are certain trials in an experiment that run significant longer than the previous ones. In those cases I would like to implement a logic that skips that particular trial, because that probably doesn't worth the time spending on it, hoping that the next trial would run normally within the time limits I expect.
I'll include my recent logs to illustrate my point:
You can see here that the 15th and 17th trials ran much longer than the others.
LittleLittleCloud commentedon Sep 12, 2022
We are exploring the option of continue training in AutoML now. And for excessive long trials, it most likely happens in tree-base trainers when the
NumberOfTreeorNumberOfIterationis large. I'll push a PR to mitigate this.rosebyte commentedon Sep 7, 2026
closing as fixed by 6335