If you check the gradient of the parameters:
for p in model.parameters():
    print(p.grad)

You can see the gradients for one of the parameters are all 0 which means that variable will not get updated during back pass.
You need to check why the gradients are 0s for that variable.