Parallelism in Python

Channel:
Subscribers:
725,000
Published on ● Video Link: https://www.youtube.com/watch?v=QRF1637j6NU



Duration: 17:48
9,874 views
239


Python as a language has enjoyed a decade of usage in both industry and academia. It has been the most popular abstractions to scientific computing and machine learning, yet the base remains single-threaded. Just how is productivity in these fields being maintained with a single-threaded language?

"Python has a terrible reputation when it comes to its parallel processing capabilities. Ignoring the standard arguments about its threads and the GIL (which are mostly valid), the real problem with parallelism in Python isn't a technical one, but a pedagogical one. The common tutorials surrounding Threading and Multiprocessing in Python, while generally excellent, are pretty “heavy.” They start in the intense stuff and stop before they get to the really good, day-to-day useful parts.

The talk will highlight the impact of Global Interpreter Lock on multithreaded programs and include code snippets to compare single and multithreaded programs using a real life example. Then, we move on to the concept of multiprocessing and the address its benefits over multithreading and mention some examples for it. The talk will end with an application of multiprocessing in the area of Computer Vision and how it speeds up the completion of a task by 82%.

Moreover this talks aims to inspire both novices and experts to look more into this subject and create something that could possibly be of benefit to the entire python community around the world."

EVENT:

Kiwi Pycon X 2019

SPEAKER:

My name is Rounak Vyas, I’m currently a junior at SRM University Chennai, India. I’m majoring in Information Technology. I’m a student researcher at Next Tech Lab and also a member of the Artificial Intelligence Research Team in the Association of Computing Machinery - SRM Chapter. My area of research involves working with computer vision models and multi-agent reinforcement learning, I’ve been a speaker at two Tech conferences in India: PyData KTR and ChennaiPy, talking about the parallel processing capabilities of python.

PUBLICATION PERMISSIONS:

Original video was published with the Video licence: CC BY-SA 4.0 (https://creativecommons.org/licenses/by-sa/4.0/)

ATTRIBUTION CREDITS:

Original video source: https://www.youtube.com/watch?v=VwE49XvrGx0







Tags:
python
parallelism in python
python programming
programming