I’ve a piece of code that’s running fine with torch v1.4.0, but that fails with torch v1.6.0 with error:
“RuntimeError: Trying to backward through the graph a second time…”
Is it something known/expected within this update ?
The code is a basic linear layer with a custom but complex loss function, that is implemented as an nn.Module (too complex to copy here, sorry…)
Thank you for any hint about what happened during these updates that may relate to this error !