-
Notifications
You must be signed in to change notification settings - Fork 246
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
--model_path Never Work! #86
Comments
hi, can you specify what behaviour do you expect and what is wrong? what do you mean by "it said"? what do you mean by the 3 lines below? |
Thank you for your response. I'm using a Dockerfile to build my application, and I am encountering issues when specifying the model directory in the Dockerfile's I need to use a local model for Whisper rather than fetching it from a Hugging Face repository each time. However, when I attempt to specify the local model path, the application seems to insist on a Hugging Face repository path instead. Below are the variations of the
Could you please provide guidance on how to correctly configure the Dockerfile to use a locally stored model? I'm looking to avoid repeated downloads from the internet due to bandwidth limitations. Thank you for your assistance. |
How could I rewrite this file?
|
Can you specify from what evidence did you conclude this? What was the error or log message?
I don't know., I can't help with Docker. Make it working inside docker, or locally, then put it to dockerfile. Maybe you're confusing model.bin file for a dir where model.bin and other necessary files are located? |
Thank you for your help; I have solved the issue. The problem was that it required an absolute path and the use of the CMD ["python3", "whisper_online_server.py", "--backend", "faster-whisper", "--host", "0.0.0.0", "--port", "41007", "--model", "large-v3", "--model_dir", "/app/models/faster-distil-whisper-large-v3"] Thanks to your suggestion, I found the key to resolving the issue. |
yes |
Every time i want to use local path, it said that must be a hugging face repo.
The text was updated successfully, but these errors were encountered: