Skip to content
Discussion options

You must be logged in to vote

Update: Root Cause Found

Root cause: min_p=0.0

I was setting min_p=0.0 explicitly because it's listed in the model's recommended sampling parameters page. I didn't realize this was the actual culprit until several rounds of isolating each parameter individually.
Once min_p is omitted entirely (not passed as 0.0, but left out of the call altogether), the ReasoningBudgetSampler behaves as expected: the forced end sequence is honored, and the model transitions cleanly into the answer phase right after the budget is exhausted.

code
llm.model.create_chat_completion(
messages=core_messages,
stream=True,
max_tokens=1024,
# tools=tools_schema,
temperature=1.0,
top_p=0.95,
top_k=20,
# min_p=0.0,

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by abdullah-cod9
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants