Commit 34a3f35
committed
[None][fix] Use dynamic tree SpecTreeManager in kv_cache_relocation test + add docs
Switch SpecTreeManager in test_llama_verification_with_kv_cache_relocation
from static tree (use_dynamic_tree=False) to dynamic tree mode, removing
the eagle_choices parameter. Fixes RuntimeError on H100 (sm<100) where
flat single-level eagle_choices produced empty top_k_list tensors.
Also add EAGLE3 dynamic tree mode documentation to speculative-decoding.md
per reviewer request.
Signed-off-by: qgai <qgai@nvidia.com>1 parent 2ac3662 commit 34a3f35
File tree
2 files changed
+49
-9
lines changed- docs/source/features
- tests/unittest/_torch/modeling
2 files changed
+49
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
53 | 83 | | |
54 | 84 | | |
55 | 85 | | |
| |||
199 | 229 | | |
200 | 230 | | |
201 | 231 | | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
202 | 244 | | |
203 | 245 | | |
204 | 246 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
611 | 611 | | |
612 | 612 | | |
613 | 613 | | |
614 | | - | |
615 | 614 | | |
616 | 615 | | |
617 | | - | |
| 616 | + | |
618 | 617 | | |
619 | 618 | | |
620 | | - | |
| 619 | + | |
621 | 620 | | |
622 | 621 | | |
623 | 622 | | |
| |||
630 | 629 | | |
631 | 630 | | |
632 | 631 | | |
633 | | - | |
| 632 | + | |
634 | 633 | | |
635 | 634 | | |
636 | 635 | | |
| |||
687 | 686 | | |
688 | 687 | | |
689 | 688 | | |
690 | | - | |
691 | 689 | | |
692 | 690 | | |
693 | | - | |
| 691 | + | |
694 | 692 | | |
695 | 693 | | |
696 | | - | |
| 694 | + | |
697 | 695 | | |
698 | 696 | | |
699 | 697 | | |
| |||
706 | 704 | | |
707 | 705 | | |
708 | 706 | | |
709 | | - | |
| 707 | + | |
710 | 708 | | |
711 | 709 | | |
712 | 710 | | |
| |||
0 commit comments