Skip to content

Commit

Permalink
Update flash_causal_lm.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tgaddair authored Mar 7, 2024
1 parent 525ac7a commit 1ce89d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/lorax_server/models/flash_causal_lm.py
Original file line number Diff line number Diff line change
Expand Up @@ -1036,7 +1036,7 @@ def generate_token(
request_alternative_token_logprobs = alternative_token_logprobs[i][:num_alternatives]

# Decode tokens
request_alternative_token_texts = list()
request_alternative_token_texts = []
for alternative_token_id in request_alternative_token_ids:
all_input_ids.append(alternative_token_id)
alternative_token_text, _, _ = self.decode_token(
Expand Down

0 comments on commit 1ce89d2

Please sign in to comment.