.venv/lib/python3.10/site-packages/whisper/timing.py:58: NumbaDeprecationWarning: The 'nopython' keyword argument was not supplied to the 'numba.jit' decorator. The implicit default value for this argument is currently False, but it will be changed to True in Numba 0.59.0. See https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit for details.
def backtrace(trace: np.ndarray):
This warning is related to the usage of the numba.jit
decorator in the code. The warning message is indicating that the nopython
keyword argument was not supplied explicitly to the decorator and that the default value for this argument will be changed to True
in Numba 0.59.0.
To avoid this warning, you can explicitly set the nopython
argument in the numba.jit
decorator to True
, like this:
@numba.jit(nopython=True)
def my_function():
# function body
This will ensure that the function is compiled in nopython mode, which can result in better performance and more efficient code.