sandrohanea / whisper.net

Whisper.net. Speech to text made simple using Whisper Models
MIT License
506 stars 77 forks source link

Illegal instruction #116

Open Awire9966 opened 9 months ago

Awire9966 commented 9 months ago

Before you reference issue #110 this is not that. Im using Ubuntu 22.04 (possibly 22.04.2) on a Dell Optiplex 790 with 32 gb ram and a i5-2400. I am using the Nuget package that comes with that runtime folder. I am also using the Large GGML model. I am trying to test this api using "Never Gonna Stop Us Now" By Starship. The wave Im using was encoded with ffmpeg compiled with these parameters: https://pastebin.com/raw/1hyiGYRU . Sticking the wave through ffprobe gave me this: https://pastebin.com/raw/kBmvQkaR When running "loud.dll" (My program) , it spits out https://pastebin.com/raw/fQPNyKTh

If you would like the source, let me know.

sandrohanea commented 9 months ago

Hello @Awire9966 , I see that Intel i5 2400 have AVX indeed: https://ark.intel.com/content/www/us/en/ark/products/52207/intel-core-i52400-processor-6m-cache-up-to-3-40-ghz.html

Are you able to execute any example from this repo on your machine (e.g. https://github.com/sandrohanea/whisper.net/tree/main/examples/Simple)?

Awire9966 commented 9 months ago

I am using a slight alteration of the one in the readme the only differences being I replaced the base model tags with large and it writes to the text file specified in the arguments

Awire9966 commented 9 months ago

This is the source @sandrohanea loud.zip

Awire9966 commented 9 months ago

Hello @Awire9966 , I see that Intel i5 2400 have AVX indeed: https://ark.intel.com/content/www/us/en/ark/products/52207/intel-core-i52400-processor-6m-cache-up-to-3-40-ghz.html

Are you able to execute any example from this repo on your machine (e.g. https://github.com/sandrohanea/whisper.net/tree/main/examples/Simple)?

I did try it, didnt change much

grem0087 commented 8 months ago

Same problem, guys. Debian 12 Just copied and paste simple example, and tries to lunch it. under the windows its OK, but in linux same issue.

RoryMcHughh commented 4 months ago

@sandrohanea Any ideas on this? Is avx2 required or something?