You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 898e2be
Browse filesBrowse the repository at this point in the historyBrowse files
| Does Synapse write as fast as **llama.cpp**? |**Yes.** 102% of its speed on 2 threads, 114% on 8 threads. |
43
-
| Is a whole short request faster? |**Yes, 3.2× faster.**The model loads almost instantly. |
44
-
| Does it use less memory? |**Yes, 2.3× less.**|
45
-
| Does it start answering fast? |**Short prompts: yes. Long prompts: no, about 3× slower.** Main thing to fix. |
42
+
| Does Synapse write as fast as **llama.cpp**? |**In the 8-token smoke, yes.**The native kernel reached 102% of llama.cpp at 2 threads and 114% at 8 threads. |
43
+
| Is a whole short request faster? |**In that smoke, 3.2× faster.**Synapse's median fresh-process wall time was 216 ms versus 690 ms. |
44
+
| Does it use less memory? |**In that smoke, 2.3× less peak RSS.** 555 MiB versus 1,256 MiB.|
45
+
| Does it start answering fast? |**For the 5-token prompt, yes.** The older 274-token run was about 3× slower to first token; the new batched-prefill path still needs the same long test. |
46
46
| Is it as fast as **MLX** on the Apple GPU? |**No.** MLX writes 225 tokens/s on the GPU. Synapse has no GPU code yet. |
47
-
| How does **Microsoft Foundry Local** do? |**A separate test, 6 models.** With its own ONNX weights on about 6 cores, Qwen2.5 0.5B writes 231 tokens/s and the 7B models 22–25 tokens/s. |
48
-
| Is it faster than the other .NET engine, dotLLM? |**Yes, 14× faster.**|
47
+
| How does **Microsoft Foundry Local** do? |**Fast, but quality-limited in this test.** With separate ONNX weights on about 6 cores, Qwen2.5 0.5B reached 231 tokens/s and the 7B models 22–25 tokens/s; none of the 7 model/device variants fully completed the 128-token instruction. |
48
+
| Is it faster than the other .NET engine, dotLLM? |**In the same 8-token smoke, 14× faster.**|
Copy file name to clipboardExpand all lines: benchmarks/README.md
+27-2Lines changed: 27 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,8 +63,10 @@ runs A–K.
63
63
Each model and scenario ran in a fresh process. The model stayed loaded for
64
64
1 warm-up and 3 measured requests; every request was a new chat session with
65
65
the full transcript. Context was capped at 1,024 tokens (see below). Greedy
66
-
decoding, answer quality not reviewed. AC power; other desktop apps were open
67
-
(load average about 3.4).
66
+
decoding. AC power; other desktop apps were open (load average about 3.4).
67
+
The raw schema still says `quality_unreviewed`; the manual review below was
68
+
performed afterward from the preserved text and reasoning fields and does not
69
+
retroactively change measurement eligibility.
68
70
69
71
128-token answer (`capitals-single-long`), median of 3:
70
72
@@ -100,6 +102,29 @@ turn 3, median of 3:
100
102
- Prompt token counts differ because each model has its own tokenizer and
101
103
chat template.
102
104
105
+
### Manual output review
106
+
107
+
No model/device variant fully satisfied the 128-token instruction. This makes
108
+
the throughput table useful for runtime diagnosis, not for a quality-adjusted
109
+
model ranking.
110
+
111
+
| Variant | Review of the deterministic measured output |
112
+
|---|---|
113
+
| Qwen2.5 0.5B CPU | Incorrect and incomplete: it names all three capitals, but calls Fort Knox the federal headquarters and misidentifies Paris landmarks; it hits the 128-token cap before the recap. |
114
+
| Qwen2.5 0.5B WebGPU | Mostly factual but incomplete: it stops at 99 tokens without the requested three-line recap. |
115
+
| Qwen3 0.6B CPU | Incorrect and incomplete: all 128 tokens are reasoning, it emits no final answer, and the reasoning calls Paris, London, and Madrid France's capitals. |
116
+
| Phi-3.5-mini CPU | Incorrect and incomplete: it corrupts Washington, D.C., places Mount Rushmore near it, and reaches the cap during the recap. |
117
+
| Phi-4-mini CPU | The three main country-capital sections are substantially correct, but the generated recap is malformed and truncated at the cap. |
118
+
| Mistral 7B v0.2 CPU | The France section is correct, but the output reaches the cap during the United States section before covering the United Kingdom or recap. |
119
+
| DeepSeek-R1 7B CPU | Incomplete: all 128 tokens are reasoning and no final answer is emitted, although the reasoning recalls the three capitals. |
120
+
121
+
The three-turn outputs have the same constraint: every CPU turn reaches its
122
+
64-token cap. DeepSeek-R1 and Qwen3 remain reasoning-only. Phi-3.5, Phi-4, and
123
+
Mistral contain mostly correct briefing content but truncate sections; the
124
+
Qwen2.5 variants additionally contain errors such as placing Paris in the
125
+
center or south of France and describing Washington transit as free. No
126
+
instruction-compliance claim is made from those dialogue timings.
127
+
103
128
**Context cap.** Every Foundry package sets its context length to the model's
104
129
full window, and ONNX Runtime GenAI reserves the KV memory for that whole
105
130
window at the first request. With the package default, Qwen3 0.6B reached
0 commit comments