fix(recon): voice-detect metal build branch + face-detect gallery usecases

Add the missing metal BUILD_TYPE branch to the voice-detect Makefile
forwarding -DVOICEDETECT_GGML_METAL=ON, mirroring face-detect, so the
darwin metal CI artifact is built with the Metal backend instead of
CPU-only.

Expand the 4 face-detect gallery models' known_usecases to
[face_recognition, detection, embeddings] to match the backend
capabilities map and the mirrored insightface-buffalo entries, so
auto-selection for /v1/detect and /embeddings works.

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
Assisted-by: Claude:claude-opus-4-8 [Claude Code]
This commit is contained in:
Ettore Di Giacinto
2026-06-22 07:24:54 +00:00
parent e3bca9a172
commit 46d7d59a82
2 changed files with 10 additions and 0 deletions

View File

@@ -44,6 +44,8 @@ else ifeq ($(BUILD_TYPE),hipblas)
CMAKE_ARGS+=-DVOICEDETECT_GGML_HIP=ON
else ifeq ($(BUILD_TYPE),vulkan)
CMAKE_ARGS+=-DVOICEDETECT_GGML_VULKAN=ON
else ifeq ($(BUILD_TYPE),metal)
CMAKE_ARGS+=-DVOICEDETECT_GGML_METAL=ON
endif
.PHONY: voice-detect-grpc package build clean purge test all

View File

@@ -8481,6 +8481,8 @@
backend: face-detect
known_usecases:
- face_recognition
- detection
- embeddings
options:
- verify_threshold:0.35
parameters:
@@ -8518,6 +8520,8 @@
backend: face-detect
known_usecases:
- face_recognition
- detection
- embeddings
options:
- verify_threshold:0.35
parameters:
@@ -8554,6 +8558,8 @@
backend: face-detect
known_usecases:
- face_recognition
- detection
- embeddings
options:
- verify_threshold:0.35
parameters:
@@ -8590,6 +8596,8 @@
backend: face-detect
known_usecases:
- face_recognition
- detection
- embeddings
options:
- verify_threshold:0.363
parameters: