[Support]: everytime i restart frigate, it try to download huggingface #21529
-
Describe the problem you are havingi did connect to the internet to do the initial setup and i did a restart while connected to the internet and wait a few minutes to make sure everything was fine the moment i disconnect the pc from the internet and do a restart the huggingface try to re-download itself since the pc doesnt have access to the internet, it fail/retry 5 times Version0.16.3 What browser(s) are you using?No response Frigate config filenot needed i think?Relevant Frigate log output'(MaxRetryError('HTTPSConnectionPool(host=\'huggingface.co\', port=443): Max retries exceeded with url: /jinaai/jina-clip-v1/resolve/main/tokenizer_config.json (Caused by NewConnectionError("HTTPSConnection(host=\'huggingface.co\', port=443): Failed to establish a new connection: [Errno 101] Network is unreachable"))'), '(Request ID: c3e7f1e4-68e9-467a-a3e7-e7ea720406cf)')' thrown while requesting HEAD https://huggingface.co/jinaai/jina-clip-v1/resolve/main/tokenizer_config.jsonRelevant go2rtc log outputnot needed i think?FFprobe output from your cameranot needed i think?Frigate statsnot needed i think?Install methodDocker Compose docker-compose file or Docker CLI commandnot needed i think?Object DetectorOpenVino Network connectionWireless Camera make and modelnot needed i think? Screenshots of the Frigate UI's System metrics pagesNo response Any other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
|
Based on the error you're seeing, Frigate is attempting to download the Jina semantic search model from Hugging Face on every restart when it can't find the cached files locally. The model files should be cached in the To resolve this issue:
semantic_search:
enabled: False
The system is designed to work completely offline once models are cached(1), so if the downloads keep happening, it indicates the cache isn't being preserved between restarts or the volume mount isn't configured correctly. 📚 Sources: Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
-
|
If you've already downloaded the necessary models for Semantic Search and your server is no longer internet connected, there are a few environment variables you can use to stop Frigate from reaching out altogether: Setting these without having the correct files downloaded already will cause a failure, though. |
Beta Was this translation helpful? Give feedback.
-
|
this is what i have;
|
Beta Was this translation helpful? Give feedback.

If you've already downloaded the necessary models for Semantic Search and your server is no longer internet connected, there are a few environment variables you can use to stop Frigate from reaching out altogether:
Setting these without having the correct files downloaded already will cause a failure, though.