Open frazane opened 5 days ago
After some investigation there also seem to be an issue when using np.linalg.norm
inside of numba gufuncs. Substituting it with a custom jitted function improves import time considerably (not sure about performance impact).
Could be related to #68 as we could have fewer numba gufuncs
Importing the library seems to be significantly slowed down by numba, see output of
This is likely related to how
guvectorize
works. It has two modes and we're using "eager, decoration-time compilation". In other words, we're compiling functions during import.Potential solutions?