Open chadacious opened 2 weeks ago
Change line to
missing: float = np.nan,
and this will work
Change line to
missing: float = np.nan,
and this will work
Doing that gives the next error
C:\Users\USER\AppData\Local\Programs\Python\Python312\Lib\site-packages\torch\nested\_internal\nested_tensor.py:417: UserWarning: Failed to initialize NumPy: _ARRAY_API not found (Triggered internally at ..\torch\csrc\utils\tensor_numpy.cpp:84.)
This is with the latest version of the package 0.0.15.
Downgrading numpy worked for me (keeping the original np.NaN as is)
pip uninstall numpy
pip install numpy==1.26.3
Using pipx, I successfully downgraded numpy with the following command from my notebook:
!pipx inject insanely-fast-whisper numpy==1.26.4 --force
Attempting to run this after install I get:
Still looking into if downgrading NumPy will resolve the issue.