Commit a893712
authored
Fix local attention (#102)
* fix local attention
Signed-off-by: Lucas Wilkinson <[email protected]>
* use tot_seqlen_k
Signed-off-by: Lucas Wilkinson <[email protected]>
* more stable fix
Signed-off-by: Lucas Wilkinson <[email protected]>
* better error message
Signed-off-by: Lucas Wilkinson <[email protected]>
* make consistent with og dcp pr
Signed-off-by: Lucas Wilkinson <[email protected]>
---------
Signed-off-by: Lucas Wilkinson <[email protected]>1 parent d9e577e commit a893712
2 files changed
+9
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1170 | 1170 | | |
1171 | 1171 | | |
1172 | 1172 | | |
| 1173 | + | |
| 1174 | + | |
| 1175 | + | |
1173 | 1176 | | |
1174 | 1177 | | |
1175 | 1178 | | |
| |||
0 commit comments