Hi,
This is warning, not an error right?
This is just to tell you that you access the .grad field of a Tensor whose .grad field will never be populated. You can find where the warning is raised to find where you do this access.