lkc:

Is there any way to use same data on GPU across multiple processes?


You can check the doc about this: https://pytorch.org/docs/stable/notes/multiprocessing.html#cuda-in-multiprocessing 2
Not sure about the memory… It does the same thing if you do c = b.clone() (I’m not 100% sure what deepcopy is doing).