Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tensorrt_llm/_torch/speculative/dspark.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ def _draft_gen_block_batched(
)
return block_logits

def forward(
def _forward_impl(
self,
input_ids,
position_ids,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,9 @@ class _Worker(SpecWorkerBase):
def max_draft_len(self) -> int:
return K

def _forward_impl(self, *args: object, **kwargs: object) -> None:
raise NotImplementedError


def _dispatch_meta(**over):
base = dict(
Expand Down
Loading