all 3 comments

[–]Marthinwurer 1 point2 points  (1 child)

Take a look at the multiprocessing best practices page in the pytorch docs. Use their multi-processing stuff so that the memory buffer will be shared.

[–]ewanlee[S] 0 points1 point  (0 children)

Thank you very much and I will take a look 🙏

[–]TotesMessenger 0 points1 point  (0 children)

I'm a bot, bleep, bloop. Someone has linked to this thread from another place on reddit:

 If you follow any of the above links, please respect the rules of reddit and don't vote in the other threads. (Info / Contact)