FA3 Spec Decoding to support top k = 1 and add cuda graph support (#5050)

Co-authored-by: Qingquan Song <ustcsqq@gmail.com>
Co-authored-by: Chunan Zeng <zcnrex@gmail.com>
This commit is contained in:
authored and GitHub committed 2025-04-04 23:03:59 -07:00
1 parent 3f287b8579
commit ca8d02abd5
2 files changed
+270 -119

No files matched your search

@@ -104,6 +104,9 @@ class ForwardMode(IntEnum):
or self == ForwardMode.IDLE
)
def is_extend_or_draft_extend(self):
return self == ForwardMode.EXTEND or self == ForwardMode.DRAFT_EXTEND
def is_dummy_first(self):
return self == ForwardMode.DUMMY_FIRST