Skip to content

Critical Bug: Context shifting doesn't work! #1257

@aropb

Description

@aropb

The tokens list cannot be changed, it is the input list of tokens!

Error line:

Image Image

Llama.cpp source:

https://github.com/ggml-org/llama.cpp/blob/60325fa56f61c228464c9f065db3aa6a61f2156e/examples/main/main.cpp#L334
https://github.com/ggml-org/llama.cpp/blob/60325fa56f61c228464c9f065db3aa6a61f2156e/examples/main/main.cpp#L542

I'm trying to fix and rewrite it correctly, but so far it's not working. I don't understand all the calculations. Let's figure it out together?

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