Skip to content

[BUG]: decode: cannot decode batches with this context (calling encode() instead) #1251

@aropb

Description

@aropb

Description

Reranker error:
decode: cannot decode batches with this context (calling encode() instead)
D:\a\LLamaSharp\LLamaSharp\ggml\src\ggml-cpu\ops.cpp:5116: GGML_ASSERT(i01 >= 0 && i01 < ne01) failed

Model: jina-reranker-v2-base-multilingual-FP16.gguf

Now, when this error occurs, the application crashes.

I don't understand how to fix it yet. The error appears on some datasets, but not always.

This error is mentioned here:
ggml-org/llama.cpp#14454

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions