No .detach() is out of place so it won’t change the others.
Is there any place where you get something that does not require gradients and have to set requires_grad again? no right?
In that case, what are the gradients you get? Maybe the gradient of your net are actually 0?