Skip to content

Commit 286c508

Browse files
localai-botmudler
andauthored
feat(backends): darwin build for the localvqe backend (acoustic echo cancellation) (#10512)
feat(backends): darwin build for the localvqe backend LocalVQE (acoustic echo cancellation / noise suppression / dereverberation) already builds on Darwin - its Makefile takes the OS=Darwin branch with GGML_METAL=OFF (upstream is CPU + Vulkan only), producing a native arm64 CPU image. It was just never wired into CI. - .github/backend-matrix.yml: add localvqe to includeDarwin (build-type metal, lang go) - the darwin/arm64 build profile; the backend itself stays CPU. - backend/index.yaml: metal: capability + concrete metal-localvqe(-development) entries pointing at the -metal-darwin-arm64-localvqe images. - backend/go/localvqe/Makefile: note on the existing Darwin branch (also the per-backend change the CI path filter needs to build it here). Assisted-by: Claude:opus-4.8 [Claude Code] Signed-off-by: Ettore Di Giacinto <mudler@localai.io> Co-authored-by: Ettore Di Giacinto <mudler@localai.io>
1 parent d1a9d59 commit 286c508

3 files changed

Lines changed: 20 additions & 0 deletions

File tree

.github/backend-matrix.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4941,6 +4941,12 @@ includeDarwin:
49414941
tag-suffix: "-metal-darwin-arm64-sam3-cpp"
49424942
build-type: "metal"
49434943
lang: "go"
4944+
# LocalVQE has no Metal path; on Apple Silicon it builds CPU-only (GGML_METAL
4945+
# OFF) but is still a native arm64 image. Uses the darwin/metal build profile.
4946+
- backend: "localvqe"
4947+
tag-suffix: "-metal-darwin-arm64-localvqe"
4948+
build-type: "metal"
4949+
lang: "go"
49444950
- backend: "voxtral"
49454951
tag-suffix: "-metal-darwin-arm64-voxtral"
49464952
build-type: "metal"

backend/go/localvqe/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ endif
3232
ifeq ($(BUILD_TYPE),vulkan)
3333
CMAKE_ARGS+=-DGGML_VULKAN=ON -DLOCALVQE_VULKAN=ON
3434
else ifeq ($(OS),Darwin)
35+
# Apple Silicon: CPU-only (no Metal upstream); built + published as an arm64
36+
# image by CI (includeDarwin in .github/backend-matrix.yml) for macOS install.
3537
CMAKE_ARGS+=-DGGML_METAL=OFF
3638
endif
3739

backend/index.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1057,6 +1057,8 @@
10571057
nvidia-l4t: "vulkan-localvqe"
10581058
nvidia-l4t-cuda-12: "vulkan-localvqe"
10591059
nvidia-l4t-cuda-13: "vulkan-localvqe"
1060+
# Apple Silicon: CPU build (LocalVQE has no Metal path); still arm64-native.
1061+
metal: "metal-localvqe"
10601062
- &privacyfilter
10611063
name: "privacy-filter"
10621064
alias: "privacy-filter"
@@ -4149,6 +4151,16 @@
41494151
uri: "quay.io/go-skynet/local-ai-backends:master-gpu-vulkan-localvqe"
41504152
mirrors:
41514153
- localai/localai-backends:master-gpu-vulkan-localvqe
4154+
- !!merge <<: *localvqecpp
4155+
name: "metal-localvqe"
4156+
uri: "quay.io/go-skynet/local-ai-backends:latest-metal-darwin-arm64-localvqe"
4157+
mirrors:
4158+
- localai/localai-backends:latest-metal-darwin-arm64-localvqe
4159+
- !!merge <<: *localvqecpp
4160+
name: "metal-localvqe-development"
4161+
uri: "quay.io/go-skynet/local-ai-backends:master-metal-darwin-arm64-localvqe"
4162+
mirrors:
4163+
- localai/localai-backends:master-metal-darwin-arm64-localvqe
41524164
## kokoro
41534165
- !!merge <<: *kokoro
41544166
name: "kokoro-development"

0 commit comments

Comments
 (0)