Skip to content

Change sampling tests with low vocab_size to set top_k equal to vocab_size because default top_k exceeds vocab_size - #2486

Closed
Hrishith Thadicherla (hthadicherla) wants to merge 2 commits into
microsoft:mainfrom
hthadicherla:hthadicherla/allow-top-k-above-vocab-size
Closed

Change sampling tests with low vocab_size to set top_k equal to vocab_size because default top_k exceeds vocab_size#2486
Hrishith Thadicherla (hthadicherla) wants to merge 2 commits into
microsoft:mainfrom
hthadicherla:hthadicherla/allow-top-k-above-vocab-size

Commits

Commits on Aug 28, 2026

Commits on Aug 31, 2026