Skip to content

Qwen3.8-Flash-Next on any consumer hardware: one-click install for Windows / Linux. Strata inference engine, OpenAI/Anthropic API on localhost, optional image input.

C++
17.9 KB
Raw Blame
{
 "command": "python tools/needle_bench.py --url http://127.0.0.1:8080 --api-key <redacted> --lengths 32k,128k --depths 10,50,90 --out needles.json",
 "epoch_start": 1790925141.1994243,
 "epoch_end": 1790925853.3008726,
 "exit_code": 0,
 "stdout": "  32k depth  10%: FOUND  (31,075 prompt tokens, 50 s)\n  32k depth  50%: FOUND  (31,075 prompt tokens, 50 s)\n  32k depth  90%: FOUND  (31,076 prompt tokens, 50 s)\n 128k depth  10%: FOUND  (122,151 prompt tokens, 215 s)\n 128k depth  50%: FOUND  (122,149 prompt tokens, 215 s)\n 128k depth  90%: FOUND  (122,149 prompt tokens, 130 s)\n6 of 6 found\n",
 "stderr": "",
 "totals_before": 15,
 "totals_after": 21,
 "foreign_overlap": false,
 "engine": [
  {
   "prompt_tokens": 31075,
   "reused": 0,
   "read": 31075,
   "prompt_ms_log": 50051,
   "prompt_tok_s_log": 620.9,
   "generated": 9,
   "decode_ms_log": 287,
   "decode_tok_s_log": 31.3,
   "drafts_accepted": 7,
   "drafts_proposed": 7,
   "checkpoints": 2,
   "cancelled": false,
   "line": "strata serve: prompt 31075 tokens = 0 reused + 31075 read in 50051 ms (620.9 tok/s), 9 generated in 287 ms (31.3 tok/s), drafts accepted 7 of 7, 2 checkpoints",
   "hit_rate_pct": 6.8,
   "hit_line": "strata serve: decode expert cache hit rate: 6.8% (292 hits / 4292 lookups)",
   "kv_vram_pct": 79.55,
   "kv_block_reads": 104760,
   "kv_ram_mib": 86.3,
   "kv_line": "strata serve: KV streaming: 79.55% of 104760 block reads hit VRAM, 86.3 MiB read from RAM",
   "suffix_windows": 1,
   "suffix_accepted": 1,
   "suffix_proposed": 1
  },
  {
   "prompt_tokens": 31075,
   "reused": 0,
   "read": 31075,
   "prompt_ms_log": 49821,
   "prompt_tok_s_log": 623.7,
   "generated": 9,
   "decode_ms_log": 296,
   "decode_tok_s_log": 30.4,
   "drafts_accepted": 8,
   "drafts_proposed": 8,
   "checkpoints": 2,
   "cancelled": false,
   "line": "strata serve: prompt 31075 tokens = 0 reused + 31075 read in 49821 ms (623.7 tok/s), 9 generated in 296 ms (30.4 tok/s), drafts accepted 8 of 8, 2 checkpoints",
   "hit_rate_pct": 17.0,
   "hit_line": "strata serve: decode expert cache hit rate: 17.0% (812 hits / 4777 lookups)",
   "kv_vram_pct": 79.36,
   "kv_block_reads": 110928,
   "kv_ram_mib": 92.2,
   "kv_line": "strata serve: KV streaming: 79.36% of 110928 block reads hit VRAM, 92.2 MiB read from RAM",
   "suffix_windows": 1,
   "suffix_accepted": 2,
   "suffix_proposed": 2
  },
  {
   "prompt_tokens": 31076,
   "reused": 0,
   "read": 31076,
   "prompt_ms_log": 49856,
   "prompt_tok_s_log": 623.3,
   "generated": 10,
   "decode_ms_log": 303,
   "decode_tok_s_log": 33.0,
   "drafts_accepted": 6,
   "drafts_proposed": 9,
   "checkpoints": 2,
   "cancelled": false,
   "line": "strata serve: prompt 31076 tokens = 0 reused + 31076 read in 49856 ms (623.3 tok/s), 10 generated in 303 ms (33.0 tok/s), drafts accepted 6 of 9, 2 checkpoints",
   "hit_rate_pct": 20.5,
   "hit_line": "strata serve: decode expert cache hit rate: 20.5% (1055 hits / 5140 lookups)",
   "kv_vram_pct": 80.01,
   "kv_block_reads": 117072,
   "kv_ram_mib": 94.3,
   "kv_line": "strata serve: KV streaming: 80.01% of 117072 block reads hit VRAM, 94.3 MiB read from RAM",
   "suffix_windows": 2,
   "suffix_accepted": 3,
   "suffix_proposed": 6
  },
  {
   "prompt_tokens": 122151,
   "reused": 0,
   "read": 122151,
   "prompt_ms_log": 213916,
   "prompt_tok_s_log": 571.0,
   "generated": 10,
   "decode_ms_log": 289,
   "decode_tok_s_log": 34.6,
   "drafts_accepted": 7,
   "drafts_proposed": 8,
   "checkpoints": 6,
   "cancelled": false,
   "line": "strata serve: prompt 122151 tokens = 0 reused + 122151 read in 213916 ms (571.0 tok/s), 10 generated in 289 ms (34.6 tok/s), drafts accepted 7 of 8, 6 checkpoints",
   "hit_rate_pct": 30.1,
   "hit_line": "strata serve: decode expert cache hit rate: 30.1% (1490 hits / 4944 lookups)",
   "kv_vram_pct": 76.53,
   "kv_block_reads": 110928,
   "kv_ram_mib": 104.9,
   "kv_line": "strata serve: KV streaming: 76.53% of 110928 block reads hit VRAM, 104.9 MiB read from RAM"
  },
  {
   "prompt_tokens": 122149,
   "reused": 0,
   "read": 122149,
   "prompt_ms_log": 214070,
   "prompt_tok_s_log": 570.6,
   "generated": 9,
   "decode_ms_log": 361,
   "decode_tok_s_log": 24.9,
   "drafts_accepted": 4,
   "drafts_proposed": 10,
   "checkpoints": 6,
   "cancelled": false,
   "line": "strata serve: prompt 122149 tokens = 0 reused + 122149 read in 214070 ms (570.6 tok/s), 9 generated in 361 ms (24.9 tok/s), drafts accepted 4 of 10, 6 checkpoints",
   "hit_rate_pct": 34.2,
   "hit_line": "strata serve: decode expert cache hit rate: 34.2% (2091 hits / 6116 lookups)",
   "kv_vram_pct": 79.35,
   "kv_block_reads": 129396,
   "kv_ram_mib": 107.7,
   "kv_line": "strata serve: KV streaming: 79.35% of 129396 block reads hit VRAM, 107.7 MiB read from RAM",
   "suffix_windows": 1,
   "suffix_accepted": 1,
   "suffix_proposed": 1
  },
  {
   "prompt_tokens": 122149,
   "reused": 55296,
   "read": 66853,
   "prompt_ms_log": 129119,
   "prompt_tok_s_log": 517.8,
   "generated": 9,
   "decode_ms_log": 294,
   "decode_tok_s_log": 30.6,
   "drafts_accepted": 7,
   "drafts_proposed": 8,
   "checkpoints": 6,
   "cancelled": false,
   "line": "strata serve: prompt 122149 tokens = 55296 reused + 66853 read in 129119 ms (517.8 tok/s), 9 generated in 294 ms (30.6 tok/s), drafts accepted 7 of 8, 6 checkpoints",
   "hit_rate_pct": 46.6,
   "hit_line": "strata serve: decode expert cache hit rate: 46.6% (2560 hits / 5490 lookups)",
   "kv_vram_pct": 86.0,
   "kv_block_reads": 246456,
   "kv_ram_mib": 139.0,
   "kv_line": "strata serve: KV streaming: 86.00% of 246456 block reads hit VRAM, 139.0 MiB read from RAM"
  }
 ],
 "engine_log": [
  "strata serve: prompt 31075 tokens = 0 reused + 31075 read in 50051 ms (620.9 tok/s), 9 generated in 287 ms (31.3 tok/s), drafts accepted 7 of 7, 2 checkpoints",
  "strata serve: decode expert cache hit rate: 6.8% (292 hits / 4292 lookups)",
  "strata serve: KV streaming: 79.55% of 104760 block reads hit VRAM, 86.3 MiB read from RAM",
  "strata serve: suffix drafts: 1 windows, 1 of 1 drafts accepted",
  "strata serve: prompt 31075 tokens = 0 reused + 31075 read in 49821 ms (623.7 tok/s), 9 generated in 296 ms (30.4 tok/s), drafts accepted 8 of 8, 2 checkpoints",
  "strata serve: decode expert cache hit rate: 17.0% (812 hits / 4777 lookups)",
  "strata serve: KV streaming: 79.36% of 110928 block reads hit VRAM, 92.2 MiB read from RAM",
  "strata serve: suffix drafts: 1 windows, 2 of 2 drafts accepted",
  "strata serve: prompt 31076 tokens = 0 reused + 31076 read in 49856 ms (623.3 tok/s), 10 generated in 303 ms (33.0 tok/s), drafts accepted 6 of 9, 2 checkpoints",
  "strata serve: decode expert cache hit rate: 20.5% (1055 hits / 5140 lookups)",
  "strata serve: KV streaming: 80.01% of 117072 block reads hit VRAM, 94.3 MiB read from RAM",
  "strata serve: suffix drafts: 2 windows, 3 of 6 drafts accepted",
  "strata serve: prompt 122151 tokens = 0 reused + 122151 read in 213916 ms (571.0 tok/s), 10 generated in 289 ms (34.6 tok/s), drafts accepted 7 of 8, 6 checkpoints",
  "strata serve: decode expert cache hit rate: 30.1% (1490 hits / 4944 lookups)",
  "strata serve: KV streaming: 76.53% of 110928 block reads hit VRAM, 104.9 MiB read from RAM",
  "strata serve: prompt 122149 tokens = 0 reused + 122149 read in 214070 ms (570.6 tok/s), 9 generated in 361 ms (24.9 tok/s), drafts accepted 4 of 10, 6 checkpoints",
  "strata serve: decode expert cache hit rate: 34.2% (2091 hits / 6116 lookups)",
  "strata serve: KV streaming: 79.35% of 129396 block reads hit VRAM, 107.7 MiB read from RAM",
  "strata serve: suffix drafts: 1 windows, 1 of 1 drafts accepted",
  "strata serve: prompt 122149 tokens = 55296 reused + 66853 read in 129119 ms (517.8 tok/s), 9 generated in 294 ms (30.6 tok/s), drafts accepted 7 of 8, 6 checkpoints",
  "strata serve: decode expert cache hit rate: 46.6% (2560 hits / 5490 lookups)",
  "strata serve: KV streaming: 86.00% of 246456 block reads hit VRAM, 139.0 MiB read from RAM"
 ],
 "server_log": [
  "[strata] reading the prompt: 3,072 of 31,075 tokens, 4 s so far",
  "[strata] reading the prompt: 6,144 of 31,075 tokens, 9 s so far",
  "[strata] reading the prompt: 9,216 of 31,075 tokens, 14 s so far",
  "[strata] reading the prompt: 12,288 of 31,075 tokens, 18 s so far",
  "[strata] reading the prompt: 15,360 of 31,075 tokens, 23 s so far",
  "[strata] reading the prompt: 18,432 of 31,075 tokens, 28 s so far",
  "[strata] reading the prompt: 21,504 of 31,075 tokens, 32 s so far",
  "[strata] reading the prompt: 24,576 of 31,075 tokens, 37 s so far",
  "[strata] reading the prompt: 27,648 of 31,075 tokens, 42 s so far",
  "[strata] reading the prompt: 30,720 of 31,075 tokens, 47 s so far",
  "[strata] reading the prompt: 31,068 of 31,075 tokens, 50 s so far",
  "[strata] done: 9 tokens in 50 s (35.6 tok/s) (stop, cancel=False), expert cache 6.8% hit",
  "[strata] reading the prompt: 3,072 of 31,075 tokens, 4 s so far",
  "[strata] reading the prompt: 6,144 of 31,075 tokens, 9 s so far",
  "[strata] reading the prompt: 9,216 of 31,075 tokens, 13 s so far",
  "[strata] reading the prompt: 12,288 of 31,075 tokens, 18 s so far",
  "[strata] reading the prompt: 15,360 of 31,075 tokens, 23 s so far",
  "[strata] reading the prompt: 18,432 of 31,075 tokens, 27 s so far",
  "[strata] reading the prompt: 21,504 of 31,075 tokens, 32 s so far",
  "[strata] reading the prompt: 24,576 of 31,075 tokens, 37 s so far",
  "[strata] reading the prompt: 27,648 of 31,075 tokens, 42 s so far",
  "[strata] reading the prompt: 30,720 of 31,075 tokens, 47 s so far",
  "[strata] reading the prompt: 31,068 of 31,075 tokens, 49 s so far",
  "[strata] done: 9 tokens in 50 s (34.2 tok/s) (stop, cancel=False), expert cache 17.0% hit",
  "[strata] reading the prompt: 3,072 of 31,076 tokens, 4 s so far",
  "[strata] reading the prompt: 6,144 of 31,076 tokens, 9 s so far",
  "[strata] reading the prompt: 9,216 of 31,076 tokens, 13 s so far",
  "[strata] reading the prompt: 12,288 of 31,076 tokens, 18 s so far",
  "[strata] reading the prompt: 15,360 of 31,076 tokens, 23 s so far",
  "[strata] reading the prompt: 18,432 of 31,076 tokens, 27 s so far",
  "[strata] reading the prompt: 21,504 of 31,076 tokens, 32 s so far",
  "[strata] reading the prompt: 24,576 of 31,076 tokens, 37 s so far",
  "[strata] reading the prompt: 27,648 of 31,076 tokens, 42 s so far",
  "[strata] reading the prompt: 30,720 of 31,076 tokens, 47 s so far",
  "[strata] reading the prompt: 31,069 of 31,076 tokens, 49 s so far",
  "[strata] done: 10 tokens in 50 s (36.7 tok/s) (stop, cancel=False), expert cache 20.5% hit",
  "[strata] reading the prompt: 3,072 of 122,151 tokens, 4 s so far",
  "[strata] reading the prompt: 6,144 of 122,151 tokens, 8 s so far",
  "[strata] reading the prompt: 9,216 of 122,151 tokens, 13 s so far",
  "[strata] reading the prompt: 12,288 of 122,151 tokens, 17 s so far",
  "[strata] reading the prompt: 15,360 of 122,151 tokens, 22 s so far",
  "[strata] reading the prompt: 18,432 of 122,151 tokens, 26 s so far",
  "[strata] reading the prompt: 21,504 of 122,151 tokens, 31 s so far",
  "[strata] reading the prompt: 24,576 of 122,151 tokens, 36 s so far",
  "[strata] reading the prompt: 27,648 of 122,151 tokens, 40 s so far",
  "[strata] reading the prompt: 30,720 of 122,151 tokens, 45 s so far",
  "[strata] reading the prompt: 33,792 of 122,151 tokens, 50 s so far",
  "[strata] reading the prompt: 36,864 of 122,151 tokens, 55 s so far",
  "[strata] reading the prompt: 39,936 of 122,151 tokens, 60 s so far",
  "[strata] reading the prompt: 43,008 of 122,151 tokens, 65 s so far",
  "[strata] reading the prompt: 46,080 of 122,151 tokens, 70 s so far",
  "[strata] reading the prompt: 49,152 of 122,151 tokens, 75 s so far",
  "[strata] reading the prompt: 52,224 of 122,151 tokens, 80 s so far",
  "[strata] reading the prompt: 55,296 of 122,151 tokens, 85 s so far",
  "[strata] reading the prompt: 58,368 of 122,151 tokens, 90 s so far",
  "[strata] reading the prompt: 61,440 of 122,151 tokens, 95 s so far",
  "[strata] reading the prompt: 64,512 of 122,151 tokens, 101 s so far",
  "[strata] reading the prompt: 67,584 of 122,151 tokens, 106 s so far",
  "[strata] reading the prompt: 70,656 of 122,151 tokens, 111 s so far",
  "[strata] reading the prompt: 73,728 of 122,151 tokens, 117 s so far",
  "[strata] reading the prompt: 76,800 of 122,151 tokens, 123 s so far",
  "[strata] reading the prompt: 79,872 of 122,151 tokens, 128 s so far",
  "[strata] reading the prompt: 82,944 of 122,151 tokens, 134 s so far",
  "[strata] reading the prompt: 86,016 of 122,151 tokens, 140 s so far",
  "[strata] reading the prompt: 89,088 of 122,151 tokens, 145 s so far",
  "[strata] reading the prompt: 92,160 of 122,151 tokens, 151 s so far",
  "[strata] reading the prompt: 95,232 of 122,151 tokens, 158 s so far",
  "[strata] reading the prompt: 98,304 of 122,151 tokens, 164 s so far",
  "[strata] reading the prompt: 101,376 of 122,151 tokens, 170 s so far",
  "[strata] reading the prompt: 104,448 of 122,151 tokens, 176 s so far",
  "[strata] reading the prompt: 107,520 of 122,151 tokens, 182 s so far",
  "[strata] reading the prompt: 110,592 of 122,151 tokens, 189 s so far",
  "[strata] reading the prompt: 113,664 of 122,151 tokens, 195 s so far",
  "[strata] reading the prompt: 116,736 of 122,151 tokens, 201 s so far",
  "[strata] reading the prompt: 119,808 of 122,151 tokens, 208 s so far",
  "[strata] reading the prompt: 122,144 of 122,151 tokens, 214 s so far",
  "[strata] done: 10 tokens in 214 s (38.9 tok/s) (stop, cancel=False), expert cache 30.1% hit",
  "[strata] reading the prompt: 3,072 of 122,149 tokens, 4 s so far",
  "[strata] reading the prompt: 6,144 of 122,149 tokens, 9 s so far",
  "[strata] reading the prompt: 9,216 of 122,149 tokens, 13 s so far",
  "[strata] reading the prompt: 12,288 of 122,149 tokens, 18 s so far",
  "[strata] reading the prompt: 15,360 of 122,149 tokens, 22 s so far",
  "[strata] reading the prompt: 18,432 of 122,149 tokens, 27 s so far",
  "[strata] reading the prompt: 21,504 of 122,149 tokens, 31 s so far",
  "[strata] reading the prompt: 24,576 of 122,149 tokens, 36 s so far",
  "[strata] reading the prompt: 27,648 of 122,149 tokens, 41 s so far",
  "[strata] reading the prompt: 30,720 of 122,149 tokens, 45 s so far",
  "[strata] reading the prompt: 33,792 of 122,149 tokens, 50 s so far",
  "[strata] reading the prompt: 36,864 of 122,149 tokens, 55 s so far",
  "[strata] reading the prompt: 39,936 of 122,149 tokens, 60 s so far",
  "[strata] reading the prompt: 43,008 of 122,149 tokens, 65 s so far",
  "[strata] reading the prompt: 46,080 of 122,149 tokens, 70 s so far",
  "[strata] reading the prompt: 49,152 of 122,149 tokens, 75 s so far",
  "[strata] reading the prompt: 52,224 of 122,149 tokens, 80 s so far",
  "[strata] reading the prompt: 55,296 of 122,149 tokens, 85 s so far",
  "[strata] reading the prompt: 58,368 of 122,149 tokens, 90 s so far",
  "[strata] reading the prompt: 61,440 of 122,149 tokens, 95 s so far",
  "[strata] reading the prompt: 64,512 of 122,149 tokens, 101 s so far",
  "[strata] reading the prompt: 67,584 of 122,149 tokens, 106 s so far",
  "[strata] reading the prompt: 70,656 of 122,149 tokens, 112 s so far",
  "[strata] reading the prompt: 73,728 of 122,149 tokens, 117 s so far",
  "[strata] reading the prompt: 76,800 of 122,149 tokens, 123 s so far",
  "[strata] reading the prompt: 79,872 of 122,149 tokens, 128 s so far",
  "[strata] reading the prompt: 82,944 of 122,149 tokens, 134 s so far",
  "[strata] reading the prompt: 86,016 of 122,149 tokens, 140 s so far",
  "[strata] reading the prompt: 89,088 of 122,149 tokens, 146 s so far",
  "[strata] reading the prompt: 92,160 of 122,149 tokens, 152 s so far",
  "[strata] reading the prompt: 95,232 of 122,149 tokens, 158 s so far",
  "[strata] reading the prompt: 98,304 of 122,149 tokens, 164 s so far",
  "[strata] reading the prompt: 101,376 of 122,149 tokens, 170 s so far",
  "[strata] reading the prompt: 104,448 of 122,149 tokens, 176 s so far",
  "[strata] reading the prompt: 107,520 of 122,149 tokens, 182 s so far",
  "[strata] reading the prompt: 110,592 of 122,149 tokens, 189 s so far",
  "[strata] reading the prompt: 113,664 of 122,149 tokens, 195 s so far",
  "[strata] reading the prompt: 116,736 of 122,149 tokens, 201 s so far",
  "[strata] reading the prompt: 119,808 of 122,149 tokens, 208 s so far",
  "[strata] reading the prompt: 122,142 of 122,149 tokens, 214 s so far",
  "[strata] done: 9 tokens in 214 s (27.2 tok/s) (stop, cancel=False), expert cache 34.2% hit",
  "[strata] reading the prompt: 58,368 of 122,149 tokens, 5 s so far",
  "[strata] reading the prompt: 61,440 of 122,149 tokens, 11 s so far",
  "[strata] reading the prompt: 64,512 of 122,149 tokens, 16 s so far",
  "[strata] reading the prompt: 67,584 of 122,149 tokens, 21 s so far",
  "[strata] reading the prompt: 70,656 of 122,149 tokens, 27 s so far",
  "[strata] reading the prompt: 73,728 of 122,149 tokens, 32 s so far",
  "[strata] reading the prompt: 76,800 of 122,149 tokens, 38 s so far",
  "[strata] reading the prompt: 79,872 of 122,149 tokens, 43 s so far",
  "[strata] reading the prompt: 82,944 of 122,149 tokens, 49 s so far",
  "[strata] reading the prompt: 86,016 of 122,149 tokens, 55 s so far",
  "[strata] reading the prompt: 89,088 of 122,149 tokens, 61 s so far",
  "[strata] reading the prompt: 92,160 of 122,149 tokens, 67 s so far",
  "[strata] reading the prompt: 95,232 of 122,149 tokens, 73 s so far",
  "[strata] reading the prompt: 98,304 of 122,149 tokens, 79 s so far",
  "[strata] reading the prompt: 101,376 of 122,149 tokens, 85 s so far",
  "[strata] reading the prompt: 104,448 of 122,149 tokens, 91 s so far",
  "[strata] reading the prompt: 107,520 of 122,149 tokens, 97 s so far",
  "[strata] reading the prompt: 110,592 of 122,149 tokens, 104 s so far",
  "[strata] reading the prompt: 113,664 of 122,149 tokens, 110 s so far",
  "[strata] reading the prompt: 116,736 of 122,149 tokens, 117 s so far",
  "[strata] reading the prompt: 119,808 of 122,149 tokens, 123 s so far",
  "[strata] reading the prompt: 122,142 of 122,149 tokens, 129 s so far",
  "[strata] done: 9 tokens in 129 s (33.8 tok/s) (stop, cancel=False), expert cache 46.6% hit"
 ]
}