Different loss in two machnes

My code is working on two PCs with keras.
But when am runnng the same code in same PCs with same pytorch code, in one of them its working like keras, but not in the second!

Cuda version in both: 10.1
Pytorch version in both: 1.7.0
Python and every environment variables are the same.
Very weired!

Any help is appreciated.