Commit 2139b27
committed
Refactor ACL graph size adjustment for speculative decoding
Move the logic for adjusting ACL graph capture sizes for speculative decoding from the generic utility module into a dedicated method within the compilation configuration.
This change improves code organization and encapsulation by making the compilation configuration responsible for managing its own state. The model runner now triggers this adjustment directly, providing the necessary context.
Signed-off-by: Yizhou Liu <[email protected]>1 parent ea54388 commit 2139b27
2 files changed
+12
-31
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
571 | 571 | | |
572 | 572 | | |
573 | 573 | | |
574 | | - | |
575 | | - | |
576 | | - | |
577 | | - | |
578 | | - | |
579 | | - | |
580 | | - | |
581 | | - | |
582 | | - | |
583 | | - | |
584 | | - | |
585 | | - | |
586 | | - | |
587 | | - | |
588 | | - | |
589 | | - | |
590 | | - | |
591 | | - | |
592 | | - | |
593 | | - | |
594 | 574 | | |
595 | 575 | | |
596 | 576 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3910 | 3910 | | |
3911 | 3911 | | |
3912 | 3912 | | |
| 3913 | + | |
| 3914 | + | |
| 3915 | + | |
| 3916 | + | |
| 3917 | + | |
| 3918 | + | |
| 3919 | + | |
| 3920 | + | |
| 3921 | + | |
| 3922 | + | |
3913 | 3923 | | |
3914 | 3924 | | |
3915 | 3925 | | |
| |||
4005 | 4015 | | |
4006 | 4016 | | |
4007 | 4017 | | |
4008 | | - | |
4009 | | - | |
4010 | | - | |
4011 | | - | |
4012 | | - | |
4013 | | - | |
4014 | | - | |
4015 | | - | |
4016 | | - | |
4017 | | - | |
4018 | | - | |
| 4018 | + | |
| 4019 | + | |
4019 | 4020 | | |
4020 | 4021 | | |
4021 | 4022 | | |
| |||
0 commit comments