A question about Qwen-3-vl-reranker for the difference between sglang inference and transformer inference. #30498
Unanswered
Serendipity-00
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have viewed the
GenerateReqInput()function insglang/srt/entrypoints/openai/serving_rerank.py, the implement of the choice for YES and NO token is to choose the top-50 and then find the ID, other than just find the ID from the vocab, which may leads to score vanish to 0.0 or 1.0 if One of the token is not found.But in other implements, (e.g. ms-swift for qwen3-vl-reranker) it is to choose the YES and NO token directly so that there is always an exact score.
I would like to know why this is the choice of sglang and how the number 50 is decided.
Thx a lot.
In sglang:
In ms-swift:
Beta Was this translation helpful? Give feedback.
All reactions