fix: build vNPU artifacts for each plugin image architecture #153
All Vouch review confidence checks passed
Residual risk 0.22 = Change Risk (0.39) × (1 − Review Confidence (0.43)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 254 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.332
Real PR Conversation Timeline
1 comments
"Review active on #153"
general
weight: 0.35
spencercjh
What type of PR is this?
Bug fix
What this PR does / why we need it:
The AMD64 image currently downloads the ARM64 vNPU bundle. Its checksum is valid, so CI can publish an AMD64 plugin containing an AArch64 preload library.
Build the pinned core on native AMD64 and ARM64 runners, upload architecture-qualified artifacts, and download the matching bundle in each image leg. Keep checksum, ELF machine and build-provenance validation directly in the existing CI steps. Update the English/Chinese READMEs and HAMi/Volcano guides to describe the matching platform builds.
Which issue(s) this PR fixes:
Fixes #152
Special notes for your reviewer:
actionlint(ShellCheck integration disabled) and whitespace checks pass, preserving the READMEs' existing CRLF endings.591cfdd. Both matching targets pass. An ARM64 bundle with valid checksums is rejected for the AMD64 target.Does this PR introduce a user-facing change?:
AMD64 images receive an AMD64
libvnpu.so; mismatched architecture or provenance fails validation before image construction.AI Disclosure:
AI assistance was used for diagnosis, implementation and validation.
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- coderabbit-ai-generated:v1 -->
Summary by CodeRabbit
New Features
VNPU support now includes Linux AMD64 alongside ARM64, with plugin images using the matching architecture’s library.
Documentation
Updated build and deployment guidance for selecting an architecture and verifying artifacts. ENPU runtime assets remain ARM64-only.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->