Closed plord12 closed 3 months ago
@mertalev is this the same issue that Fynn is facing?
Yes, it's because some of the recently uploaded ARMNN models don't work. Before this, it would just use the ONNX model on CPU, but now that the ARMNN model exists and the service has libann, it tries to use this model unsuccessfully.
Thanks.
Are there some models that work with ARMNN ?
I've disabled hardware acceleration in docker-compose.yml and I'm back working again.
The visual search models (used when processing smart search jobs) work along with the facial recognition models. Unfortunately, they're gimped by the fact that their counterparts (textual search and face detection) don't work.
I've been looking into adding full ARMNN model coverage without having a device myself, so it's a little trial and error. I'll remove the textual and detection models for now so you can still use the models that do work.
You can delete the model cache volume and re-enable ARMNN. Smart search jobs will be accelerated and part of the face detection job will be as well.
Many thanks
When can we expect ARMNN facial detection? I would love this feature.
I'm having a very similar issue but with a different model. This is with 1.117.0
[10/05/24 01:06:28] INFO Downloading textual model
'ViT-B-16-SigLIP-384__webli'. This may take a
while.
Fetching 11 files: 100%|██████████| 11/11 [00:20<00:00, 1.83s/it]
[10/05/24 01:06:49] INFO Loading textual model 'ViT-B-16-SigLIP-384__webli'
to memory
arm_release_ver: g13p0-01eac0, rk_so_ver: 10
[10/05/24 01:06:49] INFO Loading ANN model
/cache/clip/ViT-B-16-SigLIP-384__webli/textual/mode
l.armnn ...
Warning: WARNING: Layer of type Cast is not supported on requested backend GpuAcc for input data type Signed32 and output data type Signed64 (reason: in validate_arguments src/gpu/cl/kernels/ClCastKernel.cpp:59: ITensor data type S64 not supported by this kernel), falling back to the next backend.
Warning: ERROR: Layer of type Cast is not supported on any preferred backend [GpuAcc ]
Warning: WARNING: Layer of type Gather is not supported on requested backend GpuAcc for input data type Float32 and output data type Float32 (reason: in validate_arguments src/core/CL/kernels/CLGatherKernel.cpp:58: ITensor data type S64 not supported by this kernel), falling back to the next backend.
Warning: ERROR: Layer of type Gather is not supported on any preferred backend [GpuAcc ]
Warning: WARNING: Layer of type Transpose is not supported on requested backend GpuAcc for input data type Float32 and output data type Float32 (reason: in validate_arguments src/gpu/cl/kernels/ClPermuteKernel.cpp:60: Permutation up to 4-D src tensor is supported), falling back to the next backend.
The bug
Simple photo searches for, say, "cat" now return no results.
The immich_machine_learning container reports :
The OS that Immich Server is running on
Debian
Version of Immich Server
v1.108.0
Version of Immich Mobile App
-
Platform with the issue
Your docker-compose.yml content
Your .env content
Reproduction steps
Relevant log output
No response
Additional information
No response