Skip to content

Commit 29991e4

Browse files
committed
Fix again
Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags:
1 parent 9ff30f4 commit 29991e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/models/llama2/runner/runner.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,8 @@ Error Runner::generate(
204204

205205
// print prompts
206206
wrapped_callback(prompt);
207-
208-
auto prefill_res = text_prefiller_->prefill(prompt_tokens, 0l);
207+
int64_t pos = 0;
208+
auto prefill_res = text_prefiller_->prefill(prompt_tokens, pos);
209209
stats_.first_token_ms = util::time_in_ms();
210210
stats_.prompt_eval_end_ms = util::time_in_ms();
211211
ET_CHECK_OK_OR_RETURN_ERROR(prefill_res.error());

0 commit comments

Comments
 (0)