From 46d7d59a82a571ef62f5b85f7d788d676b6f4714 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Mon, 22 Jun 2026 07:24:54 +0000 Subject: [PATCH] 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 Assisted-by: Claude:claude-opus-4-8 [Claude Code] --- backend/go/voice-detect/Makefile | 2 ++ gallery/index.yaml | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/backend/go/voice-detect/Makefile b/backend/go/voice-detect/Makefile index 87999f8ca..70dc887d4 100644 --- a/backend/go/voice-detect/Makefile +++ b/backend/go/voice-detect/Makefile @@ -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 diff --git a/gallery/index.yaml b/gallery/index.yaml index b79e047de..3d6595cd6 100644 --- a/gallery/index.yaml +++ b/gallery/index.yaml @@ -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: