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

Allow option to turn off numba parallelization #1153

Open
alex-l-kong opened this issue Sep 3, 2024 · 0 comments
Open

Allow option to turn off numba parallelization #1153

alex-l-kong opened this issue Sep 3, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@alex-l-kong
Copy link
Contributor

Describe the bug

On some devices, running relabel_segmentation with nb.njit(parallel=True) will crash the kernel. Setting parallel=False should fix this issue. There should be an option to allow users to turn off parallelization without having to manually copy over code.

Expected behavior

Reliability should be enforced and the code should run, even if a suboptimal routine needs to be used.

To Reproduce

It's most frequently seen on a 16 GB RAM computer. I think it's best to limit the number of times we tell users "get a bigger computer", as 16 GB is small but not unheard of.

@alex-l-kong alex-l-kong added the bug Something isn't working label Sep 3, 2024
@srivarra srivarra added this to the v0.8.0 Release milestone Oct 3, 2024
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

No branches or pull requests

2 participants