recipe(wav2vec2): add jakeBland/wav2vec-vm-finetune (audio-classification)#1114
Merged
Merged
Conversation
b5bff76 to
3446e5e
Compare
DingmaomaoBJTU
approved these changes
Jul 16, 2026
…inetune Recipe-only PR. Adds fp32 and fp16 recipe configs for jakeBland/wav2vec-vm-finetune (Wav2Vec2ForSequenceClassification) on two verified EP/device combinations: cpu/cpu and dml/gpu. Recipes added: - examples/recipes/jakeBland_wav2vec-vm-finetune/cpu/cpu/audio-classification_fp32_config.json - examples/recipes/jakeBland_wav2vec-vm-finetune/cpu/cpu/audio-classification_fp16_config.json - examples/recipes/jakeBland_wav2vec-vm-finetune/dml/gpu/audio-classification_fp32_config.json - examples/recipes/jakeBland_wav2vec-vm-finetune/dml/gpu/audio-classification_fp16_config.json Goal ladder (verified on local hardware): - L0 (build): PASS on all 4 configs - L1 (perf): - cpu/cpu fp32: 128ms avg, 7.78 samples/s - cpu/cpu fp16: 128ms avg, 602MB (50% size reduction) - dml/gpu fp32: 35ms avg, 28.54 samples/s (3.7x vs cpu) - dml/gpu fp16: 35ms avg, 28.53 samples/s
3446e5e to
54718c3
Compare
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.
Recipe-only contribution (Effort L0). Adds fp32 and fp16 recipe configs for
jakeBland/wav2vec-vm-finetune (
Wav2Vec2ForSequenceClassification, taskaudio-classification)on two verified EP/device combinations: CPU and DML (GPU). Goal L1 (perf) PASS on all 4 configs.
1. Recipe path(s)
examples/recipes/jakeBland_wav2vec-vm-finetune/cpu/cpu/audio-classification_fp32_config.jsonexamples/recipes/jakeBland_wav2vec-vm-finetune/cpu/cpu/audio-classification_fp16_config.jsonexamples/recipes/jakeBland_wav2vec-vm-finetune/dml/gpu/audio-classification_fp32_config.jsonexamples/recipes/jakeBland_wav2vec-vm-finetune/dml/gpu/audio-classification_fp16_config.json2. README row
N/A — README not modified in this PR. The model has not yet passed fp16 eval on all 10 (EP, device) buckets; only cpu/cpu and dml/gpu are verified.
3. Build output dir
temp/wav2vec_cpu_fp32/(cpu/cpu fp32)temp/wav2vec_cpu_fp16/(cpu/cpu fp16)temp/wav2vec_dml_fp32/(dml/gpu fp32)temp/wav2vec_dml_fp16/(dml/gpu fp16)4. Build log
All 4 configs completed successfully:
✅ Build complete in 56.2s(Export 29.7s, Optimize 25.5s)✅ Build complete in 64.0s(Export 28.8s, Optimize 24.3s, FP16 10.3s)✅ Build complete in 53.2s(Export 28.2s, Optimize 24.2s)✅ Build complete in 54.0s(Export 28.5s, Optimize 24.7s)5. Appended findings
N/A — no
model_knowledge/orskill_meta/entries added (recipe-only L0 contribution; skill repo is separate from this working repo).6. Optimum-coverage probe
N/A —
wav2vec2architecture is already supported by Optimum'sWav2Vec2OnnxConfig. No custom OnnxConfig was needed.7. Claimed (Effort, Goal, Outcome)
8. Goal-ladder verdict table
winml buildwinml perf(see item 10)9. Methodology-evolution declaration
No methodology friction observed during this contribution.
10. Perf & eval data
Model size: fp32 = 1204.57 MB (export) → 1.2 GB (optimized); fp16 = 602.4 MB (quantized, 50% size reduction).
11. Component / op-level data
From
winml analyze(post-optimization):gelu_fusion,matmul_add_fusion(autoconf converged in 2 iterations, 897 → 771 nodes)unknown(no per-EP support matrix available in current analyze data)temp/wav2vec_cpu_fp32/analyze_result.json12. Reproducible commands