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

bug: RuntimeError: src/whispercpp/context.cc#L69: c.wctx is not initialized #138

Open
juanmc2005 opened this issue Jul 20, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@juanmc2005
Copy link

Describe the bug

Hello! First of all thank you for your work!

I wanted to report this problem that I'm having when trying to load quantized models. Could someone give me a hand to see if I'm doing something wrong?

To reproduce

  1. Given a quantized Whisper model in ggml format (e.g. ggml-model-whisper-small-q5_1.bin)
  2. When I try to load it with Whisper.from_pretrained("ggml-model-whisper-small-q5_1.bin")
  3. I get the error RuntimeError: src/whispercpp/context.cc#L69: c.wctx is not initialized
    I also get the following log:
whisper_model_load: unknown tensor 'X�����ب��G]����u��H.��*sKGi���������ڔ�������<�! L���Ϊ�����' in model file

Expected behavior

The model should be loaded and it shouldn't crash

Environment

python: 3.10.12
OS: Ubuntu 22.04

@juanmc2005 juanmc2005 added the bug Something isn't working label Jul 20, 2023
@awarebayes
Copy link

same, want to see quantized models running

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants