Skip to content

Commit d03a5a2

Browse files
committed
cont
1 parent bebf5d7 commit d03a5a2

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

examples/batched.swift/Sources/main.swift

-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ var tokens = tokenize(text: prompt, add_bos: true)
3636
let n_kv_req = UInt32(tokens.count) + UInt32((n_len - Int(tokens.count)) * n_parallel)
3737

3838
var context_params = llama_context_default_params()
39-
context_params.seed = 1234
4039
context_params.n_ctx = n_kv_req
4140
context_params.n_batch = UInt32(max(n_len, n_parallel))
4241
context_params.n_threads = 8

examples/llama.android/llama/src/main/cpp/llama-android.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ Java_android_llama_cpp_LLamaAndroid_new_1context(JNIEnv *env, jobject, jlong jmo
120120
LOGi("Using %d threads", n_threads);
121121

122122
llama_context_params ctx_params = llama_context_default_params();
123-
ctx_params.seed = 1234;
124123
ctx_params.n_ctx = 2048;
125124
ctx_params.n_threads = n_threads;
126125
ctx_params.n_threads_batch = n_threads;

examples/llama.swiftui/llama.cpp.swift/LibLlama.swift

-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ actor LlamaContext {
7272
print("Using \(n_threads) threads")
7373

7474
var ctx_params = llama_context_default_params()
75-
ctx_params.seed = 1234
7675
ctx_params.n_ctx = 2048
7776
ctx_params.n_threads = UInt32(n_threads)
7877
ctx_params.n_threads_batch = UInt32(n_threads)

0 commit comments

Comments
 (0)