Shreya Shankar· @sh_reya · X·· 2026-10-13AI 评分32
AI 导读
Quail 系统通过将已知分类标签存入前缀树(trie)并约束解码路径,在仅剩单个候选标签时即可提前终止解码。该方案还将少量的解码步与其它文档的 prefill 阶段打包进同一次前向传播以保持 GPU 繁忙,在 12 个分类查询测试中比 vLLM 基线提速约 1.8 倍。
正文
Since the labels are known up front, Quail stores them in a trie and constrains decoding to paths in the trie. Quail stops decoding as soon as only one label is left, instead of decoding the full label. Quail also packs these few decode steps into the same forward passes as the prefill of other documents, so the GPU stays busy.
On 12 classification queries, Quail is ~1.8x faster than a vLLM baseline!
来源:Shreya Shankar · x.com