[M1 Mac] fft: ATen not compiled with MKL support
forabi opened this issue · comments
base ❯ yt_whisper 'https://www.youtube.com/watch?v=dQw4w9WgXcQ'
100%|███████████████████████████████████████| 461M/461M [00:26<00:00, 18.2MiB/s]
Downloading video: 0.0%
Downloading video: 0.1%
Downloading video: 0.2%
Downloading video: 0.4%
Downloading video: 0.9%
Downloading video: 1.9%
Downloading video: 3.8%
Downloading video: 7.6%
Downloading video: 15.2%
Downloading video: 30.5%
Downloading video: 61.0%
Downloading video: 100.0%
Downloaded video "Rick Astley - Never Gonna Give You Up (Official Music Video)". Generating subtitles...
Traceback (most recent call last):
File "/opt/homebrew/bin/yt_whisper", line 8, in <module>
sys.exit(main())
File "/opt/homebrew/lib/python3.9/site-packages/yt_whisper/cli.py", line 40, in main
result = model.transcribe(audio_path, **args)
File "/opt/homebrew/lib/python3.9/site-packages/whisper/transcribe.py", line 84, in transcribe
mel = log_mel_spectrogram(audio)
File "/opt/homebrew/lib/python3.9/site-packages/whisper/audio.py", line 115, in log_mel_spectrogram
stft = torch.stft(audio, N_FFT, HOP_LENGTH, window=window, return_complex=True)
File "/opt/homebrew/lib/python3.9/site-packages/torch/functional.py", line 471, in stft
return _VF.stft(input, n_fft, hop_length, win_length, window, # type: ignore[attr-defined]
RuntimeError: fft: ATen not compiled with MKL support