Spaces:
Running
Running
Add round9_v021 sparse MoE benchmarks (Qwen3-30B-A3B 1.45 tok/s, 4.6x-8.4x speedup, 0 NVMe stalls)
Browse files- benchmarks.json +390 -0
- index.html +12 -9
benchmarks.json
CHANGED
|
@@ -10138,5 +10138,395 @@
|
|
| 10138 |
"ttft_speedup_x": null,
|
| 10139 |
"notes": null,
|
| 10140 |
"output_preview": "<think>\nOkay, so I need to explain how page-aligned O_DIRECT NVMe reads and asynchronous ping-pong GPU buffers interact when streaming transformer layers on an "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10141 |
}
|
| 10142 |
]
|
|
|
|
| 10138 |
"ttft_speedup_x": null,
|
| 10139 |
"notes": null,
|
| 10140 |
"output_preview": "<think>\nOkay, so I need to explain how page-aligned O_DIRECT NVMe reads and asynchronous ping-pong GPU buffers interact when streaming transformer layers on an "
|
| 10141 |
+
},
|
| 10142 |
+
{
|
| 10143 |
+
"round": "round9_v021",
|
| 10144 |
+
"source_file": "r9_olmoe_r0_cached.json",
|
| 10145 |
+
"hardware": "NVIDIA Jetson Orin Nano (8 GiB unified LPDDR5, CUDA sm_87, dm-crypt NVMe)",
|
| 10146 |
+
"hardware_id": "orin-nano-8gb-cuda",
|
| 10147 |
+
"engine": "layerstream-plugin",
|
| 10148 |
+
"engine_version": "0.2.1",
|
| 10149 |
+
"git_rev": null,
|
| 10150 |
+
"mode": "r9_olmoe_r0_sparse_cached",
|
| 10151 |
+
"status": "ok",
|
| 10152 |
+
"model": "OLMoE-1B-7B-0125-Instruct-Q2_K.gguf",
|
| 10153 |
+
"draft_model": null,
|
| 10154 |
+
"workload": "prompt_heavy",
|
| 10155 |
+
"chat_template_applied": false,
|
| 10156 |
+
"warmup": true,
|
| 10157 |
+
"reps": 3,
|
| 10158 |
+
"temperature": 0.0,
|
| 10159 |
+
"seed": 42,
|
| 10160 |
+
"threads": 4,
|
| 10161 |
+
"kv_cache_type": "q8_0",
|
| 10162 |
+
"vram_budget_auto": false,
|
| 10163 |
+
"vram_budget_mb": 0,
|
| 10164 |
+
"prompt_tokens": 367,
|
| 10165 |
+
"completion_tokens": 32,
|
| 10166 |
+
"load_time_s": 0.803,
|
| 10167 |
+
"ttft_s": 2.456,
|
| 10168 |
+
"ttft_s_min": 2.421,
|
| 10169 |
+
"ttft_s_max": 2.465,
|
| 10170 |
+
"decode_time_s": 2.277,
|
| 10171 |
+
"total_time_s": 4.698,
|
| 10172 |
+
"decode_tok_per_s": 13.617,
|
| 10173 |
+
"decode_tok_per_s_min": 13.512,
|
| 10174 |
+
"decode_tok_per_s_max": 13.924,
|
| 10175 |
+
"total_tok_per_s": 6.812,
|
| 10176 |
+
"total_tok_per_s_min": 6.736,
|
| 10177 |
+
"total_tok_per_s_max": 6.821,
|
| 10178 |
+
"sweeps": 32,
|
| 10179 |
+
"drafted_tokens": 0,
|
| 10180 |
+
"accepted_tokens": 0,
|
| 10181 |
+
"resident_layers": 0,
|
| 10182 |
+
"streamed_layers": 16,
|
| 10183 |
+
"n_layers": 16,
|
| 10184 |
+
"resident_mib": 218.3,
|
| 10185 |
+
"slot_mib": 0.0,
|
| 10186 |
+
"expert_slot_mib": 139.0,
|
| 10187 |
+
"io_mib_read": 2085.12,
|
| 10188 |
+
"pread_mib_s": 1117.9,
|
| 10189 |
+
"effective_io_mib_s": 443.8,
|
| 10190 |
+
"expert_cache_hits": 11928,
|
| 10191 |
+
"expert_cache_misses": 0,
|
| 10192 |
+
"expert_cache_hit_rate": 1.0,
|
| 10193 |
+
"expert_cache_mib_saved": 8635.38,
|
| 10194 |
+
"moe_layers": 16,
|
| 10195 |
+
"moe_active_streaming": true,
|
| 10196 |
+
"uma_zero_copy": false,
|
| 10197 |
+
"is_unified_memory": true,
|
| 10198 |
+
"direct_io_active": true,
|
| 10199 |
+
"peak_rss_mib": 3018.2,
|
| 10200 |
+
"current_rss_mib": 3018.2,
|
| 10201 |
+
"mem_avail_before_mib": 2463.0,
|
| 10202 |
+
"mem_avail_after_mib": 2463.1,
|
| 10203 |
+
"swap_delta_mib": 0.0,
|
| 10204 |
+
"cuda_max_allocated_mib": null,
|
| 10205 |
+
"page_cache_delta_mib": 0.1,
|
| 10206 |
+
"page_cache_delta_since_start_mib": 13.8,
|
| 10207 |
+
"idle_watts": 7.8,
|
| 10208 |
+
"avg_watts": 11.59,
|
| 10209 |
+
"net_watts": 3.79,
|
| 10210 |
+
"joules_per_tok": 1.7,
|
| 10211 |
+
"net_joules_per_tok": 0.56,
|
| 10212 |
+
"turn1_prompt_tokens": null,
|
| 10213 |
+
"turn1_ttft_s": null,
|
| 10214 |
+
"turn2_prompt_tokens": null,
|
| 10215 |
+
"turn2_ttft_s": null,
|
| 10216 |
+
"ttft_speedup_x": null,
|
| 10217 |
+
"notes": null,
|
| 10218 |
+
"output_preview": "\nThe core memory-management mechanism for large language models on edge accelerators involves layer-streaming inference with zero-copy mapping, prefill runs, an"
|
| 10219 |
+
},
|
| 10220 |
+
{
|
| 10221 |
+
"round": "round9_v021",
|
| 10222 |
+
"source_file": "r9_olmoe_r0_cached.json",
|
| 10223 |
+
"hardware": "NVIDIA Jetson Orin Nano (8 GiB unified LPDDR5, CUDA sm_87, dm-crypt NVMe)",
|
| 10224 |
+
"hardware_id": "orin-nano-8gb-cuda",
|
| 10225 |
+
"engine": "layerstream-plugin",
|
| 10226 |
+
"engine_version": "0.2.1",
|
| 10227 |
+
"git_rev": null,
|
| 10228 |
+
"mode": "r9_olmoe_r0_sparse_cached",
|
| 10229 |
+
"status": "ok",
|
| 10230 |
+
"model": "OLMoE-1B-7B-0125-Instruct-Q2_K.gguf",
|
| 10231 |
+
"draft_model": null,
|
| 10232 |
+
"workload": "code_edit",
|
| 10233 |
+
"chat_template_applied": false,
|
| 10234 |
+
"warmup": true,
|
| 10235 |
+
"reps": 3,
|
| 10236 |
+
"temperature": 0.0,
|
| 10237 |
+
"seed": 42,
|
| 10238 |
+
"threads": 4,
|
| 10239 |
+
"kv_cache_type": "q8_0",
|
| 10240 |
+
"vram_budget_auto": false,
|
| 10241 |
+
"vram_budget_mb": 0,
|
| 10242 |
+
"prompt_tokens": 140,
|
| 10243 |
+
"completion_tokens": 48,
|
| 10244 |
+
"load_time_s": 0.803,
|
| 10245 |
+
"ttft_s": 2.222,
|
| 10246 |
+
"ttft_s_min": 2.217,
|
| 10247 |
+
"ttft_s_max": 2.245,
|
| 10248 |
+
"decode_time_s": 3.661,
|
| 10249 |
+
"total_time_s": 5.877,
|
| 10250 |
+
"decode_tok_per_s": 12.84,
|
| 10251 |
+
"decode_tok_per_s_min": 12.406,
|
| 10252 |
+
"decode_tok_per_s_max": 13.257,
|
| 10253 |
+
"total_tok_per_s": 8.167,
|
| 10254 |
+
"total_tok_per_s_min": 7.955,
|
| 10255 |
+
"total_tok_per_s_max": 8.323,
|
| 10256 |
+
"sweeps": 48,
|
| 10257 |
+
"drafted_tokens": 0,
|
| 10258 |
+
"accepted_tokens": 0,
|
| 10259 |
+
"resident_layers": 0,
|
| 10260 |
+
"streamed_layers": 16,
|
| 10261 |
+
"n_layers": 16,
|
| 10262 |
+
"resident_mib": 218.3,
|
| 10263 |
+
"slot_mib": 0.0,
|
| 10264 |
+
"expert_slot_mib": 139.0,
|
| 10265 |
+
"io_mib_read": 2175.02,
|
| 10266 |
+
"pread_mib_s": 1061.2,
|
| 10267 |
+
"effective_io_mib_s": 381.2,
|
| 10268 |
+
"expert_cache_hits": 17948,
|
| 10269 |
+
"expert_cache_misses": 124,
|
| 10270 |
+
"expert_cache_hit_rate": 0.993,
|
| 10271 |
+
"expert_cache_mib_saved": 12993.47,
|
| 10272 |
+
"moe_layers": 16,
|
| 10273 |
+
"moe_active_streaming": true,
|
| 10274 |
+
"uma_zero_copy": false,
|
| 10275 |
+
"is_unified_memory": true,
|
| 10276 |
+
"direct_io_active": true,
|
| 10277 |
+
"peak_rss_mib": 3088.9,
|
| 10278 |
+
"current_rss_mib": 3088.9,
|
| 10279 |
+
"mem_avail_before_mib": 2382.3,
|
| 10280 |
+
"mem_avail_after_mib": 2388.1,
|
| 10281 |
+
"swap_delta_mib": 0.0,
|
| 10282 |
+
"cuda_max_allocated_mib": null,
|
| 10283 |
+
"page_cache_delta_mib": -0.3,
|
| 10284 |
+
"page_cache_delta_since_start_mib": 13.7,
|
| 10285 |
+
"idle_watts": 7.8,
|
| 10286 |
+
"avg_watts": 11.51,
|
| 10287 |
+
"net_watts": 3.71,
|
| 10288 |
+
"joules_per_tok": 1.41,
|
| 10289 |
+
"net_joules_per_tok": 0.45,
|
| 10290 |
+
"turn1_prompt_tokens": null,
|
| 10291 |
+
"turn1_ttft_s": null,
|
| 10292 |
+
"turn2_prompt_tokens": null,
|
| 10293 |
+
"turn2_ttft_s": null,
|
| 10294 |
+
"ttft_speedup_x": null,
|
| 10295 |
+
"notes": null,
|
| 10296 |
+
"output_preview": "#[derive(Debug, Clone)]\npub struct StreamConfig {\n pub model_path: PathBuf,\n pub n_ctx: u32,\n pub n_batch: u32,\n "
|
| 10297 |
+
},
|
| 10298 |
+
{
|
| 10299 |
+
"round": "round9_v021",
|
| 10300 |
+
"source_file": "r9_olmoe_r0_cached.json",
|
| 10301 |
+
"hardware": "NVIDIA Jetson Orin Nano (8 GiB unified LPDDR5, CUDA sm_87, dm-crypt NVMe)",
|
| 10302 |
+
"hardware_id": "orin-nano-8gb-cuda",
|
| 10303 |
+
"engine": "layerstream-plugin",
|
| 10304 |
+
"engine_version": "0.2.1",
|
| 10305 |
+
"git_rev": null,
|
| 10306 |
+
"mode": "r9_olmoe_r0_sparse_cached",
|
| 10307 |
+
"status": "ok",
|
| 10308 |
+
"model": "OLMoE-1B-7B-0125-Instruct-Q2_K.gguf",
|
| 10309 |
+
"draft_model": null,
|
| 10310 |
+
"workload": "open_ended",
|
| 10311 |
+
"chat_template_applied": false,
|
| 10312 |
+
"warmup": true,
|
| 10313 |
+
"reps": 3,
|
| 10314 |
+
"temperature": 0.0,
|
| 10315 |
+
"seed": 42,
|
| 10316 |
+
"threads": 4,
|
| 10317 |
+
"kv_cache_type": "q8_0",
|
| 10318 |
+
"vram_budget_auto": false,
|
| 10319 |
+
"vram_budget_mb": 0,
|
| 10320 |
+
"prompt_tokens": 33,
|
| 10321 |
+
"completion_tokens": 48,
|
| 10322 |
+
"load_time_s": 0.803,
|
| 10323 |
+
"ttft_s": 2.071,
|
| 10324 |
+
"ttft_s_min": 2.071,
|
| 10325 |
+
"ttft_s_max": 2.119,
|
| 10326 |
+
"decode_time_s": 3.749,
|
| 10327 |
+
"total_time_s": 5.868,
|
| 10328 |
+
"decode_tok_per_s": 12.535,
|
| 10329 |
+
"decode_tok_per_s_min": 11.776,
|
| 10330 |
+
"decode_tok_per_s_max": 12.69,
|
| 10331 |
+
"total_tok_per_s": 8.179,
|
| 10332 |
+
"total_tok_per_s_min": 7.918,
|
| 10333 |
+
"total_tok_per_s_max": 8.312,
|
| 10334 |
+
"sweeps": 48,
|
| 10335 |
+
"drafted_tokens": 0,
|
| 10336 |
+
"accepted_tokens": 0,
|
| 10337 |
+
"resident_layers": 0,
|
| 10338 |
+
"streamed_layers": 16,
|
| 10339 |
+
"n_layers": 16,
|
| 10340 |
+
"resident_mib": 218.3,
|
| 10341 |
+
"slot_mib": 0.0,
|
| 10342 |
+
"expert_slot_mib": 139.0,
|
| 10343 |
+
"io_mib_read": 2328.12,
|
| 10344 |
+
"pread_mib_s": 1031.9,
|
| 10345 |
+
"effective_io_mib_s": 404.4,
|
| 10346 |
+
"expert_cache_hits": 17737,
|
| 10347 |
+
"expert_cache_misses": 335,
|
| 10348 |
+
"expert_cache_hit_rate": 0.981,
|
| 10349 |
+
"expert_cache_mib_saved": 12840.38,
|
| 10350 |
+
"moe_layers": 16,
|
| 10351 |
+
"moe_active_streaming": true,
|
| 10352 |
+
"uma_zero_copy": false,
|
| 10353 |
+
"is_unified_memory": true,
|
| 10354 |
+
"direct_io_active": true,
|
| 10355 |
+
"peak_rss_mib": 3097.2,
|
| 10356 |
+
"current_rss_mib": 3097.2,
|
| 10357 |
+
"mem_avail_before_mib": 2363.0,
|
| 10358 |
+
"mem_avail_after_mib": 2361.8,
|
| 10359 |
+
"swap_delta_mib": 0.0,
|
| 10360 |
+
"cuda_max_allocated_mib": null,
|
| 10361 |
+
"page_cache_delta_mib": 0.1,
|
| 10362 |
+
"page_cache_delta_since_start_mib": 14.1,
|
| 10363 |
+
"idle_watts": 7.8,
|
| 10364 |
+
"avg_watts": 11.78,
|
| 10365 |
+
"net_watts": 3.99,
|
| 10366 |
+
"joules_per_tok": 1.44,
|
| 10367 |
+
"net_joules_per_tok": 0.49,
|
| 10368 |
+
"turn1_prompt_tokens": null,
|
| 10369 |
+
"turn1_ttft_s": null,
|
| 10370 |
+
"turn2_prompt_tokens": null,
|
| 10371 |
+
"turn2_ttft_s": null,
|
| 10372 |
+
"ttft_speedup_x": null,
|
| 10373 |
+
"notes": null,
|
| 10374 |
+
"output_preview": "\n\n1. **Page-Aligned O_DIRECT NVMe Reads:**\n - **Explanation:** When an NVMe SSD is used, it typically operates on a page-aligned basis, meaning it reads data "
|
| 10375 |
+
},
|
| 10376 |
+
{
|
| 10377 |
+
"round": "round9_v021",
|
| 10378 |
+
"source_file": "r9_qwen3_30b_a3b_draft06b_code.json",
|
| 10379 |
+
"hardware": "NVIDIA Jetson Orin Nano (8 GiB unified LPDDR5, CUDA sm_87, dm-crypt NVMe)",
|
| 10380 |
+
"hardware_id": "orin-nano-8gb-cuda",
|
| 10381 |
+
"engine": "layerstream-plugin",
|
| 10382 |
+
"engine_version": "0.2.1",
|
| 10383 |
+
"git_rev": null,
|
| 10384 |
+
"mode": "r9_qwen3_30b_a3b_r0_draft06b",
|
| 10385 |
+
"status": "ok",
|
| 10386 |
+
"model": "Qwen3-30B-A3B-Q4_K_M.gguf",
|
| 10387 |
+
"draft_model": "Qwen3-0.6B-Q4_K_M.gguf",
|
| 10388 |
+
"workload": "code_edit",
|
| 10389 |
+
"chat_template_applied": true,
|
| 10390 |
+
"warmup": false,
|
| 10391 |
+
"reps": 2,
|
| 10392 |
+
"temperature": 0.0,
|
| 10393 |
+
"seed": 42,
|
| 10394 |
+
"threads": 4,
|
| 10395 |
+
"kv_cache_type": "q8_0",
|
| 10396 |
+
"vram_budget_auto": false,
|
| 10397 |
+
"vram_budget_mb": 0,
|
| 10398 |
+
"prompt_tokens": 121,
|
| 10399 |
+
"completion_tokens": 32,
|
| 10400 |
+
"load_time_s": 3.442,
|
| 10401 |
+
"ttft_s": 12.207,
|
| 10402 |
+
"ttft_s_min": 12.087,
|
| 10403 |
+
"ttft_s_max": 12.328,
|
| 10404 |
+
"decode_time_s": 32.699,
|
| 10405 |
+
"total_time_s": 44.906,
|
| 10406 |
+
"decode_tok_per_s": 0.948,
|
| 10407 |
+
"decode_tok_per_s_min": 0.94,
|
| 10408 |
+
"decode_tok_per_s_max": 0.956,
|
| 10409 |
+
"total_tok_per_s": 0.713,
|
| 10410 |
+
"total_tok_per_s_min": 0.706,
|
| 10411 |
+
"total_tok_per_s_max": 0.719,
|
| 10412 |
+
"sweeps": 11,
|
| 10413 |
+
"drafted_tokens": 62,
|
| 10414 |
+
"accepted_tokens": 22,
|
| 10415 |
+
"resident_layers": 0,
|
| 10416 |
+
"streamed_layers": 48,
|
| 10417 |
+
"n_layers": 48,
|
| 10418 |
+
"resident_mib": 951.3,
|
| 10419 |
+
"slot_mib": 0.0,
|
| 10420 |
+
"expert_slot_mib": 373.5,
|
| 10421 |
+
"io_mib_read": 48214.96,
|
| 10422 |
+
"pread_mib_s": 1260.7,
|
| 10423 |
+
"effective_io_mib_s": 1073.8,
|
| 10424 |
+
"expert_cache_hits": 3526,
|
| 10425 |
+
"expert_cache_misses": 34880,
|
| 10426 |
+
"expert_cache_hit_rate": 0.092,
|
| 10427 |
+
"expert_cache_mib_saved": 3231.84,
|
| 10428 |
+
"moe_layers": 48,
|
| 10429 |
+
"moe_active_streaming": true,
|
| 10430 |
+
"uma_zero_copy": false,
|
| 10431 |
+
"is_unified_memory": true,
|
| 10432 |
+
"direct_io_active": true,
|
| 10433 |
+
"peak_rss_mib": 4090.9,
|
| 10434 |
+
"current_rss_mib": 4090.9,
|
| 10435 |
+
"mem_avail_before_mib": 1367.4,
|
| 10436 |
+
"mem_avail_after_mib": 1369.4,
|
| 10437 |
+
"swap_delta_mib": 6.6,
|
| 10438 |
+
"cuda_max_allocated_mib": null,
|
| 10439 |
+
"page_cache_delta_mib": -23.9,
|
| 10440 |
+
"page_cache_delta_since_start_mib": -62.2,
|
| 10441 |
+
"idle_watts": 7.95,
|
| 10442 |
+
"avg_watts": 11.35,
|
| 10443 |
+
"net_watts": 3.4,
|
| 10444 |
+
"joules_per_tok": 15.92,
|
| 10445 |
+
"net_joules_per_tok": 4.77,
|
| 10446 |
+
"turn1_prompt_tokens": null,
|
| 10447 |
+
"turn1_ttft_s": null,
|
| 10448 |
+
"turn2_prompt_tokens": null,
|
| 10449 |
+
"turn2_ttft_s": null,
|
| 10450 |
+
"ttft_speedup_x": null,
|
| 10451 |
+
"notes": null,
|
| 10452 |
+
"output_preview": "<think>\nOkay, let me try to figure out how to do this. The user wants me to take the given Rust struct and add a new field called `"
|
| 10453 |
+
},
|
| 10454 |
+
{
|
| 10455 |
+
"round": "round9_v021",
|
| 10456 |
+
"source_file": "r9_qwen3_30b_a3b_draft06b_open.json",
|
| 10457 |
+
"hardware": "NVIDIA Jetson Orin Nano (8 GiB unified LPDDR5, CUDA sm_87, dm-crypt NVMe)",
|
| 10458 |
+
"hardware_id": "orin-nano-8gb-cuda",
|
| 10459 |
+
"engine": "layerstream-plugin",
|
| 10460 |
+
"engine_version": "0.2.1",
|
| 10461 |
+
"git_rev": null,
|
| 10462 |
+
"mode": "r9_qwen3_30b_a3b_r0_draft06b",
|
| 10463 |
+
"status": "ok",
|
| 10464 |
+
"model": "Qwen3-30B-A3B-Q4_K_M.gguf",
|
| 10465 |
+
"draft_model": "Qwen3-0.6B-Q4_K_M.gguf",
|
| 10466 |
+
"workload": "open_ended",
|
| 10467 |
+
"chat_template_applied": true,
|
| 10468 |
+
"warmup": false,
|
| 10469 |
+
"reps": 2,
|
| 10470 |
+
"temperature": 0.0,
|
| 10471 |
+
"seed": 42,
|
| 10472 |
+
"threads": 4,
|
| 10473 |
+
"kv_cache_type": "q8_0",
|
| 10474 |
+
"vram_budget_auto": false,
|
| 10475 |
+
"vram_budget_mb": 0,
|
| 10476 |
+
"prompt_tokens": 39,
|
| 10477 |
+
"completion_tokens": 32,
|
| 10478 |
+
"load_time_s": 3.585,
|
| 10479 |
+
"ttft_s": 12.128,
|
| 10480 |
+
"ttft_s_min": 11.713,
|
| 10481 |
+
"ttft_s_max": 12.543,
|
| 10482 |
+
"decode_time_s": 21.441,
|
| 10483 |
+
"total_time_s": 33.569,
|
| 10484 |
+
"decode_tok_per_s": 1.446,
|
| 10485 |
+
"decode_tok_per_s_min": 1.431,
|
| 10486 |
+
"decode_tok_per_s_max": 1.461,
|
| 10487 |
+
"total_tok_per_s": 0.954,
|
| 10488 |
+
"total_tok_per_s_min": 0.936,
|
| 10489 |
+
"total_tok_per_s_max": 0.972,
|
| 10490 |
+
"sweeps": 6,
|
| 10491 |
+
"drafted_tokens": 48,
|
| 10492 |
+
"accepted_tokens": 27,
|
| 10493 |
+
"resident_layers": 0,
|
| 10494 |
+
"streamed_layers": 48,
|
| 10495 |
+
"n_layers": 48,
|
| 10496 |
+
"resident_mib": 951.3,
|
| 10497 |
+
"slot_mib": 0.0,
|
| 10498 |
+
"expert_slot_mib": 373.5,
|
| 10499 |
+
"io_mib_read": 36843.9,
|
| 10500 |
+
"pread_mib_s": 1266.1,
|
| 10501 |
+
"effective_io_mib_s": 1098.0,
|
| 10502 |
+
"expert_cache_hits": 1490,
|
| 10503 |
+
"expert_cache_misses": 24208,
|
| 10504 |
+
"expert_cache_hit_rate": 0.058,
|
| 10505 |
+
"expert_cache_mib_saved": 1314.42,
|
| 10506 |
+
"moe_layers": 48,
|
| 10507 |
+
"moe_active_streaming": true,
|
| 10508 |
+
"uma_zero_copy": false,
|
| 10509 |
+
"is_unified_memory": true,
|
| 10510 |
+
"direct_io_active": true,
|
| 10511 |
+
"peak_rss_mib": 4045.0,
|
| 10512 |
+
"current_rss_mib": 4044.5,
|
| 10513 |
+
"mem_avail_before_mib": 1434.9,
|
| 10514 |
+
"mem_avail_after_mib": 1437.3,
|
| 10515 |
+
"swap_delta_mib": 4.4,
|
| 10516 |
+
"cuda_max_allocated_mib": null,
|
| 10517 |
+
"page_cache_delta_mib": -7.6,
|
| 10518 |
+
"page_cache_delta_since_start_mib": 42.1,
|
| 10519 |
+
"idle_watts": 7.87,
|
| 10520 |
+
"avg_watts": 11.01,
|
| 10521 |
+
"net_watts": 3.13,
|
| 10522 |
+
"joules_per_tok": 11.55,
|
| 10523 |
+
"net_joules_per_tok": 3.29,
|
| 10524 |
+
"turn1_prompt_tokens": null,
|
| 10525 |
+
"turn1_ttft_s": null,
|
| 10526 |
+
"turn2_prompt_tokens": null,
|
| 10527 |
+
"turn2_ttft_s": null,
|
| 10528 |
+
"ttft_speedup_x": null,
|
| 10529 |
+
"notes": null,
|
| 10530 |
+
"output_preview": "<think>\nOkay, so I need to explain how page-aligned O_DIRECT NVMe reads and asynchronous ping-pong GPU buffers interact when streaming transformer layers on an "
|
| 10531 |
}
|
| 10532 |
]
|
index.html
CHANGED
|
@@ -414,13 +414,13 @@
|
|
| 414 |
<h1>⚡ layerstream-plugin — Edge Out-of-Core LLM Benchmarks</h1>
|
| 415 |
<p>
|
| 416 |
Bare-metal 4-engine comparison on an <strong>8 GB NVIDIA Jetson Orin Nano</strong> (7.3 GiB RAM, CUDA <code>sm_87</code>, LUKS2 NVMe, INA3221 hardware power rail):
|
| 417 |
-
<strong>layerstream-plugin</strong> (R2–R8
|
| 418 |
</p>
|
| 419 |
</div>
|
| 420 |
<nav class="pill-links" aria-label="Project links">
|
| 421 |
<a class="pill" href="https://github.com/kleinbem/layerstream-plugin" target="_blank" rel="noopener">GitHub Repo</a>
|
| 422 |
-
<a class="pill" href="https://github.com/kleinbem/layerstream-plugin/releases/tag/v0.2.
|
| 423 |
-
<a class="pill" href="https://huggingface.co/datasets/kleinbem/layerstream-orin-nano-benchmarks" target="_blank" rel="noopener">HF Dataset (
|
| 424 |
</nav>
|
| 425 |
</header>
|
| 426 |
|
|
@@ -451,7 +451,7 @@
|
|
| 451 |
<button class="tab-btn" role="tab" id="tab-compare" aria-controls="panel-compare" aria-selected="true">1. 4-Engine Comparison</button>
|
| 452 |
<button class="tab-btn" role="tab" id="tab-tuning" aria-controls="panel-tuning" aria-selected="false">2. Tuning Story (R2 → R8)</button>
|
| 453 |
<button class="tab-btn" role="tab" id="tab-estimator" aria-controls="panel-estimator" aria-selected="false">3. Hardware Estimator</button>
|
| 454 |
-
<button class="tab-btn" role="tab" id="tab-raw" aria-controls="panel-raw" aria-selected="false">4. Raw Dataset (
|
| 455 |
</div>
|
| 456 |
|
| 457 |
<!-- PANEL 1: 4-ENGINE COMPARISON -->
|
|
@@ -558,7 +558,7 @@
|
|
| 558 |
<!-- PANEL 4: RAW DATASET -->
|
| 559 |
<section id="panel-raw" class="panel" role="tabpanel" aria-labelledby="tab-raw">
|
| 560 |
<div class="card">
|
| 561 |
-
<h2>Normalized Benchmark Records (<span id="raw-count">0</span> /
|
| 562 |
<p class="desc">Loaded directly from <code>kleinbem/layerstream-orin-nano-benchmarks</code> (Parquet / JSON). Use keyboard or horizontal scroll to inspect all telemetry columns.</p>
|
| 563 |
<div class="controls">
|
| 564 |
<div class="ctrl">
|
|
@@ -664,14 +664,17 @@
|
|
| 664 |
}
|
| 665 |
if (modelKey === "olmoe") {
|
| 666 |
return [
|
| 667 |
-
{ label: "layerstream-plugin R=0 Sparse + TinyLFU", sub: "98–100% cache hit · reps=3 · 0 MiB swap", row: findOne(r => r.round === "
|
|
|
|
| 668 |
{ label: "layerstream-plugin R=0 Full-Layer Stream", sub: "Baseline without sparse MoE / TinyLFU", row: findOne(r => r.round === "round8_v010" && r.mode === "r8_olmoe_r0_full") },
|
| 669 |
].filter(x => x.row);
|
| 670 |
}
|
| 671 |
return [
|
| 672 |
-
{ label: "
|
| 673 |
-
{ label: "
|
| 674 |
-
{ label: "layerstream-plugin
|
|
|
|
|
|
|
| 675 |
{ label: "Stock llama.cpp GPU MoE offload (-ot exps=CPU)", sub: "OOM rc=1 · +12.34 GiB swap", row: findOne(r => r.round === "competitors" && r.mode === "llama_cpp_qwen3_30b_gpu_moe_offload") },
|
| 676 |
].filter(x => x.row);
|
| 677 |
}
|
|
|
|
| 414 |
<h1>⚡ layerstream-plugin — Edge Out-of-Core LLM Benchmarks</h1>
|
| 415 |
<p>
|
| 416 |
Bare-metal 4-engine comparison on an <strong>8 GB NVIDIA Jetson Orin Nano</strong> (7.3 GiB RAM, CUDA <code>sm_87</code>, LUKS2 NVMe, INA3221 hardware power rail):
|
| 417 |
+
<strong>layerstream-plugin</strong> (R2–R8 on <code>v0.1.0</code>, R9 MoE on <strong><code>v0.2.1</code></strong> — isolated GPU worker with <strong>0 MB post-eviction CUDA context</strong> and parallel <code>FADV_RANDOM+DONTNEED</code> sparse MoE reads beating stock <code>llama.cpp</code> on <code>Qwen3-30B-A3B</code> at <strong>1.45 tok/s</strong>) vs. <strong>stock llama.cpp</strong> (Ollama/LM Studio runtime), <strong>Hugging Face accelerate</strong>, and <strong>AirLLM 4.0.0</strong>.
|
| 418 |
</p>
|
| 419 |
</div>
|
| 420 |
<nav class="pill-links" aria-label="Project links">
|
| 421 |
<a class="pill" href="https://github.com/kleinbem/layerstream-plugin" target="_blank" rel="noopener">GitHub Repo</a>
|
| 422 |
+
<a class="pill" href="https://github.com/kleinbem/layerstream-plugin/releases/tag/v0.2.1" target="_blank" rel="noopener">v0.2.1 Release</a>
|
| 423 |
+
<a class="pill" href="https://huggingface.co/datasets/kleinbem/layerstream-orin-nano-benchmarks" target="_blank" rel="noopener">HF Dataset (135 runs)</a>
|
| 424 |
</nav>
|
| 425 |
</header>
|
| 426 |
|
|
|
|
| 451 |
<button class="tab-btn" role="tab" id="tab-compare" aria-controls="panel-compare" aria-selected="true">1. 4-Engine Comparison</button>
|
| 452 |
<button class="tab-btn" role="tab" id="tab-tuning" aria-controls="panel-tuning" aria-selected="false">2. Tuning Story (R2 → R8)</button>
|
| 453 |
<button class="tab-btn" role="tab" id="tab-estimator" aria-controls="panel-estimator" aria-selected="false">3. Hardware Estimator</button>
|
| 454 |
+
<button class="tab-btn" role="tab" id="tab-raw" aria-controls="panel-raw" aria-selected="false">4. Raw Dataset (135 Runs)</button>
|
| 455 |
</div>
|
| 456 |
|
| 457 |
<!-- PANEL 1: 4-ENGINE COMPARISON -->
|
|
|
|
| 558 |
<!-- PANEL 4: RAW DATASET -->
|
| 559 |
<section id="panel-raw" class="panel" role="tabpanel" aria-labelledby="tab-raw">
|
| 560 |
<div class="card">
|
| 561 |
+
<h2>Normalized Benchmark Records (<span id="raw-count">0</span> / 135 rows)</h2>
|
| 562 |
<p class="desc">Loaded directly from <code>kleinbem/layerstream-orin-nano-benchmarks</code> (Parquet / JSON). Use keyboard or horizontal scroll to inspect all telemetry columns.</p>
|
| 563 |
<div class="controls">
|
| 564 |
<div class="ctrl">
|
|
|
|
| 664 |
}
|
| 665 |
if (modelKey === "olmoe") {
|
| 666 |
return [
|
| 667 |
+
{ label: "layerstream-plugin R=0 Sparse + TinyLFU (v0.2.1)", sub: "98–100% cache hit · reps=3 · 0 MiB swap · parallel FADV_RANDOM+DONTNEED", row: findOne(r => r.round === "round9_v021" && r.mode === "r9_olmoe_r0_sparse_cached" && r.workload === workload) },
|
| 668 |
+
{ label: "layerstream-plugin R=0 Sparse + TinyLFU (v0.1.0)", sub: "98–100% cache hit · reps=3 · 0 MiB swap", row: findOne(r => r.round === "round8_v010" && r.mode === "r8_olmoe_r0_sparse_cached" && r.workload === workload) },
|
| 669 |
{ label: "layerstream-plugin R=0 Full-Layer Stream", sub: "Baseline without sparse MoE / TinyLFU", row: findOne(r => r.round === "round8_v010" && r.mode === "r8_olmoe_r0_full") },
|
| 670 |
].filter(x => x.row);
|
| 671 |
}
|
| 672 |
return [
|
| 673 |
+
{ label: "layerstream-plugin v0.2.1 Sparse + 0.6B (open_ended)", sub: "Wins! 1.45 tok/s · 4.05 GiB RSS · 1,266 MiB/s · 0 NVMe stalls · 11.55 J/tok", row: findOne(r => r.round === "round9_v021" && r.mode === "r9_qwen3_30b_a3b_r0_draft06b" && r.workload === "open_ended") },
|
| 674 |
+
{ label: "Stock llama.cpp CPU mmap (-ngl 0 -dev none -b 512)", sub: "1.27 tok/s · 6.07 GiB RSS · +248 MiB swap · 25.3 s load · 15.26 J/tok", row: findOne(r => r.round === "competitors" && r.mode === "llama_cpp_qwen3_30b_cpu_mmap_b512") },
|
| 675 |
+
{ label: "layerstream-plugin v0.2.1 Sparse + 0.6B (code_edit)", sub: "0.95 tok/s (8.4× vs v0.1.0) · 4.09 GiB RSS · 1,261 MiB/s · 0 NVMe stalls", row: findOne(r => r.round === "round9_v021" && r.mode === "r9_qwen3_30b_a3b_r0_draft06b" && r.workload === "code_edit") },
|
| 676 |
+
{ label: "layerstream-plugin v0.1.0 Sparse + 0.6B (open_ended)", sub: "Before fix: O_DIRECT Tegra nvme1 stalls · 3.97 GiB RSS · 0 MiB swap", row: findOne(r => r.round === "round8_v010" && r.mode === "r8_qwen3_30b_a3b_r0_draft06b" && r.workload === "open_ended") },
|
| 677 |
+
{ label: "layerstream-plugin v0.1.0 Sparse + 0.6B (code_edit)", sub: "Before fix: hit 30 s Orin Tegra nvme1 IRQ stalls · 0 MiB swap", row: findOne(r => r.round === "round8_v010" && r.mode === "r8_qwen3_30b_a3b_r0_draft06b" && r.workload === "code_edit") },
|
| 678 |
{ label: "Stock llama.cpp GPU MoE offload (-ot exps=CPU)", sub: "OOM rc=1 · +12.34 GiB swap", row: findOne(r => r.round === "competitors" && r.mode === "llama_cpp_qwen3_30b_gpu_moe_offload") },
|
| 679 |
].filter(x => x.row);
|
| 680 |
}
|