mirror of
https://github.com/mudler/LocalAI.git
synced 2026-06-22 07:39:02 -04:00
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:
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user