Commit d35e707
committed
refactor: simplify sliding window sparse config logic
Streamline the assignment of sparse_mode, pre_tokens, and next_tokens
when configuring sliding window attention.
Signed-off-by: vv <939082363@qq.com>1 parent 543ff23 commit d35e707
1 file changed
Lines changed: 3 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
618 | 618 | | |
619 | 619 | | |
620 | 620 | | |
621 | | - | |
622 | | - | |
623 | | - | |
624 | | - | |
625 | | - | |
626 | | - | |
627 | | - | |
628 | | - | |
629 | | - | |
630 | | - | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
631 | 624 | | |
632 | 625 | | |
633 | 626 | | |
| |||
0 commit comments