Ā© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
ImmichI
Immich•14mo ago•
14 replies
Devilkin

Machine learning not working

Hi,

I've had an Immich instance running for a while now, and everything was working well. Facial recognition worked, i could search, etc. Everything in CPU, no hardware acceleration available, but it worked.

Yesterday I noticed that search didn't work anymore, and new faces weren't being added.

Some searching led me to the following error in the immich_server docker container:

[Nest] 17  - 12/29/2024, 10:51:29 AM    WARN [Api:MachineLearningRepository~gl5z9lta] Machine learning request to "http://immich-machine-learning:3003" failed: fetch failed
[Nest] 17  - 12/29/2024, 10:51:29 AM   ERROR [Api:ErrorInterceptor~gl5z9lta] Unknown error: Error: Machine learning request '{"clip":{"textual":{"modelName":"ViT-B-32__openai"}}}' failed for all URLs
Error: Machine learning request '{"clip":{"textual":{"modelName":"ViT-B-32__openai"}}}' failed for all URLs
    at MachineLearningRepository.predict (/usr/src/app/dist/repositories/machine-learning.repository.js:41:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async MachineLearningRepository.encodeText (/usr/src/app/dist/repositories/machine-learning.repository.js:64:26)
    at async SearchService.searchSmart (/usr/src/app/dist/services/search.service.js:66:27)
[Nest] 17  - 12/29/2024, 10:51:29 AM    WARN [Api:MachineLearningRepository~gl5z9lta] Machine learning request to "http://immich-machine-learning:3003" failed: fetch failed
[Nest] 17  - 12/29/2024, 10:51:29 AM   ERROR [Api:ErrorInterceptor~gl5z9lta] Unknown error: Error: Machine learning request '{"clip":{"textual":{"modelName":"ViT-B-32__openai"}}}' failed for all URLs
Error: Machine learning request '{"clip":{"textual":{"modelName":"ViT-B-32__openai"}}}' failed for all URLs
    at MachineLearningRepository.predict (/usr/src/app/dist/repositories/machine-learning.repository.js:41:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async MachineLearningRepository.encodeText (/usr/src/app/dist/repositories/machine-learning.repository.js:64:26)
    at async SearchService.searchSmart (/usr/src/app/dist/services/search.service.js:66:27)

which occurs everytime I try to search for anything.

I've tried re-spinning everything up (deleting the docker container images even), I've removed the model cache volume, but the problem persists.
docker-compose.yml3.23KB
env956B
immich_machine_learning.log625B
immich_server.log27.82KB
ImmichJoin
A place to hang out, get support, discuss Immich, get announcements about releases and anything else going on.
36,590Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Machine learning not working
ImmichIImmich / help-desk-support
5mo ago
Machine learning potentially not working?
ImmichIImmich / help-desk-support
3mo ago
cuda machine learning not working
ImmichIImmich / help-desk-support
8mo ago
Immich machine learning not working
ImmichIImmich / help-desk-support
15mo ago