Specify retain_graph=True not working for RuntimeError: Trying to backward through the graph a second time

Which posts suggested this as a solution as it’s generally wrong?

You might be running into this issue.