summaryrefslogtreecommitdiff
path: root/common/common.h
diff options
context:
space:
mode:
authorDAN™ <dranger003@gmail.com>2024-03-04 03:08:19 -0500
committerGitHub <noreply@github.com>2024-03-04 10:08:19 +0200
commit82f3e668adafba647de703f835991e91a96b5ac4 (patch)
tree1a7f436aaa78ae21b776532e3eb55c4ba79c83d3 /common/common.h
parent5a51cc1bb4592f0d71f9af89cd08b11a066ba447 (diff)
common : use LLAMA_DEFAULT_SEED (#5855)
Diffstat (limited to 'common/common.h')
-rw-r--r--common/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/common.h b/common/common.h
index d3682b7a..b2868833 100644
--- a/common/common.h
+++ b/common/common.h
@@ -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;