Skip to content
This repository was archived by the owner on Apr 19, 2023. It is now read-only.

make GarbageCollection a default #191

Open
DerThorsten opened this issue Aug 19, 2019 · 0 comments
Open

make GarbageCollection a default #191

DerThorsten opened this issue Aug 19, 2019 · 0 comments
Assignees

Comments

@DerThorsten
Copy link
Collaborator

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')
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants