fixup! fixup! sampling: separate rng per sampling context
This commit is contained in:
parent
760db9ee35
commit
2b7cff5f5a
1 changed files with 1 additions and 0 deletions
|
@ -242,6 +242,7 @@ bool gpt_params_find_arg(int argc, char ** argv, const std::string & arg, gpt_pa
|
|||
invalid_param = true;
|
||||
return true;
|
||||
}
|
||||
// This is temporary, in the future the samplign state will be moved fully to llama_sampling_context.
|
||||
params.seed = std::stoul(argv[i]);
|
||||
sparams.seed = std::stoul(argv[i]);
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue