Pin_memory behavior on different machines


I use pin_memory to transfer tensors between cpu and gpu. In one machine, I see improvement on transfer speed when setting pin_memory is true but on the other machine, it is degrading the speed. Both machines have V100 gpus. First one is on the cloud and the second one is a local machine. Any idea what could be the reason?