Closed dankasak closed 1 year ago
I can't seem to reproduce the problem. Does your CPU support AVX and AVX2 instructions? https://immich.app/docs/install/requirements#hardware
Yes. It's an AMD Ryzen 5 7600X 6-Core Processor. I see both avx and avx2 in CPU flags:
fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good amd_lbr_v2 nopl nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba perfmon_v2 ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local avx512_bf16 clzero irperf xsaveerptr rdpru wbnoinvd cppc arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif x2avic v_spec_ctrl avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid overflow_recov succor smca fsrm flush_l1d
Since the latest release has fundamentally changed the machine-learning image, this issue should no longer happen ;)
The bug
I've imported some pictures and videos, and gone into: Administration ==> Jobs ==> Detect Objects ==> All
I saw the counter proceeding through all my imported items ( around 50K ). At the end of the job, I have a "node dist/main.js" process occupying 19G, but seemingly doing nothing. None of my photos appear to have any detected objects in them. In the logs for the immich_machine_learning container, I see a LOT of:
Error reading file TypeError: Cannot read properties of undefined (reading 'classify') at ImageClassifierService.tagImage (/usr/src/app/dist/image-classifier/image-classifier.service.js:36:63) at ImageClassifierController.tagImage (/usr/src/app/dist/image-classifier/image-classifier.controller.js:23:50) at /usr/src/app/node_modules/@nestjs/core/router/router-execution-context.js:38:29 at runMicrotasks ()
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async /usr/src/app/node_modules/@nestjs/core/router/router-execution-context.js:46:28
at async /usr/src/app/node_modules/@nestjs/core/router/router-proxy.js:9:17
The OS that Immich Server is running on
Fedora
Version of Immich Server
1.47.3
Version of Immich Mobile App
Not using it yet
Platform with the issue
Your docker-compose.yml content
Your .env content
Reproduction steps
Additional information
No response