3 ms·
PyTorch code using awful to reason about multiprocessing code for data loading could be rewritten to something much more sane with threads. There'd be no need t
by logicchains 3y ago
PyTorch code using awful to reason about multiprocessing code for data loading could be rewritten to something much more sane with threads. There'd be no need to do all kinds of ugly hacks to avoid unnecessary copying of large arrays between threads, as they could all simply share the same (read only) memory.