recipe(yolos-fashionpedia): add object detection recipes#1125
Draft
kujin66 wants to merge 3 commits into
Draft
Conversation
Author
|
Reviewer-style verification (not a formal GitHub approval; same account authored the PR):
Remaining gate: external maintainer/reviewer approval and conversion from Draft to Ready. |
ssss141414
force-pushed
the
kujin66/add-yolos-fashionpedia-recipe
branch
from
July 22, 2026 20:07
9ac2bbf to
2d15c75
Compare
Contributor
|
APPROVE Independent final-head re-verification completed for
The earlier author verification comment is superseded by this current-main, final-head fp32/fp16 evidence. |
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 nested CPU recipe coverage for the pinned YOLOS Fashionpedia object-detection checkpoint:
examples/recipes/valentinafevu_yolos-fashionpedia/cpu/cpu/object-detection_fp32_config.jsonexamples/recipes/valentinafevu_yolos-fashionpedia/cpu/cpu/object-detection_fp16_config.jsonThe model is already exportable on current
main, so this remains an L0 recipe-only contribution. No source, test, skill, or README files are changed.Original recipe contribution and model selection are credited to @kujin66 (
jinkun@microsoft.com); the contributor-authored commit is preserved after rebasing onto currentmain.Frozen identity and scope
valentinafevu/yolos-fashionpedia0cfdb77c01cfbf0838b940ecff9c572f84c9d4f4yolos/YolosForObjectDetection/object-detectiondetection-datasets/fashionpedia80845435ce686b8a9dbf70a05452fbfb8e09cdd75deebd422e95f28fe8fd912ee50ce874710187b3Optimum natively registers YOLOS object detection. Current main recipe-free export, optimize, perf, and pinned Fashionpedia evaluation all succeed; the recipe supplies exact CPU precision and authoritative evaluation metadata rather than a model-class source fix.
Export contract
pixel_values, float32[1, 3, 512, 864]logits[1, 100, 47],pred_boxes[1, 100, 4]Verification
All final evidence was collected from a fresh detached checkout of commit
2d15c75a4b005ec60cceb1f04e3cde83a32d534cusing the immutable local Hugging Face snapshot above.4.107905e-7(threshold1e-4)3.402890e-4(threshold2e-2)0.00818338340.00818338340.0334050804/0.00090400340.0334050804/0.0009040034L3 used pinned
val, deterministic first 10 streaming samples, 93 ground truths, and 1000 predictions withimage/objectsand absolutexywhboxes. Both precisions exactly match the current-main fp32 baseline mAP on this sample.The fp16 artifact is smaller, but CPU fp16 is slower and uses more RSS on this host; this PR claims compatibility and parity, not a CPU speedup.
Component and operator analysis
Castfor 15.GeluPatternis informationally unknown.Quality gates
modelsCI partition (models,loader,datasets,export): PASSHost note
This machine's auto-installed OpenVINO 1.8.15.0 plugin cannot load because
openvino.dllis missing. Without isolation, valid CPU perf/eval JSON is written and process teardown exits with Windows0xC0000005. Final evidence uses the established fail-closed review shim to disable the broken Windows ML EP catalog while retaining ONNX RuntimeCPUExecutionProvider; all final build, perf, and eval commands exit 0. This is host packaging friction, not a YOLOS recipe or methodology blocker.