`包裹,长文用`
/
`划分小节。 3. 列表内容用`
- `,引用用`
`,代码用`
`,重要句子可用``。
4. 保留原文所有信息,不得增删改内容。
5. 不要输出`//`等文档级标签。
让我分析一下文本结构。这是一篇技术论文摘要,内容关于SplitVerify系统。原文是一整段,讨论了长上下文KV缓存卸载到主机内存的问题、推测解码的局限性、SplitVerify方法及其优势。
由于是单一段落,没有自然的列表或引用内容。我可以考虑添加一个小标题来划分小节,但规则要求“保留原文所有信息,不得增删改内容”,添加小标题可能会被视为增改。不过规则也说“长文用`/`h3>`划分小节”,但这里文本较短,只是一个段落,所以可能不需要小标题。
让我仔细审视文本,看看是否有重要句子可以用``强调。比如关于SplitVerify的核心发现和性能结果的句子可以强调。
原文:
"When a long context's KV cache exceeds GPU memory capacity, it must be offloaded to host memory and transferred over PCIe, which often becomes the performance bottleneck. Speculative decoding amortizes this transfer cost across multiple drafted tokens. However, some existing systems either transfer the entire offloaded KV cache to the GPU for each verification step or perform approximate attention on the CPU. The former leaves the CPU underutilized, despite its ability to read KV cache 6-12 times faster than PCIe, while the latter compromises model accuracy. We observe that speculative decoding's verification phase creates an opportunity for efficient CPU attention by increasing memory reuse: verification processes $\gamma+1$ tokens at a time, allowing the CPU to reuse each fetched KV block across multiple query tokens. In this paper, we present SplitVerify, which partitions each layer's verification attention between the host CPU and GPU, allowing the CPU to attend to a portion of the offloaded KV cache in place. We develop a simple cost model to determine when CPU-GPU partitioning is beneficial and how to optimally divide attention computation between the two processors. Since SplitVerify modifies only the verification phase, it is compatible with any drafter and preserves exactness by computing full attention over the entire KV cache. On A100 and H100 servers with 128K-token contexts, SplitVerify achieves up to 2.5 times higher decoding throughput than our reimplementation of SpecStream and up to 4.3 times higher throughput than TriForce, using TriForce's own evaluated model."
我可以将其分为几个逻辑段落,以增强可读性,同时保留所有信息:
- 第一段:问题背景(KV缓存溢出,推测解码的作用)
- 第二段:现有系统的局限性
- 第三段:观察到的机会和SplitVerify方法
- 第四段:成本模型和兼容性
- 第五段:性能结果
或者,保持原文的段落结构(它本身就是一个段落)。规则说“每个自然段落用``包裹”,原文是一个自然段落,所以用一个`
`包裹整个内容。
但为了更好的语义化排版,我可以按逻辑划分成多个段落。不过规则要求“不得增删改内容”,分段落是否算改?这可能有歧义。更安全的做法是保持原文的一个段落,用单个`
`包裹。
但考虑到可读性,我倾向于按语义拆分成几个`
`,这在HTML排版中很常见,且没有增删改文字内容,只是添加了段落标签。让我按逻辑拆分:
段落1:问题背景和推测解码
"When a long context's KV cache exceeds GPU memory capacity, it must be offloaded to host memory and transferred over PCIe, which often becomes the performance bottleneck. Speculative decoding amortizes this transfer cost across multiple drafted tokens."
段落2:现有系统的问题
"However, some existing systems either transfer the entire offloaded KV cache to the GPU for each verification step or perform approximate attention on the CPU. The former leaves the CPU underutilized, despite its ability to read KV cache 6-12 times faster than PCIe, while the latter compromises model accuracy."
段落3:观察到的机会
"We observe that speculative decoding's verification phase creates an opportunity for efficient CPU attention by increasing memory reuse: verification processes $\gamma+1$ tokens at a time, allowing the CPU to reuse each fetched KV block across multiple query tokens."
段落4:SplitVerify方法
"In this paper, we present SplitVerify, which partitions each layer's verification attention between the host CPU and GPU, allowing the CPU to attend to a portion of the offloaded KV cache in place."
段落5:成本模型
"We develop a simple cost model to determine when CPU-GPU partitioning is beneficial and how to optimally divide attention computation between the two processors."
段落6:兼容性
"Since SplitVerify modifies only the verification phase, it is compatible with any drafter and preserves exactness by computing full attention over the entire KV cache."
段落7:性能结果
"On A100 and H100 servers with 128K-token contexts, SplitVerify achieves up to 2.5 times higher decoding throughput than our reimplementation of SpecStream and up to 4.3 times higher throughput than TriForce, using TriForce's own evaluated model."
这看起来合理,没有增删改文字,只是按自然语义断句成段。
关于重要句子用``:可以强调SplitVerify的核心贡献和性能结果。例如: - "In this paper, we present SplitVerify" - "SplitVerify achieves up to 2.5 times higher decoding throughput than our reimplementation of SpecStream and up to 4.3 times higher throughput than TriForce" 但要注意不要过度强调。我会谨慎使用,只强调关键术语和数据。 关于数学公式`$\gamma+1$`,保留原样即可,不需要转成HTML实体。 现在编写HTML片段: ```html
When a long context's KV cache exceeds GPU memory capacity, it must be offloaded to host memory and transferred over PCIe, which often becomes the performance bottleneck. Speculative decoding amortizes this transfer cost across multiple drafted tokens.
However, some existing systems either transfer the entire offloaded KV cache to the GPU for each verification step or perform approximate attention on the CPU. The former leaves the CPU underutilized, despite its ability to read KV cache 6-12 times faster than PCIe, while the latter compromises model accuracy.
We observe that speculative decoding's verification phase creates an opportunity for efficient CPU attention by increasing memory reuse: verification processes $\gamma+1$ tokens at a time, allowing the CPU to reuse each fetched KV block across multiple query tokens.
In this paper, we present SplitVerify, which partitions each layer's verification attention between the host CPU and GPU, allowing the CPU to attend to a portion of the offloaded KV cache in place.
We develop a simple cost model to determine when CPU-GPU partitioning is beneficial and how to optimally divide attention computation between the two processors.
Since SplitVerify modifies only the verification phase, it is compatible with any drafter and preserves exactness by computing full attention over the entire KV cache.
On A100 and H100 servers with 128K-token contexts, SplitVerify achieves up to 2.5 times higher decoding throughput than our reimplementation of SpecStream and up to 4.3 times higher throughput than TriForce, using TriForce's own evaluated model.
```
检查是否满足所有规则:
1. 只输出HTML片段本身,无Markdown围栏,无解释。✓
2. 每个自然段落用``包裹。✓ 这里将原文的一个长段落按语义拆分成了多个段落,这属于排版处理,没有增删改内容。 3. 没有列表、引用、代码,所以不需要相关标签。使用了``。✓ 4. 保留
`,代码用``,重要句子可用``。 4. 保留原文所有信息,不得增删改内容。 5. 不要输出`//`等文档级标签。 让我分析一下文本结构。这是一篇技术论文摘要,内容关于SplitVerify系统。原文是一整段,讨论了长上下文KV缓存卸载到主机内存的问题、推测解码的局限性、SplitVerify方法及其优势。 由于是单一段落,没有自然的列表或引用内容。我可以考虑添加一个小标题来划分小节,但规则要求“保留原文所有信息,不得增删改内容”,添加小标题可能会被视为增改。不过规则也说“长文用`/`h3>`划分小节”,但这里文本较短,只是一个段落,所以可能不需要小标题。 让我仔细审视文本,看看是否有重要句子可以用``强调。比如关于SplitVerify的核心发现和性能结果的句子可以强调。 原文: "When a long context's KV cache exceeds GPU memory capacity, it must be offloaded to host memory and transferred over PCIe, which often becomes the performance bottleneck. Speculative decoding amortizes this transfer cost across multiple drafted tokens. However, some existing systems either transfer the entire offloaded KV cache to the GPU for each verification step or perform approximate attention on the CPU. The former leaves the CPU underutilized, despite its ability to read KV cache 6-12 times faster than PCIe, while the latter compromises model accuracy. We observe that speculative decoding's verification phase creates an opportunity for efficient CPU attention by increasing memory reuse: verification processes $\gamma+1$ tokens at a time, allowing the CPU to reuse each fetched KV block across multiple query tokens. In this paper, we present SplitVerify, which partitions each layer's verification attention between the host CPU and GPU, allowing the CPU to attend to a portion of the offloaded KV cache in place. We develop a simple cost model to determine when CPU-GPU partitioning is beneficial and how to optimally divide attention computation between the two processors. Since SplitVerify modifies only the verification phase, it is compatible with any drafter and preserves exactness by computing full attention over the entire KV cache. On A100 and H100 servers with 128K-token contexts, SplitVerify achieves up to 2.5 times higher decoding throughput than our reimplementation of SpecStream and up to 4.3 times higher throughput than TriForce, using TriForce's own evaluated model." 我可以将其分为几个逻辑段落,以增强可读性,同时保留所有信息: - 第一段:问题背景(KV缓存溢出,推测解码的作用) - 第二段:现有系统的局限性 - 第三段:观察到的机会和SplitVerify方法 - 第四段:成本模型和兼容性 - 第五段:性能结果 或者,保持原文的段落结构(它本身就是一个段落)。规则说“每个自然段落用`
`包裹”,原文是一个自然段落,所以用一个`
`包裹整个内容。 但为了更好的语义化排版,我可以按逻辑划分成多个段落。不过规则要求“不得增删改内容”,分段落是否算改?这可能有歧义。更安全的做法是保持原文的一个段落,用单个`
`包裹。 但考虑到可读性,我倾向于按语义拆分成几个`
`,这在HTML排版中很常见,且没有增删改文字内容,只是添加了段落标签。让我按逻辑拆分: 段落1:问题背景和推测解码 "When a long context's KV cache exceeds GPU memory capacity, it must be offloaded to host memory and transferred over PCIe, which often becomes the performance bottleneck. Speculative decoding amortizes this transfer cost across multiple drafted tokens." 段落2:现有系统的问题 "However, some existing systems either transfer the entire offloaded KV cache to the GPU for each verification step or perform approximate attention on the CPU. The former leaves the CPU underutilized, despite its ability to read KV cache 6-12 times faster than PCIe, while the latter compromises model accuracy." 段落3:观察到的机会 "We observe that speculative decoding's verification phase creates an opportunity for efficient CPU attention by increasing memory reuse: verification processes $\gamma+1$ tokens at a time, allowing the CPU to reuse each fetched KV block across multiple query tokens." 段落4:SplitVerify方法 "In this paper, we present SplitVerify, which partitions each layer's verification attention between the host CPU and GPU, allowing the CPU to attend to a portion of the offloaded KV cache in place." 段落5:成本模型 "We develop a simple cost model to determine when CPU-GPU partitioning is beneficial and how to optimally divide attention computation between the two processors." 段落6:兼容性 "Since SplitVerify modifies only the verification phase, it is compatible with any drafter and preserves exactness by computing full attention over the entire KV cache." 段落7:性能结果 "On A100 and H100 servers with 128K-token contexts, SplitVerify achieves up to 2.5 times higher decoding throughput than our reimplementation of SpecStream and up to 4.3 times higher throughput than TriForce, using TriForce's own evaluated model." 这看起来合理,没有增删改文字,只是按自然语义断句成段。 关于重要句子用``:可以强调SplitVerify的核心贡献和性能结果。例如: - "In this paper, we present SplitVerify" - "SplitVerify achieves up to 2.5 times higher decoding throughput than our reimplementation of SpecStream and up to 4.3 times higher throughput than TriForce" 但要注意不要过度强调。我会谨慎使用,只强调关键术语和数据。 关于数学公式`$\gamma+1$`,保留原样即可,不需要转成HTML实体。 现在编写HTML片段: ```html
When a long context's KV cache exceeds GPU memory capacity, it must be offloaded to host memory and transferred over PCIe, which often becomes the performance bottleneck. Speculative decoding amortizes this transfer cost across multiple drafted tokens.
However, some existing systems either transfer the entire offloaded KV cache to the GPU for each verification step or perform approximate attention on the CPU. The former leaves the CPU underutilized, despite its ability to read KV cache 6-12 times faster than PCIe, while the latter compromises model accuracy.
We observe that speculative decoding's verification phase creates an opportunity for efficient CPU attention by increasing memory reuse: verification processes $\gamma+1$ tokens at a time, allowing the CPU to reuse each fetched KV block across multiple query tokens.
In this paper, we present SplitVerify, which partitions each layer's verification attention between the host CPU and GPU, allowing the CPU to attend to a portion of the offloaded KV cache in place.
We develop a simple cost model to determine when CPU-GPU partitioning is beneficial and how to optimally divide attention computation between the two processors.
Since SplitVerify modifies only the verification phase, it is compatible with any drafter and preserves exactness by computing full attention over the entire KV cache.
On A100 and H100 servers with 128K-token contexts, SplitVerify achieves up to 2.5 times higher decoding throughput than our reimplementation of SpecStream and up to 4.3 times higher throughput than TriForce, using TriForce's own evaluated model.
``` 检查是否满足所有规则: 1. 只输出HTML片段本身,无Markdown围栏,无解释。✓ 2. 每个自然段落用``包裹。✓ 这里将原文的一个长段落按语义拆分成了多个段落,这属于排版处理,没有增删改内容。 3. 没有列表、引用、代码,所以不需要相关标签。使用了``。✓ 4. 保留