recipe(vitpose-base): add CPU keypoint detection recipes#1189
Draft
kujin66 wants to merge 1 commit into
Draft
Conversation
Contributor
Author
|
APPROVE (skill reviewer verdict) Reviewed PR #1189 against the
No requested changes. Leave the PR in draft state per skill workflow. |
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
Adds verified CPU recipes for
usyd-community/vitpose-basekeypoint detection. This is an L0 recipe-only contribution with CPU fp32/fp16 build, perf, L2 PyTorch-vs-ONNX numeric comparison, analyze evidence, and explicit L3 dataset blocker evidence on current PR head.Model metadata
What the model does
usyd-community/vitpose-baseis a ViTPose top-down human pose estimation model. It consumes an RGB image tensor and emits 17 COCO-style keypoint heatmaps.Primary user stories
verifiedfrom config and WinML export/build output).Supported tasks
VitPoseForPoseEstimation; WinML build/perf/L2 commands belowModel architecture
Validation and support evidence
Baseline
origin/mainatd9feefffccecfe47f08b7d2cfffb11fe57eb94df.winml config -m usyd-community/vitpose-base --task keypoint-detectionsucceeded and auto-detectedVitPoseForPoseEstimation/keypoint-detectionwithpixel_values [1, 3, 256, 192]andheatmapsoutput. Auto-config resolved device/EP to DML/GPU; this PR adds explicit CPU coverage recipes.Goal
(cpu, cpu, fp32)and(cpu, cpu, fp16)tuples.Outcome
examples/recipes/usyd-community_vitpose-base/cpu/cpu/keypoint-detection_fp32_config.jsonexamples/recipes/usyd-community_vitpose-base/cpu/cpu/keypoint-detection_fp16_config.jsonPer-EP/device/precision results
~/.cache/winml/datasets/coco_keypoints_val2017not foundBuild evidence:
Build complete in 83.1s; final artifactmodel.onnx; inputpixel_values [1, 3, 256, 192]; outputheatmaps [1, 17, 64, 48].Build complete in 64.6s; FP16 stage emitted 171.8 MB artifact; perf reportedModel Precision: fp16.L3 eval attempt evidence:
winml eval -m temp\verify_usyd_vitpose_base_fp32\model.onnx --model-id usyd-community/vitpose-base --task keypoint-detection --ep cpu --device cpufailed after schema-compatible setup because the default local dataset path had no data files:Couldn't find any data file at C:\Users\jinkun\.cache\winml\datasets\coco_keypoints_val2017.Quality gates:
3a2af091e8b831cc9d225c846c4681c4402cf981:lint,Analyze (Python),test (models),test (commands),test (analyze),test (optim),test (remaining),CodeQL, andlicense/claall completed successfully.Delta
usyd-community/vitpose-baseCPU coverage.Analyze summary
Static rule analysis completed on both fp32 and fp16 artifacts; this is compatibility analysis, not runtime execution.
Component-level summary
Op-level summary
Rule-less EPs (CUDA, MIGraphX, DML): all operators unknown in static rules.
Reproduce commands