Matrix inversion fails on GPU (google Colab)

Does the error happen during the inverse or during the matmul in the print?