Since you are resetting the requires_grad attribute to True after the forward pass, so after the computation graph was already created, you most likely won’t get the gradient calculation for this particular parameter anymore.
Try to reset it before the forward pass and check the grad again.