Skip to content

llama-cpp reranker optimize sorting cropping #7265

@mkhludnev

Description

@mkhludnev

Is your feature request related to a problem? Please describe.
It's a proposal of a minor performance optimization for llama-cpp reranker. It's a follow up of #7211.

Describe the solution you'd like

#7211 sorts all results and then crop. Binary heap can make it a little bit faster.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions