Commit 7a8e9a0
committed
Fix OOB decode crash when right_padding_size >> chunk_size in buffered RNNT pipeline
enc_lens_dec was left unclamped for a request's final chunk, letting it exceed
the actual post-left-padding tensor size and feed an out-of-bounds time index
into the TDT decoder (CUDA index-out-of-bounds assert).
Signed-off-by: naymaraq <dkaramyan@nvidia.com>1 parent 8270308 commit 7a8e9a0
1 file changed
Lines changed: 9 additions & 2 deletions
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
706 | 706 | | |
707 | 707 | | |
708 | 708 | | |
709 | | - | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
710 | 717 | | |
711 | 718 | | |
712 | 719 | | |
713 | 720 | | |
714 | 721 | | |
715 | 722 | | |
716 | 723 | | |
717 | | - | |
| 724 | + | |
718 | 725 | | |
719 | 726 | | |
720 | 727 | | |
| |||
0 commit comments