2024/09/28 –, 4F Track4
This talk explores the intersection of Python and Cython, emphasizing how understanding Cython can deepen one's knowledge of the Python Virtual Machine (PVM) and Python's performance characteristics.
In this talk attendees will gain insights into the PVM's inner workings, Cython's role in enhancing performance, and practical tips for integrating Cython into their Python projects, especially for machine learning optimization.
Agenda
- How Python Works?
- How Cython Works? Converting Python code to C Code (Generated by Cython) and compiling them separately (10mins) add Different cases of same function explaining the difference in cython.
- How to integrate C Code into Python using Cython
- Python Objects
- Questions (5Mins)
I work with computer vision models at scale so it is my duty to have high performance code.
When i was learning about High Performance coding, as python was my first and proffered language i stumbled upon Cython. It helped to improve my codes performance as well as improved my working knowledge of python.
PVM's inner workings
Cython's role in enhancing performance
Generating autogenerated C Code from Python using Cython
Python Knowledge C/C++ is helpful but not required.
オーディエンスの経験レベル –Intermediate
発表の言語 –English
発表資料の言語 –English
Abhik is a Director, Machine Learning Engineer at Cloudastructure, a cloud-based video surveillance platform.
He has worked extensively with Computer Vision Models at scale, which has led him to deeply care about the performance of the code.