Add test config for coqui/XTTS-v2 model #5376
Draft
ashokkumarkannan1 wants to merge 1 commit into
Draft
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #5376 +/- ##
==========================================
+ Coverage 33.81% 33.85% +0.04%
==========================================
Files 37 37
Lines 4992 4992
==========================================
+ Hits 1688 1690 +2
+ Misses 3304 3302 -2 ☔ View full report in Codecov by Harness. |
3603d3c to
abecb37
Compare
Adds the XTTS-v2 (coqui/XTTS-v2) runner test_config entry and a CPU logic-equivalence test, and bumps tt_forge_models to the XTTS-v2 loader. The model compiles and runs end-to-end on TT (PCC 0.82 vs CPU) once the HiFiGAN decoder's no-op squeezes are rewritten as reshape. Without that workaround it fails FE compilation on prims::view_of, a tt functionalization limitation tracked in #5375. This branch intentionally omits the decoder workaround so the failure stays visible; config is marked KNOWN_FAILURE_XFAIL (FAILED_FE_COMPILATION) linking #5375. The CPU equivalence test (tests/torch/models/xtts_v2) confirms the custom forward matches native Xtts.inference at PCC 1.0, isolating the issue to the compiler.
abecb37 to
128ff82
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.
Ticket
Problem description
.squeeze(1)lowers toprims::view_of, which thettfunctionalization pass cannot handle, so the model fails FE compilation.What's changed
tt_forge_modelsto the XTTS-v2ModelLoader(Bringup XTTS-v2 (coqui/XTTS-v2) text-to-speech model tt-forge-models#784).test_configentryxtts_v2/pytorch-XTTS_v2-single_device-inference, markedKNOWN_FAILURE_XFAIL/FAILED_FE_COMPILATIONwith a link to torch.compile (tt backend) functionalization fails on prims::view_of from no-op squeeze(dim) #5375.tests/torch/models/xtts_v2/CPU equivalence test asserting the custom forward matches nativeXtts.inferenceat PCC 1.0 (isolates the issue to the compiler, not the bringup logic).EXPECTED_PASSING(assert_pcc:false).Results
prims::view_of(#5375)Checklist
Logs