Repository navigation
Commit f98e7b2
committed
fix(pitch): add zero-phoneme defense and logging for CUBLAS debug
- PitchInference.cpp: log phoneme count/ph_dur shape/predictor input
shapes; return explicit InferenceInputInvalid when phoneCount == 0
- InputWord.cpp (preprocessPhonemeDurations): return error on zero
phonemes (protects all callers: Duration/Pitch/Variance/Acoustic)
- ChainG2p TaskImpl: remove mode restriction on empty-pronunciation
fallback — always fill missing pronunciation with original lyric
- ChainG2p-Eng config: add missing langRef=eng/default so Multig2p
receives a valid language prefix instead of empty string1 parent ae97faf commit f98e7b2
4 files changed
Lines changed: 43 additions & 4 deletions
File tree
- domains/ds-infer/lib/util/inferutil/src
- plugins
- G2P/chain/internal/V1
- diffsinger/pitch
- resources/G2pPackages/Phonetic-Suite-Eng/modules/ChainG2p-Eng
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
102 | 107 | | |
103 | 108 | | |
104 | 109 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
| 63 | + | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
329 | 329 | | |
330 | 330 | | |
331 | 331 | | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
332 | 350 | | |
333 | 351 | | |
334 | 352 | | |
335 | | - | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
336 | 361 | | |
337 | 362 | | |
338 | 363 | | |
| |||
545 | 570 | | |
546 | 571 | | |
547 | 572 | | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
548 | 582 | | |
549 | 583 | | |
550 | 584 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
0 commit comments