Score:2

Whisper AI throws the error: std::runtime_error

kr flag

Initially I was able to run Whisper on my Ubuntu 22.04.2 LTS and it worked well. After some:

sudo apt-get update
sudo apt-get upgrade

I faced with the following:

~: whisper --version
terminate called after throwing an instance of 'std::runtime_error'
  what():  expected ident but found 'eof' here:

Aborted (core dumped)

Whisper file in 'bin' folder:

#!/usr/bin/python3
# -*- coding: utf-8 -*-
import re
import sys
from whisper.transcribe import cli
if __name__ == '__main__':
    sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
    sys.exit(cli())

Any ideas how to investigate/resolve the issue? I am desperately trying to switch from windows to Ubuntu and already fed up with re-installation of the OS due to different issues appearing after updates. Thanks

eSensitive avatar
kr flag
Well. The issue was in PyTorch library. I don't know exactly how I fixed that, just uninstall ed CUDA and PyTorch and installed PyTorch again.
Score:0
kr flag

Well. The issue was in PyTorch library. I don't know exactly how I fixed it, just try to uninstall CUDA and PyTorch and to install PyTorch again.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.