ImmichI
Immich5mo ago
mienaii

Immich is crashing server - OpenVINO?

G'day.
I'm trying to setup OpenVINO to handle the machine learning tasks. I seem to have it running:

[08/04/25 11:30:56] INFO     Starting gunicorn 23.0.0                           
[08/04/25 11:30:56] INFO     Listening at: http://[::]:3003 (8)                 
[08/04/25 11:30:56] INFO     Using worker: immich_ml.config.CustomUvicornWorker 
[08/04/25 11:30:56] INFO     Booting worker with pid: 9                         
[08/04/25 11:30:57] INFO     Started server process [9]                         
[08/04/25 11:30:57] INFO     Waiting for application startup.                   
[08/04/25 11:30:57] INFO     Created in-memory cache with unloading after 300s  
                             of inactivity.                                     
[08/04/25 11:30:57] INFO     Initialized request thread pool with 6 threads.    
[08/04/25 11:30:57] INFO     Application startup complete.                      
[08/04/25 11:31:20] INFO     Loading visual model 'ViT-B-32__openai' to memory  
[08/04/25 11:31:20] INFO     Setting execution providers to                     
                             ['OpenVINOExecutionProvider',                      
                             'CPUExecutionProvider'], in descending order of    
                             preference                                         
2025-08-04 11:31:20.876824223 [E:onnxruntime:Default, env.cc:228 ThreadMain] pthread_setaffinity_np failed for thread: 21, index: 2, mask: {3, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.
2025-08-04 11:31:20.883548101 [E:onnxruntime:Default, env.cc:228 ThreadMain] pthread_setaffinity_np failed for thread: 19, index: 0, mask: {1, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.


However when I run a task it sends CPU usage and RAM to 100% and my system crashes and I have to hard reboot (the system is on however I can't connect).
Was this page helpful?