mirror of
https://github.com/iafiscal1212/diffuse-cpp.git
synced 2026-12-04 00:28:08 +00:00
Set default speculative K=5 based on benchmarks
K=5 measured as optimal for Qwen2.5-32B + 0.5B draft: 5.75 tok/s decode, 66.7% acceptance, 4.33 tok/target_call. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
e8aa74f254
commit
04065aa1ce
1 file changed
+1
-1
+1
-1
@@ -120,7 +120,7 @@ std::vector<int32_t> ar_generate(
|
||||
// ═══════════════════════════════════════════════════════════════
|
||||
|
||||
struct ar_spec_params {
|
||||
int K = 4; // speculative lookahead (draft tokens per round)
|
||||
int K = 5; // speculative lookahead (draft tokens per round)
|
||||
};
|
||||
|
||||
struct ar_spec_stats {
|
||||
|
||||
Reference in new issue
Block a user