@xiota, neither python-ffmpeg nor python-ffmpeg-git install for me, so I added the python-ffmpeg-patched-git as a workaround. :/ As soon as one of these packages is fixed, I can change it back!
Search Criteria
Package Details: whisper-git 2023.11.17.r2.gba3f3cd5-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/whisper-git.git (read-only, click to copy) |
---|---|
Package Base: | whisper-git |
Description: | General-purpose speech-recognition model by OpenAI |
Upstream URL: | https://github.com/openai/whisper |
Licenses: | MIT |
Conflicts: | whisper |
Provides: | whisper |
Submitter: | blinry |
Maintainer: | blinry (xiota) |
Last Packager: | xiota |
Votes: | 14 |
Popularity: | 0.28 |
First Submitted: | 2022-09-22 17:49 (UTC) |
Last Updated: | 2024-02-07 22:31 (UTC) |
Dependencies (12)
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-cudaAUR, ffmpeg-fullAUR, ffmpeg-decklinkAUR, ffmpeg-amd-fullAUR, ffmpeg-libfdk_aacAUR, ffmpeg-ffplayoutAUR, ffmpeg-full-gitAUR, ffmpeg-gitAUR, ffmpeg-headlessAUR, ffmpeg-amd-full-gitAUR, ffmpeg-obsAUR)
- python-more-itertools
- python-numba (python-numba-gitAUR)
- python-pytorch (python-pytorch-mkl-gitAUR, python-pytorch-cuda-gitAUR, python-pytorch-mkl-cuda-gitAUR, python-pytorch-cxx11abiAUR, python-pytorch-cxx11abi-optAUR, python-pytorch-cxx11abi-cudaAUR, python-pytorch-cxx11abi-opt-cudaAUR, python-pytorch-cxx11abi-rocmAUR, python-pytorch-cxx11abi-opt-rocmAUR, python-pytorch-rocm-binAUR, python-pytorch-cuda, python-pytorch-opt, python-pytorch-opt-cuda, python-pytorch-opt-rocm, python-pytorch-rocm)
- python-tiktoken (python-tiktoken-gitAUR)
- python-tqdm
- git (git-gitAUR, git-glAUR) (make)
- python-build (make)
- python-installer (python-installer-gitAUR) (make)
- python-setuptools (make)
- python-wheel (make)
- tritonAUR (triton-gitAUR) (optional) – CUDA accelerated filters
Required by (1)
- python-stable-ts-git (requires whisper)
Sources (1)
Latest Comments
« First ‹ Previous 1 2 3 4
blinry commented on 2022-11-20 19:37 (UTC)
blinry commented on 2022-10-19 08:14 (UTC)
I added python-requests and python-huggingface-hub-git as temporary dependencies, which should fix most problems.
I can't reproduce your issue, @noyogurt. :/
GottamRev1 commented on 2022-10-01 12:58 (UTC)
It worked for me when using pip, but would crash if I tried this package. Please add python-huggingface-hub to dependencies, that fixed it for me.
noyogurt commented on 2022-09-26 15:14 (UTC) (edited on 2022-09-26 15:15 (UTC) by noyogurt)
After installing whisper-git (aur), python-requests(extra), and python-huggingface-hub-git(aur). I'm consistently getting this error when trying to whisper
Traceback (most recent call last):
File "/usr/bin/whisper", line 33, in <module>
sys.exit(load_entry_point('whisper==1.0', 'console_scripts', 'whisper')())
File "/usr/bin/whisper", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 171, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/lib/python3.10/site-packages/whisper/__init__.py", line 12, in <module>
from .decoding import DecodingOptions, DecodingResult, decode, detect_language
File "/usr/lib/python3.10/site-packages/whisper/decoding.py", line 11, in <module>
from .tokenizer import Tokenizer, get_tokenizer
File "/usr/lib/python3.10/site-packages/whisper/tokenizer.py", line 8, in <module>
from transformers import GPT2TokenizerFast
File "<frozen importlib._bootstrap>", line 1075, in _handle_fromlist
File "/usr/lib/python3.10/site-packages/transformers/utils/import_utils.py", line 862, in __getattr__
module = self._get_module(self._class_to_module[name])
File "/usr/lib/python3.10/site-packages/transformers/utils/import_utils.py", line 874, in _get_module
raise RuntimeError(
RuntimeError: Failed to import transformers.models.gpt2 because of the following error (look up to see its traceback):
Failed to import transformers.tokenization_utils because of the following error (look up to see its traceback):
/usr/lib/python3.10/site-packages/tokenizers/tokenizers.cpython-310-x86_64-linux-gnu.so: undefined symbol: onig_region_free
bquast commented on 2022-09-24 16:55 (UTC)
for me python-requests and python-huggingface_hub were missing
blinry commented on 2022-09-24 10:49 (UTC)
Hey nika, try installing https://aur.archlinux.org/packages/python-huggingface-hub, and potentially other dependencies which are not packaged correctly in https://aur.archlinux.org/packages/python-transformers (see ChrisMorgan's comment). :)
nika commented on 2022-09-24 10:04 (UTC) (edited on 2022-09-24 10:42 (UTC) by nika)
Thanks for this, getting this error though and fixed it by adding: pip install huggingface_hub
Traceback (most recent call last):
File "/usr/bin/whisper", line 33, in <module>
sys.exit(load_entry_point('whisper==1.0', 'console_scripts', 'whisper')())
File "/usr/bin/whisper", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 171, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/lib/python3.10/site-packages/whisper/__init__.py", line 12, in <module>
from .decoding import DecodingOptions, DecodingResult, decode, detect_language
File "/usr/lib/python3.10/site-packages/whisper/decoding.py", line 11, in <module>
from .tokenizer import Tokenizer, get_tokenizer
File "/usr/lib/python3.10/site-packages/whisper/tokenizer.py", line 8, in <module>
from transformers import GPT2TokenizerFast
File "/usr/lib/python3.10/site-packages/transformers/__init__.py", line 30, in <module>
from . import dependency_versions_check
File "/usr/lib/python3.10/site-packages/transformers/dependency_versions_check.py", line 17, in <module>
from .utils.versions import require_version, require_version_core
File "/usr/lib/python3.10/site-packages/transformers/utils/__init__.py", line 46, in <module>
from .hub import (
File "/usr/lib/python3.10/site-packages/transformers/utils/hub.py", line 39, in <module>
from huggingface_hub import HfFolder, Repository, create_repo, list_repo_files, whoami
ModuleNotFoundError: No module named 'huggingface_hub'
blinry commented on 2022-09-22 21:33 (UTC)
Sure, done! Thanks, sekret!
sekret commented on 2022-09-22 19:12 (UTC)
Please add git to makedepends.
Pinned Comments
xiota commented on 2023-05-11 15:41 (UTC) (edited on 2023-09-24 04:35 (UTC) by xiota)
Updated package. Builds in clean chroot. Tested with a video.
If you have any issues with this package, rebuild in clean chroot before reporting.
To find packages that need to be rebuilt, run
check-broken-packages
(fromaur/check-broken-packages-pacman-hook-git
).