-
Notifications
You must be signed in to change notification settings - Fork 99
Open
Labels
questionFurther information is requestedFurther information is requested
Description
checkpoint = (j < checkpoint_stop)
if checkpoint:
chk = Checkpointing(partition, batch)
task = Task(streams[i], compute=chk.checkpoint, finalize=chk.recompute)
del chk
else:
def compute(batch: Batch = batch, partition: nn.Sequential = partition) -> Batch:
return batch.call(partition)
task = Task(streams[i], compute=compute, finalize=None)
del compute
When I used the second method of compute not checkpoint, I found my the effect of my network become worse and it is proportional to the number of divisions.
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested