Skip to content

Commit 50973c7

Browse files
dranger003hazelnutcloud
authored andcommitted
common : use LLAMA_DEFAULT_SEED (ggml-org#5855)
1 parent d48c242 commit 50973c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ extern char const *LLAMA_BUILD_TARGET;
4343
int32_t get_num_physical_cores();
4444

4545
struct gpt_params {
46-
uint32_t seed = -1; // RNG seed
46+
uint32_t seed = LLAMA_DEFAULT_SEED; // RNG seed
4747

4848
int32_t n_threads = get_num_physical_cores();
4949
int32_t n_threads_draft = -1;

0 commit comments

Comments
 (0)