Skip to content

Fix passing of embedding pooling type #118

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
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DevinTDHa
Copy link

@DevinTDHa DevinTDHa commented Jul 17, 2025

Pooling type was passed as an enum value (an integer), which will result in an error during init of the server. This fix passes the value as a compatible string instead.

Note that the current test will fail for mean-pooled embeddings because of a known regression in the upstream repo (see ggml-org/llama.cpp#12517). The test passes with the latest upgrade PR: #115

Pooling type was passed as an enum value (an integer), which will result
in an error during init of the server. This fix passes the value as a
compatible string instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant