recipe(ms-marco-MiniLM-L12-v2): add CPU fp32 and fp16 recipes#1170
Open
codykk wants to merge 1 commit into
Open
recipe(ms-marco-MiniLM-L12-v2): add CPU fp32 and fp16 recipes#1170codykk wants to merge 1 commit into
codykk wants to merge 1 commit into
Conversation
codykk
marked this pull request as ready for review
July 22, 2026 12:12
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.
Add verified CPU recipes (fp32 + fp16) for
cross-encoder/ms-marco-MiniLM-L12-v2, a BERT-based cross-encoder fine-tuned on MS MARCO for passage reranking. Effort L0, Goal L1 (build + perf), Outcome L0 (recipe only). Complements existing L4-v2 and L6-v2 recipes in the same cross-encoder family.Model metadata
What the model does: Cross-encoder reranker that scores query-passage relevance for information retrieval, fine-tuned from MiniLM-L12 on the MS MARCO passage ranking dataset.
Primary user stories:
Supported tasks:
text-classification— Optimum vendor-supported (BertForSequenceClassification); winml resolves via TasksManager.Model architecture:
config.json(architectures: ["BertForSequenceClassification"],model_type: "bert") (verified).Validation and support evidence
Baseline
5deebd42| winml:0.2.0text-classificationregistered by Optimum forbert; winml adds nothing.AutoModelForSequenceClassification/text-classificationGoal
Outcome
Highest reached: L1 PASS. Coverage: full. Deferred tuples: none.
Shipped recipes:
examples/recipes/cross-encoder_ms-marco-MiniLM-L12-v2/cpu/cpu/text-classification_fp32_config.jsonexamples/recipes/cross-encoder_ms-marco-MiniLM-L12-v2/cpu/cpu/text-classification_fp16_config.jsonPer-EP/device/precision results
Delta
Recipe delta vs
winml config: identical — filed for verifiedcpu/cpucoverage. Production recipe README unchanged.Analyze summary — component level and op level
Static rule analysis completed; this is compatibility analysis, not runtime execution.
Component-level summary
Op-level summary
Rule-less EPs (CPU): all operator types classified as unknown — no runtime check rules available.
Reproduce commands