Replies: 2 comments
-
An update to VirtualBox 7.1.10 did not change anything either. dmesg output: |
Beta Was this translation helpful? Give feedback.
0 replies
-
more like a problem with torch + cpu + virtualbox, im afraid this may be unique to your setup |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am trying to install whisper in a virtual machine with Ubuntu 24.04 (guest additions are installed).
The version of VirtualBox is 7.0.22 and runs on Windows 10.
Although there are no noticeable problems during the installation, the whisper execution ends with a floating point exception every time.
First I set up virtual environments.
virtualenv whisperenv
source whisperenv/bin/activate
pip install --upgrade pip
pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
pip install git+https://github.com/openai/whisper.git
I have also tried different python versions (first 3.12, then 3.10 and 3.9), always with the same result.
Here is a call with a pipx installation, also with the same result:
whisper --device cpu --model medium song.wav --language English
/root/.local/share/pipx/venvs/openai-whisper/lib/python3.12/site-packages/whisper/transcribe.py:132: UserWarning: FP16 is not supported on CPU; using FP32 instead
warnings.warn("FP16 is not supported on CPU; using FP32 instead")
Floating point exception (memory dump written)
I have also tried different models - base, small and then medium - always with the same result.
dmesg returns messages like that:
[ 1095.783717] traps: whisper[3173] trap divide error ip:759b4b894f40 sp:7ffcc9a58b10 error:0 in libtorch_cpu.so[dc94f40,759b3ea29000+fdaf000]
[66578.020285] traps: whisper[11263] trap divide error ip:7318b9e94f40 sp:7ffd21631120 error:0 in libtorch_cpu.so[dc94f40,7318ad029000+fdaf000]
All versions are up to date, as is Ubuntu 24.04, all packages are up to date.
Are there any known problems with the CPU support in VirtualBox?
Thanks in advance,
dirk
Beta Was this translation helpful? Give feedback.
All reactions