Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
MeouSker77 committed Aug 5, 2024
1 parent 06a5e5b commit 2b763bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/llm/src/ipex_llm/utils/benchmark_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -2452,7 +2452,7 @@ def greedy_search(
last_token_time.append(end - st)

# stop if we exceed the maximum length
if stopping_criteria(input_ids, scores):
if stopping_criteria(input_ids, scores)[0]:
this_peer_finished = True

if this_peer_finished and not synced_gpus:
Expand Down

0 comments on commit 2b763bf

Please sign in to comment.