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

Check numba speedup #40

Open
5 tasks done
grzanka opened this issue Aug 17, 2022 · 2 comments
Open
5 tasks done

Check numba speedup #40

grzanka opened this issue Aug 17, 2022 · 2 comments
Assignees

Comments

@grzanka
Copy link
Collaborator

grzanka commented Aug 17, 2022

  • add another implementation of solver, just for testing numba code. This would probably violate DRY as I expect to have a plain copy of the current python implementation. In other words as the first step make a 1:1 copy of the python implementation from Rewrite initial_recombination.py in pure python #38 and call it numba_something
  • add another entry for numba in solver abstraction layer
  • add a short test suite for numba (or include numba in tests mentioned here Rewrite initial_recombination.pyx to pure Python #28 (comment)
  • check numba speedup after refactoring of python code (i.e. extracting inner loop code into separate method)
  • check numba speedup for plain python method adding various types of decorators

For numba testing, I suggest moving to Ares PLGRID computing node with 48 cores.

@grzanka
Copy link
Collaborator Author

grzanka commented Aug 17, 2022

For testing strategy evaluate and write down in the issue comment here:

@grzanka
Copy link
Collaborator Author

grzanka commented Aug 17, 2022

Consider removing if debug in numba version as numba may be much slower in the code containing conditional statements

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants