mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-05-22 03:10:03 +00:00
fixed a bug with drafting tokens
This commit is contained in:
parent
fd5100c382
commit
10d4fc637d
1 changed files with 1 additions and 1 deletions
|
|
@ -3611,7 +3611,7 @@ generation_outputs gpttype_generate(const generation_inputs inputs)
|
|||
{
|
||||
logits_to_sample = draft_results.drafted_amount;
|
||||
}
|
||||
while(logits_sampled<logits_to_sample && remaining_tokens>0 && !abort_draft)
|
||||
while(logits_sampled<logits_to_sample && remaining_tokens>0 && !abort_draft && !early_abort)
|
||||
{
|
||||
if(logits_sampled>0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue