Your input yields only two probabilities != 0 for the logits tensor([ 14.6630, 111.6700]):
out = F.softmax(x, dim=0)
print(out[out!=0.])
> tensor([7.4269e-43, 1.0000e+00])

which causes the issue.
Since the magnitude is large [-60.9540, 111.6700], I’m unsure if you can avoid this issue using float32, so you might need to convert the logits to float64 by calling tensor.double() to tensor.to(torch.float64).