PyBaMM icon indicating copy to clipboard operation
PyBaMM copied to clipboard

test numba to speed up `convert_to_python=True`

Open martinjrobins opened this issue 3 years ago • 2 comments

Summary

Might be faster using convert_to_python if we use numba to compile it....? would help with the idklu solver. The other option to speed this one up is #1863. But this is easier so I want to give this one a go first

Motivation

Trying to speed up the ida solver so we can use its superior event handling

martinjrobins avatar Dec 17 '21 17:12 martinjrobins

info on sparse matrix support for numba: https://github.com/numba/numba-scipy/issues/29

martinjrobins avatar Dec 17 '21 17:12 martinjrobins

could try this: http://csr.lenskit.org/en/stable/

martinjrobins avatar Dec 17 '21 17:12 martinjrobins

@martinjrobins Is this relevant anymore?

kratman avatar Mar 22 '24 19:03 kratman

It looks like there hasn't been a reply in 30 days, so I'm closing this issue.

github-actions[bot] avatar Apr 22 '24 00:04 github-actions[bot]