Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: jit-compile recombined fast_lambdify function #361

Merged
merged 7 commits into from
Dec 1, 2021

Conversation

redeboer
Copy link
Member

@redeboer redeboer commented Dec 1, 2021

#348 introduced a bug: the recombined function was not JIT-compiled, which significantly slowed down performance. This was temporarily avoided in #359.

GitHub Action b920c77 (no JIT) 80e542c (with JIT)
ci-docs 9m 6s 7m 21s
pytest-cov 2m 10s 1m 20s

@redeboer redeboer added the 🐛 Bug Something isn't working label Dec 1, 2021
@redeboer redeboer added this to the 0.4.0 milestone Dec 1, 2021
@redeboer redeboer self-assigned this Dec 1, 2021
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@redeboer redeboer force-pushed the speed-up-fast-lambdify branch from 2b5c92e to b920c77 Compare December 1, 2021 15:03
@redeboer redeboer changed the title Speed up fast lambdify fix: JIT-compile returned fast_lambdify function Dec 1, 2021
@redeboer redeboer changed the title fix: JIT-compile returned fast_lambdify function fix: JIT-compile fast_lambdify output Dec 1, 2021
@redeboer redeboer changed the title fix: JIT-compile fast_lambdify output fix: jit-compile fast_lambdify output Dec 1, 2021
@redeboer redeboer changed the title fix: jit-compile fast_lambdify output fix: jit-compile recombined fast_lambdify function Dec 1, 2021
@redeboer redeboer merged commit 4a69c19 into ComPWA:main Dec 1, 2021
@redeboer redeboer deleted the speed-up-fast-lambdify branch December 1, 2021 15:30
redeboer added a commit that referenced this pull request Dec 7, 2021
* docs: use fast lambdify in usage notebook step 3
* fix: add remaining symbols to sub_expression dict
* fix: include min and max in complexity interval
* fix: jit-compile recombined fast_lambdify function
* fix: return unsplit expression if max_complexity is 0
* refactor: extract jit_compile function
* style: improve function order definition in sympy module
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant