Open DerThorsten opened 5 years ago
we should make the behavior off the GarbageCollection callback default and make this callback obsolete. We should proidve an API like the following and have reasonable defaults:
GarbageCollection
trainer.garbage_collect(collect_every=(1, 'iteration'))
Power users can disable gc via
trainer.garbage_collect(collect_every='never')
we should make the behavior off the
GarbageCollection
callback default and make this callback obsolete. We should proidve an API like the following and have reasonable defaults:Power users can disable gc via