When to set pin_memory to true?

Yes. As far as I know, that’s the exact use case for speeding up the transfer between the host and device.

21 Likes