Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detected language 'en' with probability nan #1244

Open
Elie-Khoury opened this issue Feb 11, 2025 · 1 comment
Open

Detected language 'en' with probability nan #1244

Elie-Khoury opened this issue Feb 11, 2025 · 1 comment

Comments

@Elie-Khoury
Copy link

I am trying to run faster-whisper locally and every time I run the script I get this:

Detected language 'en' with probability nan
[0.00s -> 2.42s] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Process finished with exit code -1073740791 (0xC0000409)

Does anyone know how to fix this?

@namtacs
Copy link

namtacs commented Feb 16, 2025

I have the same problem on cuda 12.6(from torch), specifically float16 compute_type.

When it happens, it always outputs 224 exclamation marks (token id 0)

I found that downgrading to torch with cuda 12.4 solves this:

  1. pip3 uninstall torch torchvision torchaudio - uninstalls torch from previous source (e.g. --index-url https://download.pytorch.org/whl/cu126)
  2. pip3 install torch torchvision torchaudio installs default torch which is 2.6.0 with cuda 12.4

GPU - Nvidia GeForce GTX 1650

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants