Fix normalized image input ranges and add VitPose CPU recipes - #1259
Fix normalized image input ranges and add VitPose CPU recipes#1259ssss141414 wants to merge 1 commit into
Conversation
|
INDEPENDENT REVIEW VERDICT: APPROVE Reviewed exact head a27ff56 from a fresh detached checkout against baseline b7a7b89. Scope and code: one commit, six expected files; generic float32 processor-derived low-inclusive/high-exclusive range math; no model/checkpoint branch; obsolete ByteSize/90%-of-2-GB heuristic absent from the source delta; export policy imports EP_DEVICE_SPECS through the winml.modelkit.session facade. Both CPU recipes carry the expected VitPose loader metadata, pixel_values float32[1,3,256,192], range [-2.1179039478302, 2.640000343322754), heatmaps output, and fp32/fp16 quantization policy. Evidence: model/checkpoint and baseline metadata are coherent; L0/L1/L2 tuples, 17/17 peak parity, 12/12 analyze profiles with zero unmapped nodes, and the explicit L3 dataset blocker are corroborated by the sealed tester artifacts. Reproduction commands match the changed surfaces and claimed gates. Validation: detached-tree focused suite 177 passed; detached-path Ruff passed; all nine GitHub checks completed successfully. Review threads: 0. Issue comments before verdict: 0. Inline comments: 0. Existing reviews: 0. No concrete blocker found. Draft state and model-scale-by-skill label should remain unchanged. |
Summary
usyd-community/vitpose-plus-hugeon CPU fp32/fp16.do_rescale,rescale_factor,do_normalize,image_mean, andimage_stdmetadata. There is no VitPose, model-ID, or checkpoint branch.winml.modelkit.sessionfacade.ByteSize()/ 90%-of-2-GB heuristic. Currentmainalready uses the mergedEncodeError-only FP16 retry from fix(fp16): support facebook mms-lid-256 #1176.Baseline and model metadata:
b7a7b893d757bb8e52b5b5a594a9aa72f0c0fff4a27ff56c0.2.0usyd-community/vitpose-plus-huge, pinned checkpoint9f36d7aec1800d23e97f10c2e74393aee92aa53fkeypoint-detection/VitPoseForPoseEstimation/vitposepixel_values float32[1,3,256,192] -> heatmaps float32[1,17,64,48][-2.1179039478302, 2.640000343322754); generated-current-main baseline was[0, 1)Validation
(PASS, 951 FLOAT, 3,605,484,544 data bytes)(100 samples, P50 744.290 ms, mean 745.967 ms, 1.34 samples/s)(cos 0.9999999999992747, max_abs 1.3411045e-07, peaks 17/17, keypoint max error 3.41197e-05 px)(PASS, 951 FLOAT16, 0 FLOAT, 2 boundary Casts, 1,802,615,296 data bytes, ratio 0.4999648)(100 samples, P50 830.265 ms, mean 877.334 ms, 1.14 samples/s)(cos 0.9999994900305015, max_abs 1.2671202e-04, peaks 17/17, keypoint max error 0.007460596 px)winml analyze --ep all: 12/12 profiles report(models, operators, unmapped) = (1, 1839, 0)for fp32 and(1, 1841, 0)for fp16. Component mapping has zero unmapped nodes; fp16 adds only the two I/O boundary Casts.DATASET_BLOCKERfor both precisions. The compatible COCO-17 evaluator/schema/model contract resolves and reaches loading, but the configured~/.cache/winml/datasets/coco_keypoints_val2017corpus contains no data files. No accuracy claim is made.PASS_L0_L2__L3_DATASET_BLOCKED.Reproduction