File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed
Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change 11# numba-lock-cache
22
3- ## Intro
4-
5- numba-lock-cache monkey-patch the Numba caching mechanism
6- smartjit ` @jit ` decorator adds extra customization of when code execution should fall back to the interpreter. It works as follow:
7-
8- 1 . For jitted functions with cache (overloads), use the jitted function if available, and interpreted code otherwise
9- 2 . Add a ** dispatching** logic, an optional function to pass to the jit decorator, which will decide wether to use jit or not.
10-
11- ## Install
12-
13- numba-smartjit is available on PyPI and can be installed with the command below:
14-
15- ``` bash
16- pip install numba-smartjit
17- ```
18-
19- # numba-locking-cache
20-
213A Python package that monkey-patches Numba's caching mechanism to safely coordinate concurrent cache access using file locks.
224
235## Why?
You can’t perform that action at this time.
0 commit comments