Skip to content

Conversation

@AUTOMATIC1111
Copy link

Is your pull request related to a problem? Please describe.
exl3 backend code is missing logprobs support

Why should this feature be added?
logprobs are very useful both for roleplay plebs for easy rerolling from the middle of the message (as well as for generally getting some very convenient info about what the model could have said instead), as well as for programmers using using models for classification (asking to reply with a single token and looking at probabilities).

Examples
firefox_oGWYePztIR

Additional context
The code is mostly copied from exl2 implementation. Works on my windows machine in a fresh installation; exl3 library does support logprobs via the same return_top_tokens arg.

AUTOMATIC and others added 2 commits August 3, 2025 11:42
@kingbri1
Copy link
Member

kingbri1 commented Aug 5, 2025

Fancy seeing you here! Looks good, merged.

@kingbri1 kingbri1 merged commit 6623dbc into theroyallab:main Aug 5, 2025
1 check passed
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.

2 participants