看一下现在的flash cubin版本
- User
看一下现在的flash cubin版本
Assistant
当前 flash cubin 版本:
- flashinfer-cubin:
0.6.8.post1 - flashinfer-python:
0.6.8.post1 - flash-linear-attention:
0.4.1
和 CLAUDE.md 记录的生产配置 FlashInfer 0.6.8.post1[cu13] 一致。
- flashinfer-cubin:
- User
调查一下sglang --speculative-accept-threshold-single 0.5 --speculative-accept-threshold-acc 0.5 这两个参数的意义
Assistant
已定位到 kernel。核心逻辑在
sgl-kernel/csrc/speculative/speculative_sampling.cuh:80:cudaprob_acc += target_prob_single; if (coin <= prob_acc / threshold_acc || target_prob_single >= threshold_single) { // accept token }两个参数的含义
这是 SGLang 对 relaxed / typical speculative sampling 的实现(lossy 版的 speculative decoding),在标准 Leviathan-2023 的 rejection sampling 上加了两条放宽通道:
--speculative-accept-threshold-single(单 token 直通阈值)- 含义:只要 target model 给这个 draft token 的概率 p ≥ threshold_single,就无条件接受,跳过 rejection sampling
- 默认
1.0:几乎永远不触发(等价关闭) - 设
0.5:target 觉得这个 token ≥ 50% 就直接采纳
- User
看一下现在的claudecode版本
Assistant
Claude Code 版本:2.1.118
- User
更新到最最新版本
- User
[Request interrupted by user for tool use]