MCPcopy
hub / github.com/huggingface/transformers / is_done

Method is_done

src/transformers/utils/hub.py:952–953  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

950 self.jobs = [] if jobs is None else jobs
951
952 def is_done(self):
953 return all(job.done() for job in self.jobs)
954
955 def wait_until_done(self):
956 futures.wait(self.jobs)

Callers 2

_push_from_checkpointMethod · 0.80
_finish_current_pushMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected