Skip to content

Misc. bug: Potential out of bound in rerank #13549

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

Open
njsyw1997 opened this issue May 14, 2025 · 0 comments
Open

Misc. bug: Potential out of bound in rerank #13549

njsyw1997 opened this issue May 14, 2025 · 0 comments

Comments

@njsyw1997
Copy link

njsyw1997 commented May 14, 2025

Name and Version

version: 5387 (3198405)
built with cc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 for x86_64-linux-gnu

Operating systems

No response

Which llama.cpp modules do you know to be affected?

No response

Command line

Problem description & steps to reproduce

llama_context resize the rerank output to size 1 while here we still normalize it as if we have full embedding vector. I found this problem happened randomly in python binding but cannot reproduce it in cpp. Not sure if it is a bug in cpp side.

First Bad Commit

No response

Relevant log output

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant