Commit 2a9b919
committed
Fixes mask application in backward kernel computation
Adds missing mask and bias parameters to the apply_mask function call to properly handle masking during backward pass computation.
Prevents potential infinite values in gradient calculations when elements exceed the actual sequence length.1 parent d0169a5 commit 2a9b919
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
671 | 671 | | |
672 | 672 | | |
673 | 673 | | |
674 | | - | |
| 674 | + | |
675 | 675 | | |
676 | 676 | | |
677 | 677 | | |
| |||
0 commit comments