Make Python code 1000x Faster with Numba

Jack of Some
Jack of Some
444.5 هزار بار بازدید - 5 سال پیش - In this video I introduce
In this video I introduce Numba which can make your python code 1000x faster. Numba is a just in time compiler for a subset of Python and Numpy. The first half of the video is dedicated to a basic intro and to highlighting a number of very common mistakes people make when using Numba. The remaining video show how to use Numba in a real world-ish simulation problem and shows the code running 1000x faster with Numba in both single and multithreaded cases, and concludes with a "reading list" for learning more about Numba. Twitter: twitter.com/safijari Find the notebook here: gist.github.com/safijari/fa4eba922cea19b3bc6a693fe… MY OTHER VIDOES: ○ A.I. Learns to play Snake    • Neural Network Learns to Play Snake u...   ○ 5 Common Python Mistakes:    • 5 Things You're Doing Wrong When Prog...   ○ 5 Amazing Python Libraries:    • Five Amazing Python Libraries you sho...   ○ Making Python fast:    • Can VSCode be a reasonable Spacemacs ...   ○ Learning programming language Julia:    • How to learn Julia, a new programming...   Deeper topics to discover here numba.pydata.org/numba-doc/dev/user/5minguide.html… Supported python and numpy features numba.pydata.org/numba-doc/dev/reference/pysupport… numba.pydata.org/numba-doc/dev/reference/numpysupp… Important differences from python numba.pydata.org/numba-doc/dev/reference/pysemanti… Defining types to compile at definition time: numba.pydata.org/numba-doc/latest/user/jit.html#ea… Function factories numba.pydata.org/numba-doc/dev/user/generated-jit.… Experimental version of jitted classes numba.pydata.org/numba-doc/dev/user/jitclass.html Debugging numba.pydata.org/numba-doc/dev/user/troubleshoot.h… Dealing with types numba.pydata.org/numba-doc/dev/reference/types.htm… Ahead of time compilation for deployment numba.pydata.org/numba-doc/dev/user/pycc.html Using approximate fastmath numba.pydata.org/numba-doc/dev/user/performance-ti… Deeper control of threading via tbb and/or omp numba.pydata.org/numba-doc/dev/user/threading-laye… Easily put your computation on a GPU! numba.pydata.org/numba-doc/dev/cuda/index.html numba.pydata.org/numba-doc/dev/roc/index.html F.A.Qs numba.pydata.org/numba-doc/dev/user/faq.html #numba #programming #python
5 سال پیش در تاریخ 1398/10/07 منتشر شده است.
444,541 بـار بازدید شده
... بیشتر