Skip to content

Commit

Permalink
wrong comment
Browse files Browse the repository at this point in the history
  • Loading branch information
masahi committed Dec 8, 2023
1 parent 5382004 commit 55045d0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions serve/mlc_serve/engine/engine_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,7 @@ def decode_last_output(
else:
prefix_idx = generation_sequence.next_start_position

# TODO(masahi): No need to add prompt_token_ids here if we send
# the prompt len instead
# TODO(masahi): Figure out a way to remove this concat
token_ids = prompt_tokens + generation_sequence.generated_token_ids

if prefix_idx == 0:
Expand Down

0 comments on commit 55045d0

Please sign in to comment.