The same condition. On Ubuntu, I got:
tensor([[ 3.0335e-01,  1.9162e+05, -4.3614e+31,  3.7255e+04, -1.5090e+23,
         -6.4485e+34,  1.0367e+34,         nan],
        [ 3.0325e-01, -7.7402e+05,  1.0389e+31,  4.2792e+03,  6.0954e+23,
         -7.4128e+33, -4.1879e+34,         nan],
        [ 3.0344e-01, -1.2243e+06, -5.4160e+30,  6.7047e+04,  9.6416e+23,
         -1.1607e+35, -6.6243e+34,         nan],
        [ 3.0325e-01,  1.3349e+06,  7.1314e+30,  6.7045e+04, -1.0512e+24,
         -1.1604e+35,  7.2223e+34,         nan]], grad_fn=<AddmmBackward>)

On Colab:
tensor([[ 0.0102, -0.4440, -0.1605,  0.7313,  0.0790, -0.1432,  0.0417,  0.3183],
        [ 0.1001, -0.4158, -0.3773,  0.4166, -0.1402, -0.1112, -0.6095,  0.1632],
        [ 1.1343,  0.0887, -0.0027,  0.5545, -0.0784, -0.4480, -0.0672, -0.0167],
        [ 0.4606,  0.1722, -0.5206, -1.2638,  1.6261, -0.0075, -0.1805, -0.3621]],
       grad_fn=<AddmmBackward>)