You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running insanely-fast-whisper I get an error message as mentioned below.
However, pytorch with cuda version 12.4 support is installed.
Tested with this code:
import torch
print(torch.version.cuda)
What is the issue?
--------- Error message -------
Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "c:\Users\user.local\bin\insanely-fast-whisper.exe_main.py", line 7, in
File "C:\Users\user\pipx\venvs\insanely-fast-whisper\Lib\site-packages\insanely_fast_whisper\cli.py", line 130, in main
pipe = pipeline(
^^^^^^^^^
File "C:\Users\user\pipx\venvs\insanely-fast-whisper\Lib\site-packages\transformers\pipelines_init.py", line 1102, in pipeline
return pipeline_class(model=model, framework=framework, task=task, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\user\pipx\venvs\insanely-fast-whisper\Lib\site-packages\transformers\pipelines\automatic_speech_recognition.py", line 219, in init
super().init(model, tokenizer, feature_extractor, device=device, torch_dtype=torch_dtype, **kwargs)
File "C:\Users\user\pipx\venvs\insanely-fast-whisper\Lib\site-packages\transformers\pipelines\base.py", line 901, in init
self.model.to(self.device)
File "C:\Users\user\pipx\venvs\insanely-fast-whisper\Lib\site-packages\transformers\modeling_utils.py", line 2958, in to
return super().to(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\user\pipx\venvs\insanely-fast-whisper\Lib\site-packages\torch\nn\modules\module.py", line 1174, in to
return self._apply(convert)
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\user\pipx\venvs\insanely-fast-whisper\Lib\site-packages\torch\nn\modules\module.py", line 780, in _apply
module._apply(fn)
File "C:\Users\user\pipx\venvs\insanely-fast-whisper\Lib\site-packages\torch\nn\modules\module.py", line 780, in _apply
module._apply(fn)
File "C:\Users\user\pipx\venvs\insanely-fast-whisper\Lib\site-packages\torch\nn\modules\module.py", line 780, in _apply
module._apply(fn)
File "C:\Users\user\pipx\venvs\insanely-fast-whisper\Lib\site-packages\torch\nn\modules\module.py", line 805, in apply
param_applied = fn(param)
^^^^^^^^^
File "C:\Users\user\pipx\venvs\insanely-fast-whisper\Lib\site-packages\torch\nn\modules\module.py", line 1160, in convert
return t.to(
^^^^^
File "C:\Users\user\pipx\venvs\insanely-fast-whisper\Lib\site-packages\torch\cuda_init.py", line 305, in _lazy_init
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled
The text was updated successfully, but these errors were encountered:
When running insanely-fast-whisper I get an error message as mentioned below.
However, pytorch with cuda version 12.4 support is installed.
Tested with this code:
import torch
print(torch.version.cuda)
What is the issue?
--------- Error message -------
Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "c:\Users\user.local\bin\insanely-fast-whisper.exe_main.py", line 7, in
File "C:\Users\user\pipx\venvs\insanely-fast-whisper\Lib\site-packages\insanely_fast_whisper\cli.py", line 130, in main
pipe = pipeline(
^^^^^^^^^
File "C:\Users\user\pipx\venvs\insanely-fast-whisper\Lib\site-packages\transformers\pipelines_init.py", line 1102, in pipeline
return pipeline_class(model=model, framework=framework, task=task, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\user\pipx\venvs\insanely-fast-whisper\Lib\site-packages\transformers\pipelines\automatic_speech_recognition.py", line 219, in init
super().init(model, tokenizer, feature_extractor, device=device, torch_dtype=torch_dtype, **kwargs)
File "C:\Users\user\pipx\venvs\insanely-fast-whisper\Lib\site-packages\transformers\pipelines\base.py", line 901, in init
self.model.to(self.device)
File "C:\Users\user\pipx\venvs\insanely-fast-whisper\Lib\site-packages\transformers\modeling_utils.py", line 2958, in to
return super().to(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\user\pipx\venvs\insanely-fast-whisper\Lib\site-packages\torch\nn\modules\module.py", line 1174, in to
return self._apply(convert)
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\user\pipx\venvs\insanely-fast-whisper\Lib\site-packages\torch\nn\modules\module.py", line 780, in _apply
module._apply(fn)
File "C:\Users\user\pipx\venvs\insanely-fast-whisper\Lib\site-packages\torch\nn\modules\module.py", line 780, in _apply
module._apply(fn)
File "C:\Users\user\pipx\venvs\insanely-fast-whisper\Lib\site-packages\torch\nn\modules\module.py", line 780, in _apply
module._apply(fn)
File "C:\Users\user\pipx\venvs\insanely-fast-whisper\Lib\site-packages\torch\nn\modules\module.py", line 805, in apply
param_applied = fn(param)
^^^^^^^^^
File "C:\Users\user\pipx\venvs\insanely-fast-whisper\Lib\site-packages\torch\nn\modules\module.py", line 1160, in convert
return t.to(
^^^^^
File "C:\Users\user\pipx\venvs\insanely-fast-whisper\Lib\site-packages\torch\cuda_init.py", line 305, in _lazy_init
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled
The text was updated successfully, but these errors were encountered: