Skip to content

Set default top_k and top_p if it is None#1944

Merged
baijumeswani merged 2 commits into
mainfrom
xiaoyu/topkbug
Jan 16, 2026
Merged

Set default top_k and top_p if it is None#1944
baijumeswani merged 2 commits into
mainfrom
xiaoyu/topkbug

Conversation

@xiaoyu-work
Copy link
Copy Markdown
Contributor

@xiaoyu-work xiaoyu-work commented Jan 15, 2026

Set default top_k and top_p if it is None.

Exporting Qwen VL model will get

"top_k": null,
"top_p": null

apsonawane
apsonawane previously approved these changes Jan 15, 2026
@xiaoyu-work xiaoyu-work enabled auto-merge (squash) January 15, 2026 18:32
Comment thread src/python/py/models/builders/base.py
Comment thread src/python/py/models/builders/base.py
@xiaoyu-work xiaoyu-work disabled auto-merge January 15, 2026 19:25
@baijumeswani baijumeswani enabled auto-merge (squash) January 16, 2026 17:13
@baijumeswani baijumeswani merged commit 85f5bca into main Jan 16, 2026
15 of 18 checks passed
@baijumeswani baijumeswani deleted the xiaoyu/topkbug branch January 16, 2026 19:39
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.

4 participants