(self, *args: Any, **kwargs: Any)
return submitit.helpers.DelayedSubmission(self, *args, **kwargs)
Resubmit the current callable at its current state with the same initial arguments.
Resubmit the current callable at its current state with the same initial arguments.
Resubmit the current callable at its current state with the same initial arguments .
def checkpoint(self, *args: Any, **kwargs: Any) -> Any:
        """Resubmit the current callable at its current state with the same initial arguments."""
        # lazy import to ensure plugin discovery remains fast
        import submitit

        return submitit.helpers.DelayedSubmission(self, *args, **kwargs)
def checkpoint ( self , * args : Any , * * kwargs : Any ) -> Any : # lazy import to ensure plugin discovery remains fast import submitit return submitit . helpers . DelayedSubmission ( self , * args , * * kwargs )