Hi,
I can’t reproduce that, I get exact same values for both on my machine.

Which version of pytorch are you using?
How did you installed pytorch?

I think I remember issues where mm operations were not behaving properly for some wrongly installed/incompatible blas libraries.