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;
|
invalid_param = true;
|
||||||
return 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]);
|
params.seed = std::stoul(argv[i]);
|
||||||
sparams.seed = std::stoul(argv[i]);
|
sparams.seed = std::stoul(argv[i]);
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue