Torch.multiprocessing: how to "reuse buffers passed through a Queue"?

Same here… Would appreciate if somebody can share insights on this.

Also, pointers to properly optimized code that uses torch.multiprocessing and multiprocessing.Queue would be good. Of course one can find some examples by googling, but it is not clear whether these would be following “best practices”.

Thanks!