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

No-Numba mode #8

Open
maurosilber opened this issue Nov 24, 2020 · 1 comment
Open

No-Numba mode #8

maurosilber opened this issue Nov 24, 2020 · 1 comment

Comments

@maurosilber
Copy link
Collaborator

Can we replace NBKODE_NONUMBA=0 with NUMBA_DISABLE_JIT=0? Or are we doing something more?

NUMBA_DISABLE_JIT
Disable JIT compilation entirely. The jit() decorator acts as if it performs no operation, and the invocation of decorated functions calls the original Python function instead of a compiled version. This can be useful if you want to run the Python debugger over your code.

@hgrecco
Copy link
Owner

hgrecco commented Nov 24, 2020

The main difference is that using NBKODE_NONUMBA allows running numbakit-ode without having numba installed. This is certainly debatable (it is called numbakit after all). But my feeling is the cost is small (an environment variable and a compatibility module).

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