Open tleyden opened 1 year ago
Installing the latest version via pip install git+https://github.com/aarnphm/whispercpp.git -vv
fixes the issue.
Since it seems like some pretty basic functionality is broken in the pypi release version, it might be good to push another release to pypi or add something to the README to warn users. Not sure if I could help w /the pypi stuff, but I'd be happy to submit a PR to update the README.
That didn't work for me. That just gives me the error:
Running command git submodule update --init --recursive -q
fatal: remote error: upload-pack: not our ref c9d5095f0c64455b201f1cd0b547efcf093ee7c3
fatal: Fetched in submodule path 'extern/whispercpp/bindings/ios', but it did not contain c9d5095f0c64455b201f1cd0b547efcf093ee7c3. Direct fetching of that commit failed.
fatal:
fatal: Failed to recurse into submodule path 'extern/whispercpp'
error: subprocess-exited-with-error
× git submodule update --init --recursive -q did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
full command: git submodule update --init --recursive -q
cwd: /tmp/pip-req-build-4d807i0h
error: subprocess-exited-with-error
× git submodule update --init --recursive -q did not run successfully.
│ exit code: 1
╰─> See above for output.
Describe the bug
Calling
Whisper.from_pretrained("base")
gives an error:When I try to manually open the url (
https://huggingface.co/datasets/ggerganov/whisper.cpp/resolve/main/ggml-base.bin
) in the browser, hugging face is popping up a login dialog.To reproduce
pip install whispercpp
from whispercpp import Whisper
whisper = Whisper.from_pretrained("base")
Expected behavior
No errors
Environment
python: 3.10 platform: OSX 13 (apple silicon)