That’s what I was wondering too. But what I’m puzzled about is - I’m only sending a deepcopy of a slice from a big tensor to the gpu. So even if the new much smaller tensor is copied to the pinned memory, memory shouldn’t explode. However, it appears the big tensor is also sent to the pinned memory even though it is not sent to the GPU.
Is there any way to use same data on GPU across multiple processes?
Thanks!