We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b96c3b commit bfa118eCopy full SHA for bfa118e
gpttype_adapter.cpp
@@ -3547,8 +3547,7 @@ generation_outputs gpttype_generate(const generation_inputs inputs)
3547
if(i>0 && sepsize>0)
3548
{
3549
//add a separator between each image
3550
- kcpp_embd_batch batch = kcpp_embd_batch(embd, n_past);
3551
- auto evr = llama_decode(llama_ctx_v4, batch.batch);
+ auto evr = llama_decode(llama_ctx_v4, llama_batch_get_one(llava_sep.data(), sepsize));
3552
if(evr!=0)
3553
3554
printf("\nError when appending llava separator: %d\n",evr);
0 commit comments