in submitit/helpers.py [0:0]
def __call__(self) -> tp.List[tp.Any]: # pylint: disable=arguments-differ
if self.verbose:
done = sum(f.done() for f in self) # those were computed before checkpoint
print(f"Starting from {done}/{len(self.delayed_functions)}", flush=True)
return [
f.result() for f in self.delayed_functions
] # results all results one by one (by running the functions if not already done)