Hmm, does it help to call gc.collect()
between steps? You could get an idea of which tensors are leaking by using this trick.
Hmm, does it help to call gc.collect()
between steps? You could get an idea of which tensors are leaking by using this trick.