Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 50973c7

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

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎common/common.h

Copy file name to clipboardExpand all lines: common/common.h
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.