Skip to content

Validate eos_token_id against vocab_size to prevent OOB write in ApplyMinLength - #2266

Merged
David Fan (jiafatom) merged 4 commits into
mainfrom
fix/eos-token-id-vocab-bounds
Jul 12, 2026
Merged

Validate eos_token_id against vocab_size to prevent OOB write in ApplyMinLength#2266
David Fan (jiafatom) merged 4 commits into
mainfrom
fix/eos-token-id-vocab-bounds

Commits

Commits on Jul 10, 2026