Fixed search crash with zero‑vector chunks and enabled CoreML GPU acceleration on Apple Silicon.
Full changelog
Bug Fixes
- Fix search crash with zero-vector chunks (#22):
vec_distance_cosine()returns NULL for zero vectors (stored as a fallback when chunk embedding fails). The scanner now handles NULL distances gracefully and skips those chunks instead of crashing. - Fix CoreML GPU acceleration on Apple Silicon (#21): The
MLComputeUnitsoption value wasCPU_AND_GPU(underscore) but ONNX Runtime expectsCPUAndGPU(CamelCase). M1/M2/M3 Macs will now correctly use CoreML GPU acceleration instead of falling back to CPU.
Full Changelog: https://github.com/tomohiro-owada/devrag/compare/v1.4.3...v1.4.4