filmov
tv
Making Python Fast With Numba & Dask (Quick Example)

Показать описание
Let's make Python go fast.
1. Start with a (fake) signals processing workload using numpy on my laptop that takes ~10 seconds
2. 20X the data but run it in 5 seconds by changing one line of code with numba
3. 10X the data while still running in ~10 seconds with a dask cluster using just a few lines of code
4. Go really big. Simulate a real-time sensor and run it a whole bunch of times just by asking Coiled for a 100 node Dask cluster
No too shabby, right? Faster. More data. And very little additional code (which would confuse me, because I'm just copying this stuff, not writing it myself). And my 100 node cluster costs only $6.50/hour
This is based on Matthew Rocklin's High Performance Python screencast. I'll be copying more of his stuff filtered through the lens of someone who struggles to computer.
1. Start with a (fake) signals processing workload using numpy on my laptop that takes ~10 seconds
2. 20X the data but run it in 5 seconds by changing one line of code with numba
3. 10X the data while still running in ~10 seconds with a dask cluster using just a few lines of code
4. Go really big. Simulate a real-time sensor and run it a whole bunch of times just by asking Coiled for a 100 node Dask cluster
No too shabby, right? Faster. More data. And very little additional code (which would confuse me, because I'm just copying this stuff, not writing it myself). And my 100 node cluster costs only $6.50/hour
This is based on Matthew Rocklin's High Performance Python screencast. I'll be copying more of his stuff filtered through the lens of someone who struggles to computer.
Make Python code 1000x Faster with Numba
Making Python Fast With Numba & Dask (Quick Example)
Make Python 1000x Faster With One Line 🐍 ⏩ (Numba Tutorial)
Numba Library- Let's Make Python Faster
Numba JIT Compiler for Python and Numpy Code
High performance python with Numba: Speedup python code upto 375 times with easy to use Numba
Massively Speed-Up Python Code With Numba Compilation
Compiled Python is FAST
Make Python code 1000x Faster with Numba
Can Python Approach the Speeds of C?
High performance python with Numba : What is Numba and how & when should you use
Numba speeds up Python with ONE DECORATOR
Double the Speed of Your Python Code with Numba
Turn Python BLAZING FAST with these 6 secrets
Tutorial: CUDA programming in Python with numba and cupy
How To SPEED Up Python Code
Make Python 100x Faster Using One Line Numba Tutorial
does it go faster with numba and numpy?
Make Excel Worksheets run faster by using Python and Numba!
Speeding up Python code with Numba
PyHEP 2021: CUDA and Python with Numba
High-Performance Computing with Python: Numba Vectorize
Python is getting 5x FASTER 👩💻 #programming #technology #software #tech #code #python
The Fastest Way to Loop in Python - An Unfortunate Truth
Комментарии