yams/plugins
trvon 7755f3e2b2
fix(onnx): keep one CoreML model cache per ONNX Runtime version
The ONNX plugin cached compiled CoreML models directly in the model
directory. With the plugin now able to run on either the system or the
bundled ONNX Runtime, a cache compiled by one version was reused by the
other: on macOS, after a run on Homebrew's 1.30 the bundled 1.23 failed
every embedding batch with 'Non-zero status code returned while running
..._CoreML_... node'. The default cache is now
<model dir>/coreml-ort-<runtime version>; YAMS_COREML_CACHE_DIR still
overrides it.

Verified on macOS arm64: a run on the system runtime creates
coreml-ort-1.30.0, a run with Homebrew's copy hidden uses the bundled
runtime, creates coreml-ort-1.23.0 and embeds new documents without
CoreML errors.

Signed-off-by: trvon <me@trevon.dev>
2026-10-01 23:39:41 -06:00
..
exports build(plugins): export only the plugin C ABI; hide onnx_resource internals 2026-10-01 18:51:34 -06:00
glint fix(glint): load ONNX Runtime at runtime instead of linking it 2026-10-01 22:42:15 -06:00
object_storage_s3 build(plugins): export only the plugin C ABI; hide onnx_resource internals 2026-10-01 18:51:34 -06:00
onnx fix(onnx): keep one CoreML model cache per ONNX Runtime version 2026-10-01 23:39:41 -06:00
ort_runtime feat(plugins): prefer a system ONNX Runtime, fall back to a bundled copy 2026-10-01 22:42:15 -06:00
zyp build(plugins): export only the plugin C ABI; hide onnx_resource internals 2026-10-01 18:51:34 -06:00
meson.build feat(plugins): prefer a system ONNX Runtime, fall back to a bundled copy 2026-10-01 22:42:15 -06:00