inferno icon indicating copy to clipboard operation
inferno copied to clipboard

make GarbageCollection a default

Open DerThorsten opened this issue 5 years ago • 0 comments

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:

trainer.garbage_collect(collect_every=(1, 'iteration'))

Power users can disable gc via

trainer.garbage_collect(collect_every='never')

DerThorsten avatar Aug 19 '19 14:08 DerThorsten