Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xtinkt committed Jul 23, 2024
1 parent 140ee9b commit c142727
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/petals/models/llama/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,6 @@ def _sample(
if first_token is None:
first_token = valid_token

# Проверка правильности токена)
if valid_token.item() == speculative_tokens[:, i].item():
all_valid_tokens.append(valid_token.unsqueeze(-1))
else:
Expand Down

0 comments on commit c142727

Please sign in to comment.