mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-09-19 09:15:18 +02:00
fixed a bug with drafting tokens
This commit is contained in:
+1
-1
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user