Open simon-231 opened 5 months ago
After a while it started working. With every restart, the modules had to be downloaded again. Got the same error message, but deemed it misleading, since the models have been downloaded eventually.
What fixed it for me: In the docker-compose.yml
's whishper:
section, add a volume mount for the /app/modules
path in the container (also see WHISPER_MODELS_DIR
).
whishper:
...
volumes:
- ./whishper_data/uploads:/app/uploads
+ - ./whishper_data/models:/app/models
- ./whishper_data/logs:/var/log/whishper
After the container is re-created, models are downloaded and persisted to disk. Without, they're just stored on the volatile OverlayFS, and do not survive the container restart. Error message is gone.
Cheers, Mo
Description
I get the following error message in the transcription.err.log: "An error occurred while synchronising the Systran/faster-whisper-tiny model from the Hugging Face Hub".
The Ubuntu firewall does not block outgoing traffic and I don't understand why the models fail to load.
If the models keep failing I would like to provide them locally. What steps do I have to follow to do that?
Environment
Logs and Configuration
transcription.err.log
An error occurred while synchronising the Systran/faster-whisper-tiny model from the Hugging Face Hub: No suitable cache snapshot folder for the specified revision could be found on the local hard drive and outgoing traffic has been disabled. To enable repo searches and downloads online, pass 'local_files_only=False' as input. An attempt is made to load the model directly from the local cache, if this exists.
Docker Compose Logs
Docker Compose File
I use the original file