Skip to content

Commit 8ee21af

Browse files
committed
Fix
1 parent c48a08b commit 8ee21af

File tree

1 file changed

+1
-1
lines changed
  • extension/android/executorch_android/src/main/java/org/pytorch/executorch/extension/llm

1 file changed

+1
-1
lines changed

extension/android/executorch_android/src/main/java/org/pytorch/executorch/extension/llm/LlmModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ public int generate(
161161
int seqLen,
162162
LlmCallback llmCallback,
163163
boolean echo) {
164-
prefillPrompt(prompt, 0, 0, 0);
164+
prefillPrompt(prompt);
165165
prefillImages(image, width, height, channels, 0);
166166
return generate("", llmCallback, echo);
167167
}

0 commit comments

Comments
 (0)