Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Valery Chernov committed Feb 2, 2024
1 parent aaca70f commit 79780ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion serve/mlc_serve/model/model_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ def sample_loglikelihood_from_logits(
sequence_id=sequence_id,
generated_tokens=[],
error=None,
logprob_info=logprob_infos[i],
logprob_info=get_logprob_infos(i, logprob_infos),
)
)

Expand Down
2 changes: 1 addition & 1 deletion serve/mlc_serve/model/tvm_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ def generate(
input_ids,
positions,
seq_lens,
cache.cache_blocks,
self.cache_blocks,
slot_mapping,
all_logits,
self.params,
Expand Down

0 comments on commit 79780ac

Please sign in to comment.