recipe(yolos-fashionpedia): add object detection recipes#1125
Draft
kujin66 wants to merge 1 commit 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. |
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.
Adds recipe coverage for
valentinafevu/yolos-fashionpediaas a YOLOSobject-detectionmodel. The currentorigin/mainbaseline already exports the checkpoint, so this is an L0 recipe-only contribution with measurable L1 value from the checked-inw8a8quantized recipe running successfully on CPU.examples/recipes/valentinafevu_yolos-fashionpedia/object-detection_fp16_config.jsonexamples/recipes/valentinafevu_yolos-fashionpedia/object-detection_w8a8_config.jsonvalentinafevu/yolos-fashionpedia | object-detectiontoexamples/recipes/README.md.75to76.temp/baseline_yolos_fashionpediatemp/yolos_fashionpedia_fp16_recipe2temp/yolos_fashionpedia_w8a8_recipetemp/yolos_fashionpedia_w8a8_perf_cpu.jsonuv run winml build -m valentinafevu/yolos-fashionpedia -o temp/baseline_yolos_fashionpedia --ep cpu --device cpu --no-analyze --no-optimize --no-quant --no-compile --rebuildBuild complete in 42.6s; final artifacttemp/baseline_yolos_fashionpedia/model.onnx.uv run winml build -c examples/recipes/valentinafevu_yolos-fashionpedia/object-detection_fp16_config.json -m valentinafevu/yolos-fashionpedia -o temp/yolos_fashionpedia_fp16_recipe2 --no-analyze --no-compile --rebuildBuild complete in 34.4s; FP16 stage ran in1.9s, artifact58.6 MB,226FLOAT16 initializers, I/O types preserved as FP32.uv run winml build -c examples/recipes/valentinafevu_yolos-fashionpedia/object-detection_w8a8_config.json -m valentinafevu/yolos-fashionpedia -o temp/yolos_fashionpedia_w8a8_recipe --no-analyze --no-compile --rebuildBuild complete in 71.1s; quantized artifact30.0 MB.model_knowledgefile is included in this Lane B model PR. Model-specific finding to record externally:yolos:valentinafevu/yolos-fashionpediaresolves asYolosForObjectDetection/object-detection; input image shape is[1,3,512,864];fp16andw8a8CPU recipes build, andw8a8runs perf.{ model_type: yolos, architectures: [YolosForObjectDetection], vendor: [], after_winml: [feature-extraction, object-detection], added_by_winml: [feature-extraction, object-detection] }L0recipe-only, using existing WinML YOLOS registration.L1, because baseline already covers L0 and the recipe delta is quantizedw8a8CPU perf evidence.L0, recipe JSON plus README row only.cpu.origin/mainand baseline HEAD were both904c20109ab31d737c5132c3686ab404236edd57.e5cd3ec3.winml --version:0.2.0.Goal-ladder verdict table
| Tier | Verdict | Evidence |
|---|---|---|
| L0 | PASS |
WinMLBuildConfig.from_dict(...).validate()passed for both recipes; fp16 recipe build completed in34.4sand emitted226FLOAT16 initializers; w8a8 recipe build completed in71.1s; ONNX input shape ispixel_values [1,3,512,864]; outputs arelogits [1,100,47]andpred_boxes [1,100,4]. || L1 | PASS | CPU EP perf on
temp/yolos_fashionpedia_w8a8_recipe/model.onnxcompleted withCPUExecutionProvider; providers snapshot was[DmlExecutionProvider, CPUExecutionProvider]; mean latency558.923 ms, p50560.175 ms, throughput1.79 samples/sec, RSS total delta305.65 MB; perf JSON saved totemp/yolos_fashionpedia_w8a8_perf_cpu.json. |Methodology-evolution declaration
_meta-044/Lane B branch-isolation rules, so no new_meta-NNNor skill-file edit is required.