Package Details: whisper-git 2023.11.17.r2.gba3f3cd5-1

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: 10
Popularity: 0.94
First Submitted: 2022-09-22 17:49 (UTC)
Last Updated: 2024-02-07 22:31 (UTC)

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 (from aur/check-broken-packages-pacman-hook-git).

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

xiota commented on 2023-04-06 08:41 (UTC) (edited on 2023-05-11 15:45 (UTC) by xiota)

Updated package. Builds in clean chroot. Tested with a video.

xiota commented on 2023-03-14 00:00 (UTC) (edited on 2023-04-09 07:03 (UTC) by xiota)

python-sympy is a new dependency of python-pytorch. The issue has been fixed: FS77834.

dreieck commented on 2023-03-13 15:46 (UTC)

Is the 1.0, which is statically put into the pkgver() output, an official upstream software version? If so, please try to extract it automatically (by parsing some files, scraping a website, or so).

If not, then please remove it.

(And you can replace it with some output from git describe --tags, correctly formatted to omit leading v, changing a -<digit> to +<digit> etc.)

Regards!

dreieck commented on 2023-03-13 15:42 (UTC)

python-sympy needs to be added as a dependency:

When not installed, starting /usr/bin/whisper, I get the following error:

No sympy found
Traceback (most recent call last):
  File "/usr/bin/whisper", line 33, in <module>
    sys.exit(load_entry_point('openai-whisper==20230308', '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 8, in <module>
    import torch
  File "/usr/lib/python3.10/site-packages/torch/__init__.py", line 1465, in <module>
    from . import _meta_registrations
  File "/usr/lib/python3.10/site-packages/torch/_meta_registrations.py", line 7, in <module>
    from torch._decomp import _add_op_to_registry, global_decomposition_table, meta_table
  File "/usr/lib/python3.10/site-packages/torch/_decomp/__init__.py", line 169, in <module>
    import torch._decomp.decompositions
  File "/usr/lib/python3.10/site-packages/torch/_decomp/decompositions.py", line 10, in <module>
    import torch._prims as prims
  File "/usr/lib/python3.10/site-packages/torch/_prims/__init__.py", line 33, in <module>
    from torch._subclasses.fake_tensor import FakeTensor, FakeTensorMode
  File "/usr/lib/python3.10/site-packages/torch/_subclasses/__init__.py", line 3, in <module>
    from torch._subclasses.fake_tensor import (
  File "/usr/lib/python3.10/site-packages/torch/_subclasses/fake_tensor.py", line 13, in <module>
    from torch._guards import Source
  File "/usr/lib/python3.10/site-packages/torch/_guards.py", line 78, in <module>
    class ShapeGuard(NamedTuple):
  File "/usr/lib/python3.10/site-packages/torch/_guards.py", line 79, in ShapeGuard
    expr: sympy.Expr
NameError: name 'sympy' is not defined

Thanks for maintaining,
regards!

tocer commented on 2023-03-08 06:13 (UTC)

@xiota, Thanks for your post, and it requires python-numpy<1.24 in PKGBUILD

megascrapper commented on 2023-02-24 13:02 (UTC)

@Brownsnowstorm2 Try replacing python-pytorch with python-pytorch-cuda and passing --device cuda on the whisper command. This is of course assuming you have NVIDIA GPU installed, but the idea should be the same for AMD.

Brownsnowstorm2 commented on 2023-02-11 21:07 (UTC)

It wont use my GPU. Any suggestions?

/usr/lib/python3.10/site-packages/whisper/transcribe.py:79: UserWarning: FP16 is not supported on CPU; using FP32 instead warnings.warn("FP16 is not supported on CPU; using FP32 instead")