vxpu/plan: emit pass-through plan for models with no custom ops #813
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.37) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.37 · 222 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 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
Diff Size
diff_size
0.323
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #813"
general
weight: 0.35
codebot-robot
For a model with none of our custom operations (such as tiny Llama exported
from transformers), vxpu plan emit produces a pass-through plan containing
artifact_md5, tree_commit, and the artifact's macroscopic family sites (one
DENSE_GEMV per two-dimensional bound weight and three named after each layer:
attn, attn.sum, ffn.sum). These sites come from EmitFromArtifact guessing sites
from tensor names in the binding (pkg/kernelplan/plan.go), not from the graph,
and for Llama match no call site; all have strategy "default" and body unset,
with zero knobs and zero planned graph call sites, so nothing acts on them for
this model.
The RequiredPackages rule remains unchanged for now: the plan does not yet
declare whether it targets an ahead-of-time or plain-PyTorch runtime, so
plan packages on the Llama plan continues to report a package (submod_0)
that it does not need. That runtime declaration is owed to a follow-up move.
Define a pass-through tree narrowly: when the graph has no call sites of
our ops and the plan names no body and sets no knob. The tree page uses
this definition to display "Pass-through plan: Every call site runs the engine's
own implementation", render that every call site runs the engine's own
implementation under segments, and omit the rendered unmatched-section.
Plans whose planned sites fail to match the graph retain their unmatched
warning note and table.
In tests/e2e/e2e_test.go, verify that vxpu plan emit on tiny Llama produces
the pass-through plan with its macroscopic family sites, all bodies unset,
and no knobs, and that the tree page renders plainly stating that every call
site runs the engine's own implementation without rendering the unmatched-section
element. Document pass-through plans in vxpu/docs/design.md.
Fixes #802