Hi,
It means that the first nan to appear in this backward pass was in the backward pass of the Smooth L1 Loss that you’re using.
If this was the last Function, maybe the loss value is nan already? Or it is evaluated at a point where the gradient will lead to nan.