]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
common : use LLAMA_DEFAULT_SEED (#5855)
authorDAN™ <redacted>
Mon, 4 Mar 2024 08:08:19 +0000 (03:08 -0500)
committerGitHub <redacted>
Mon, 4 Mar 2024 08:08:19 +0000 (10:08 +0200)
common/common.h

index d3682b7adae70f4f652423b19c23fbef862df739..b2868833be3e657d50dedf7ed824ecc38245407a 100644 (file)
@@ -43,7 +43,7 @@ extern char const *LLAMA_BUILD_TARGET;
 int32_t get_num_physical_cores();
 
 struct gpt_params {
-    uint32_t seed                 = -1;    // RNG seed
+    uint32_t seed                 = LLAMA_DEFAULT_SEED; // RNG seed
 
     int32_t n_threads             = get_num_physical_cores();
     int32_t n_threads_draft       = -1;