Resumable model execution #249
Replies: 2 comments 1 reply
-
One idea to avoid the disadvantages would be to provide an extra input to the mlcube, which refers to previous predictions. If the model is executed for the first time, then this would be an empty folder. The next time it would contain the predictions obtained from the previous execution. Advantages:
Disadvantages:
|
Beta Was this translation helpful? Give feedback.
-
Interesting! Resumable at the MLCubes level, or MLCubes task-level :I was first pointing to have a resumable execution at the MLCubes level, or MLCubes task-level: But I like the idea of resumability at any point during the execution: Resumable from any point:(Correct me if I am wrong: this functionality expects that the interruption is caused by something outside of the mlcube itself. If the mlcube itself fails and interrupts the pipeline, I can only think of a corrupt mlcube that should be replaced.) I like the idea of the extra input. We can investigate further to see what can be easy for mlcube authors. Quick thought: the extra input can be some integers referring to data indices. The cube also outputs the last data index it successfully processed.. AlternativeDo you think this can be helpful? |
Beta Was this translation helpful? Give feedback.
-
Hasasn suggested the possibility of caching predictions from model executions. This sparked a conversation on the topic of resumable model execution.
Feature:
Have predictions cached so that, if the model is interrupted mid-execution, it can be resumed next time.
Advantages:
Disadvantages:
Beta Was this translation helpful? Give feedback.
All reactions