Hi,
so you are suggesting that by default, any variable is sort of requires_grad = False?
Do I need to explicitly mention, requires_grad = True even for model parameters?
Actually I tried that already, by setting requires_grad = True  for each model parameter, but the same problem persists.
I’m a bit confused now. Shouldn’t you be calling the.grad function http://pytorch.org/docs/master/_modules/torch/autograd.html#grad 3  in order to compute the gradients? I was wondering how did you end up with the gradients automatically?
Thanks a lot in advance!