Closed NathanDai closed 11 months ago
Hi @NathanDai - This looks like an issue on your GPU's end. Additionally, we don't support MP4 videos. Would you mind power-cycling your GPU and then try again with an audio file?
i use a mp3,but not works,my device is NVIDIA GeForce GTX 1650
Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained. Traceback (most recent call last): File "/home/nathan/.local/bin/insanely-fast-whisper", line 8, in <module> sys.exit(main()) ^^^^^^ File "/home/nathan/.local/share/pipx/venvs/insanely-fast-whisper/lib/python3.11/site-packages/insanely_fast_whisper/cli.py", line 78, in main pipe = pipeline( ^^^^^^^^^ File "/home/nathan/.local/share/pipx/venvs/insanely-fast-whisper/lib/python3.11/site-packages/transformers/pipelines/__init__.py", line 1070, in pipeline return pipeline_class(model=model, framework=framework, task=task, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/nathan/.local/share/pipx/venvs/insanely-fast-whisper/lib/python3.11/site-packages/transformers/pipelines/automatic_speech_recognition.py", line 239, in __init__ self.model.to(device) File "/home/nathan/.local/share/pipx/venvs/insanely-fast-whisper/lib/python3.11/site-packages/transformers/modeling_utils.py", line 2271, in to return super().to(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/nathan/.local/share/pipx/venvs/insanely-fast-whisper/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1160, in to return self._apply(convert) ^^^^^^^^^^^^^^^^^^^^ File "/home/nathan/.local/share/pipx/venvs/insanely-fast-whisper/lib/python3.11/site-packages/torch/nn/modules/module.py", line 810, in _apply module._apply(fn) File "/home/nathan/.local/share/pipx/venvs/insanely-fast-whisper/lib/python3.11/site-packages/torch/nn/modules/module.py", line 810, in _apply module._apply(fn) File "/home/nathan/.local/share/pipx/venvs/insanely-fast-whisper/lib/python3.11/site-packages/torch/nn/modules/module.py", line 810, in _apply module._apply(fn) File "/home/nathan/.local/share/pipx/venvs/insanely-fast-whisper/lib/python3.11/site-packages/torch/nn/modules/module.py", line 833, in _apply param_applied = fn(param) ^^^^^^^^^ File "/home/nathan/.local/share/pipx/venvs/insanely-fast-whisper/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1158, in convert return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ RuntimeError: CUDA error: invalid device ordinal CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect. For debugging consider passing CUDA_LAUNCH_BLOCKING=1. Compile with
TORCH_USE_CUDA_DSAto enable device-side assertions.
Ubuntu 22.04.3 Python 3.10.12 CUDA 12.2
insanely-fast-whisper --device-id 1 --file-name youtube.mp4
error
return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking) RuntimeError: CUDA error: invalid device ordinal CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect. For debugging consider passing CUDA_LAUNCH_BLOCKING=1. Compile with
TORCH_USE_CUDA_DSAto enable device-side assertions.