Skip to content

Commit

Permalink
inference update
Browse files Browse the repository at this point in the history
Signed-off-by: Paarth Neekhara <[email protected]>
  • Loading branch information
paarthneekhara committed Nov 23, 2023
1 parent 271e2e3 commit 7e24168
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1977,7 +1977,7 @@ def custom_autoregressive_inference(self, batch, prompt_len, pred_steps=500, sid
if _t % 10 == 0:
print("Decoding timestep", _t)

(logits, _), _ = self.model(
(logits, _), _, _ = self.model(
curr_tokens,
curr_position_ids,
curr_attention_mask,
Expand Down

0 comments on commit 7e24168

Please sign in to comment.