mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-10 17:14:36 +00:00
print seed
This commit is contained in:
parent
8c22f109fa
commit
13dcf4b556
1 changed files with 4 additions and 0 deletions
|
@ -1568,6 +1568,10 @@ generation_outputs gpttype_generate(const generation_inputs inputs, generation_o
|
||||||
if (kcpp_params->seed <= 0 || kcpp_params->seed==0xFFFFFFFF)
|
if (kcpp_params->seed <= 0 || kcpp_params->seed==0xFFFFFFFF)
|
||||||
{
|
{
|
||||||
kcpp_params->seed = (((uint32_t)time(NULL)) % 1000000u);
|
kcpp_params->seed = (((uint32_t)time(NULL)) % 1000000u);
|
||||||
|
if(debugmode==1)
|
||||||
|
{
|
||||||
|
printf("\nUsing Seed: %d",kcpp_params->seed);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// tokenize the prompt
|
// tokenize the prompt
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue