Hi,
If part of the .grad field is populated properly, then it means that the autograd worked well.
So what most likely happens is that you don’t have gradients flowing back for that part of the weights for some reason. Maybe part of the input is ignored? Or some weights are not used?