Hi,
There is no automatic call to backward. And this can also be a previous call to autograd.grad.
Can you share the code around your main training loop. Or a small code sample (30-40 lines) that can reproduce the error if you can do so?