initialize fields
This commit is contained in:
parent
0c504e3f69
commit
4f1bc84fd9
|
@ -33,6 +33,8 @@ class ChainProgress:
|
|||
self.parent = parent
|
||||
self.step = start
|
||||
self.total = 0
|
||||
self.stage = 0
|
||||
self.tile = 0
|
||||
|
||||
def __call__(self, step: int, timestep: int, latents: Any) -> None:
|
||||
if step < self.step:
|
||||
|
|
|
@ -57,6 +57,7 @@ class WorkerContext:
|
|||
self.initial_retries = retries
|
||||
self.retries = retries
|
||||
self.timeout = timeout
|
||||
self.callback = None
|
||||
|
||||
def start(self, job: JobCommand) -> None:
|
||||
# set job name and type
|
||||
|
|
Loading…
Reference in New Issue