Skip to content

Commit 8cabeac

Browse files
shoumikhinfacebook-github-bot
authored andcommitted
Fix generation speed calculation. (#2932)
Summary: Pull Request resolved: #2932 overriding_review_checks_triggers_an_audit_and_retroactive_review Oncall Short Name: executorch Differential Revision: D55904722 fbshipit-source-id: 6057bc75f812e5ae9dd057bbed7291a539d80ff6
1 parent 992e731 commit 8cabeac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/demo-apps/apple_ios/LLaMA/LLaMA/Application/ContentView.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ struct ContentView: View {
215215
tokens.append(token)
216216
if tokens.count > 2 {
217217
let text = tokens.joined()
218-
let count = text.count
218+
let count = tokens.count
219219
tokens = []
220220
DispatchQueue.main.async {
221221
withAnimation {

0 commit comments

Comments
 (0)