fixed koboldcpp.sh, fixed vision max/min when one param is missing, fixed processing count wrong, updated lite

This commit is contained in:
Concedo 2026-04-21 18:36:47 +08:00
parent c17ba99812
commit 1feba4e4ea
4 changed files with 124 additions and 114 deletions

View file

@ -4556,10 +4556,13 @@ generation_outputs gpttype_generate(const generation_inputs inputs)
// predict
unsigned int embdsize = embd.size();
//print progress
if (!startedsampling && allow_regular_prints)
if (!startedsampling)
{
real_n_processed = embd_inp.size();
printf("\rProcessing Prompt%s (%d / %zu tokens)", (blasmode ? " [BATCH]" : ""), input_consumed, embd_inp.size());
if(allow_regular_prints)
{
printf("\rProcessing Prompt%s (%d / %zu tokens)", (blasmode ? " [BATCH]" : ""), input_consumed, embd_inp.size());
}
}
fflush(stdout);