3 ms·
After numba’ing several nontrivial pieces of numpy code in my life, you might as well just rewrite it in nopython mode for Cython unless it’s very trivial stuff
by toxik 5y ago
After numba’ing several nontrivial pieces of numpy code in my life, you might as well just rewrite it in nopython mode for Cython unless it’s very trivial stuff. Numba errors and partial coverage of numpy is a huge time sink in my experience.
- a-dub 5y agoit gets even more fun when you need to support both mkl and standard numpy libraries, as well as several bit widths. but it can be done and goes to show that it's not going to be putting optimization experts out of work yet. reading about the state of autograd libraries in julia seems to indicate the same.