diff --git a/gpttype_adapter.cpp b/gpttype_adapter.cpp index 9c04c7727..35fa9b81f 100644 --- a/gpttype_adapter.cpp +++ b/gpttype_adapter.cpp @@ -3451,7 +3451,7 @@ generation_outputs gpttype_generate(const generation_inputs inputs) //eval the guidance prompt printf("Preparing Negative Prompt (%zu tokens)\n", guidance_embd.size()); kcpp_embd_batch batch = kcpp_embd_batch(guidance_embd, 0, use_mrope, false); - auto er = (llama_decode(guidance_ctx, batch.batch)==0); + auto er = llama_decode(guidance_ctx, batch.batch); if(er!=0) { printf("\nProcess Negative Prompt Failed! (code:%d)\n",er); diff --git a/klite.embd b/klite.embd index fac4ff632..108e79211 100644 --- a/klite.embd +++ b/klite.embd @@ -12,7 +12,7 @@ Current version indicated by LITEVER below. -->