aarnphm / whispercpp

Pybind11 bindings for Whisper.cpp
Apache License 2.0
317 stars 54 forks source link

bug: doesnt build #179

Open fixerivan opened 8 months ago

fixerivan commented 8 months ago

Describe the bug

git submodule update --init --recursive Submodule 'extern/pybind11' (https://github.com/pybind/pybind11.git) registered for path 'extern/pybind11' Submodule 'extern/whispercpp' (https://github.com/ggerganov/whisper.cpp.git) registered for path 'extern/whispercpp' Cloning into '/home/ivan/whispercpp/extern/pybind11'... Cloning into '/home/ivan/whispercpp/extern/whispercpp'... Submodule path 'extern/pybind11': checked out 'dc9b39596d986aeb061bd3debe52d30e2467dc48' Submodule path 'extern/whispercpp': checked out 'bebf0da983632f47c8dff5cae5a578992c31ff26' Submodule 'bindings/ios' (https://github.com/ggerganov/whisper.spm) registered for path 'extern/whispercpp/bindings/ios' Cloning into '/home/ivan/whispercpp/extern/whispercpp/bindings/ios'... 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'

To reproduce

git clone

git submodule update --init --recursive

Submodule 'extern/pybind11' (https://github.com/pybind/pybind11.git) registered for path 'extern/pybind11' Submodule 'extern/whispercpp' (https://github.com/ggerganov/whisper.cpp.git) registered for path 'extern/whispercpp' Cloning into '/home/ivan/whispercpp/extern/pybind11'... Cloning into '/home/ivan/whispercpp/extern/whispercpp'... Submodule path 'extern/pybind11': checked out 'dc9b39596d986aeb061bd3debe52d30e2467dc48' Submodule path 'extern/whispercpp': checked out 'bebf0da983632f47c8dff5cae5a578992c31ff26' Submodule 'bindings/ios' (https://github.com/ggerganov/whisper.spm) registered for path 'extern/whispercpp/bindings/ios' Cloning into '/home/ivan/whispercpp/extern/whispercpp/bindings/ios'... 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'

Expected behavior

build

Environment

Python 3.10.12 Ubuntu 22.04.3 LTS

kornpow commented 8 months ago

I had to fork it and update the submodules again and it worked

chrisspen commented 6 months ago

Could you post the commands you used to fix this? Even if I fork and update my submodules, I still get the same error.