Unlocking your CPU cores in Python

How to use all your CPU cores in Python? Due to the Global Interpreter Lock (GIL) in Python, threads don’t really get much use of your CPU cores.

Instead, use multiprocessing!

Process pools are beginner-friendly but also quite performant in many situations. Don’t fall into some of the many traps of multiprocessing though, this video will guide you though it.


#DataScientist, #DataEngineer, Blogger, Vlogger, Podcaster at http://DataDriven.tv . Back @Microsoft to help customers leverage #AI Opinions mine. #武當派 fan. I blog to help you become a better data scientist/ML engineer Opinions are mine. All mine.