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

Unable to generate the large-v3 CoreML model #2112

Open
Gdesau opened this issue Apr 30, 2024 · 0 comments
Open

Unable to generate the large-v3 CoreML model #2112

Gdesau opened this issue Apr 30, 2024 · 0 comments

Comments

@Gdesau
Copy link

Gdesau commented Apr 30, 2024

Hello everyone,

I've tried to generate the large-v3 CoreML model with:

./models/generate-coreml-model.sh large-v3

but ran into this error:

Traceback (most recent call last):
  File "/Users/my_user/Dev/Modules/pywhispercpp/whisper.cpp/models/convert-whisper-to-coreml.py", line 2, in <module>
    import torch
ModuleNotFoundError: No module named 'torch'
coremlc: error: Model does not exist at models/coreml-encoder-large-v3.mlpackage -- file:///Users/my_user/Dev/Modules/pywhispercpp/whisper.cpp/
mv: rename models/coreml-encoder-large-v3.mlmodelc to models/ggml-large-v3-encoder.mlmodelc: No such file or directory

I don't understand because I have torch installed and I've tried with and without the "ggml-large-v3.bin" file in my /models directory.

Could someone help me with this?

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

1 participant