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

Parallelise assignment functions #78

Closed
johnlees opened this issue May 6, 2020 · 5 comments · Fixed by #90
Closed

Parallelise assignment functions #78

johnlees opened this issue May 6, 2020 · 5 comments · Fixed by #90
Labels
code Changes to the coding implementation enhancement New feature or request

Comments

@johnlees
Copy link
Member

johnlees commented May 6, 2020

In models.py can do chunks at a time with sharedmem

@johnlees johnlees added code Changes to the coding implementation enhancement New feature or request labels May 6, 2020
@nickjcroucher
Copy link
Collaborator

Possible with numba pthreads, to maintain optimisation of each process? Numba seems to be incompatible with multiprocessing at the moment. I phrase as a question, as I've been trying without anything to hold up as evidence of this being possible.

@nickjcroucher
Copy link
Collaborator

Functioning example for refined models: 8cb08c9.

@nickjcroucher
Copy link
Collaborator

Wrong commit - see 513729a. Pthreads shares read-only so no good for matrix translation.

@nickjcroucher
Copy link
Collaborator

Just recording a thought - in models.py, plot re-assigns sampled points - currently not multi-threaded.

@nickjcroucher
Copy link
Collaborator

Need to think about this with regard to numba: https://numba.pydata.org/numba-doc/latest/user/faq.html.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code Changes to the coding implementation enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants