Re:Python stands to lose its GIL, and gain a lot of speed
by isoprophlex on Sunday October 17, 2021 @02:19PM
(#28898499)
Yeah, I had something similar.
I wanted "as you wait for the GPU to churn through this batch, start reading the next batch from disk & preprocessing it on the CPU"
Getting this to work turned out so ass backwards it made me sad
Also I pity the fool who tries to connect a debugger to code using multiprocessing.Pool()...
That was a really sad moment, and I've never felt good about python since.