Devilkin
Devilkin
IImmich
Created by Devilkin on 12/29/2024 in #help-desk-support
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.
15 replies