Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

llamamodel: fix embedding crash for >512 tokens after #2310 #2383

Merged
merged 1 commit into from
May 29, 2024

Commits on May 28, 2024

  1. llamamodel: fix embedding crash for >512 tokens after #2310

    n_ubatch defaults to 512, but as of the latest llama.cpp you cannot pass
    more than n_ubatch tokens to the embedding model without hitting an
    assertion failure.
    
    Signed-off-by: Jared Van Bortel <[email protected]>
    cebtenzzre committed May 28, 2024
    Configuration menu
    Copy the full SHA
    9681f67 View commit details
    Browse the repository at this point in the history