summaryrefslogtreecommitdiff
path: root/examples/llama.swiftui/llama.cpp.swift
diff options
context:
space:
mode:
authorGeorgi Gerganov <ggerganov@gmail.com>2023-12-18 20:05:12 +0200
committerGeorgi Gerganov <ggerganov@gmail.com>2023-12-18 20:05:12 +0200
commit6ff39b129d0281d045f83d515e51b7197b44b253 (patch)
treec12bc67a44762afc37d948e568b473734ad38438 /examples/llama.swiftui/llama.cpp.swift
parentb9e74f9bca5fdf7d0a22ed25e7a9626335fdfa48 (diff)
llama.swiftui : add more models
Diffstat (limited to 'examples/llama.swiftui/llama.cpp.swift')
-rw-r--r--examples/llama.swiftui/llama.cpp.swift/LibLlama.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/llama.swiftui/llama.cpp.swift/LibLlama.swift b/examples/llama.swiftui/llama.cpp.swift/LibLlama.swift
index 272e1fd8..464fb327 100644
--- a/examples/llama.swiftui/llama.cpp.swift/LibLlama.swift
+++ b/examples/llama.swiftui/llama.cpp.swift/LibLlama.swift
@@ -203,7 +203,7 @@ actor LlamaContext {
var pp_std: Double = 0
var tg_std: Double = 0
- for r in 0..<nr {
+ for _ in 0..<nr {
// bench prompt processing
llama_batch_clear(&batch)