Repository navigation
Add an opt-in Linux x64 OpenVINO sidecar - #263
Merged
Merged
Conversation
Document the approved oneTBB redistribution and the release dependency on the Intel SDK host and pair job. Add a same-length plugins.xml refusal case, check every layout field in the comparator test, and note the non-Intel accel diagnosis in the community checklist.
leehack
marked this pull request as ready for review
December 2, 2026 02:29
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #261. Ship OpenVINO as a separate Linux x64 asset and expose explicit probe and private registration in the owner C API. The release pairs it with the independently built Vulkan core. The loader checks the settings, plugin configuration, runtime origins, ggml binding and five build identity fields (
owner,llama.cpp,ggml,patches,target) before initializing OpenVINO. Design: docs/openvino_sidecar.md.Changelog
Production-readiness scope
UNSUPPORTED_PLATFORM. Other device IDs returnUNSUPPORTED_DEVICE. Device lists in the environment returnINVALID_SETTING.Completeness checklist
b2327071(job) andf6a4c726(job); re-running on merged heada000e2c5.fee2fdcandb2327071; conflict-only delta check pending ata000e2c5).PR type guidance
Native feature. The contract includes Linux x64 real-SDK tests, Windows typed refusal and independently built core/sidecar pairing.
Test Plan
Matrix Evidence
build-linux-openvino, Intel SDK 2026.4.1. Module 2,874,408 bytes, archive 11,973,317 bytes,DT_RPATH=$ORIGIN(noDT_RUNPATH), direct OpenVINO, oneTBB and OpenCL loaderNEEDED, 7 libraries within the glibc 2.38 ceilingf6a4c726; re-running ata000e2c5openvino-sidecar-pair: independently built Vulkan core and OpenVINO archives, CPU decode through the private device, five identity refusals, identity controls and runtime-origin casesf6a4c726; re-running ata000e2c5openvino-sidecar-contract,linux-artifact-contract(x64, arm64),wrapper-contract, release provenanceb2327071(wrapper-contractandverifyalso passed atf6a4c726); re-running ata000e2c5NO_DEVICEon a foreign runtime preload. The origin guard returnsFOREIGN_RUNTIMEon the same fixture.a000e2c5(52/52; sidecar validator PASS; also passed atf6a4c726andb2327071after mutation runs)llamadart_hexagon_startup_*cases +llamadart_openvino_identity_test+llamadart_grammar_top_k_make-model+llamadart_grammar_top_k_test+llamadart_grammar_top_k_p_test(wrapper-contractLinux x64 GCC Debug, plus grammar boundary and 126-symbol export check)a000e2c5(8/8)test_*.pytooling tests (one platform skip), 23*_test.pytests, and release provenance verifiera000e2c5b2327071b2327071; re-running ata000e2c5Mutation controls
26 mutations, each caught; the 52 cases passed again after restoring the source. Runners: loader mutations and ELF mutations (kept outside the repo as local evidence).
openvino-*plugin directory refusalstrcmpof the full build identity)identity-config,-compiler,-backends,-options)patchesfieldplugins.xmlby length only (audit N1)plugin-list-mismatch-same-length)backendterm from the layout comparator (audit N3)identity_test)plugins.xml, missingDT_RPATH,DT_RUNPATHin place ofDT_RPATH, no direct oneTBBNEEDEDThe whole-string mutation was run against the local contract build; the hosted pair job was not run against it. Same-tree contract cases stay green under that mutation, so the pair job's independently built core and sidecar remain the intended hosted control.
Review Notes
storage.openvinotoolkit.org) and on theopenvino-sidecar-pairjob, whichpackage-and-releaserequires. Recorded in docs/openvino_sidecar.md.NEEDEDentry fails static validation. WithDT_RPATH, the runtime still resolves oneTBB transitively, as expected.Community NPU qualification (not run here)
Full procedure: docs/openvino_sidecar.md. Required on both Lunar Lake and Panther Lake:
/dev/accelhost: record the result of an NPU request (the diagnosis can returnMISSING_DRIVERorDEVICE_ACCESS_DENIEDinstead ofNO_DEVICE)./dev/acceldenied, Level Zero loader absent, and a working setup.llama-cli, cold and warm cache, clean exit with a live context.LD_DEBUG=files: does an Intel NPU driver map its ownlibopenvino*object? If so the probe returnsFOREIGN_RUNTIMEon a working machine (design I7, unverified).flutter build linuxanddart buildkeepDT_RPATH=$ORIGIN, unchangedplugins.xmland a flat directory of regular files (readelf -d)?High-risk regression review
fee2fdcand delta-clean atb2327071(delta-audit-263-b2327070.md); conflict-only delta check pending ata000e2c5(merge-only sync withorigin/mainf914d88e, resolving only.github/workflows/validate_wrapper.ymlandtests/test_validate_exports.pyas the exact union, 126 exports).a000e2c52358b77762118a01d0d4629c80aeaf00/f914d88e3a38fd53e94a9f0da13f4aca796bcade.DT_RPATHpreservation remain unverified.a000e2c5.