You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
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
Run the following command in the project folder, force the error, and paste the logs below: docker compose logs -f --tail 50
whishper | 2024-04-26 15:55:59,313 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message.
whishper | 2024-04-26 15:55:59,316 INFO supervisord started with pid 1
whishper | 2024-04-26 15:56:00,321 INFO spawned: 'backend' with pid 8
whishper | 2024-04-26 15:56:00,327 INFO spawned: 'frontend' with pid 9
whishper | 2024-04-26 15:56:00,335 INFO spawned: 'nginx' with pid 10
whishper | 2024-04-26 15:56:00,340 INFO spawned: 'transcription' with pid 11
whishper | 2024-04-26 15:56:01,518 INFO success: backend entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
whishper | 2024-04-26 15:56:01,518 INFO success: frontend entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
whishper | 2024-04-26 15:56:01,518 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
whishper | 2024-04-26 15:56:01,519 INFO success: transcription entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
mongo-1 | {"t":{"$date":"2024-04-26T15:55:58.807Z"},"s":"I", "c":"CONTROL", "id":20697, "ctx":"main","msg":"Renamed existing log file","attr":{"oldLogPath":"/var/log/mongodb/mongod.log","newLogPath":"/var/log/mongodb/mongod.log.2024-04-26T15-55-58"}}
whisper-libretranslate | Updating language models
whisper-libretranslate | Found 88 models
whisper-libretranslate | Keep 2 models
whisper-libretranslate | Loaded support for 4 languages (2 models total)!
whisper-libretranslate | Running on http://*:5000
The text was updated successfully, but these errors were encountered:
simon-231
changed the title
[BUG] Bug Title
An error occurred while synchronising the Systran/faster-whisper-tiny model from the Hugging Face Hub
Apr 28, 2024
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).
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.
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
The text was updated successfully, but these errors were encountered: