Spaces:
Paused
Paused
Report throughput in consistent units
Browse filestok/s and s/token are reciprocals; quoting one for each side reads as a
comparison but is not one. Both rows now give both: 1.43 vs 3.02 tok/s.
README.md
CHANGED
|
@@ -5,7 +5,7 @@ colorFrom: gray
|
|
| 5 |
colorTo: purple
|
| 6 |
sdk: gradio
|
| 7 |
pinned: false
|
| 8 |
-
short_description: Transformer forward pass as one equilibrium, int8
|
| 9 |
---
|
| 10 |
# Phox — Wave-Rider Inference Engine
|
| 11 |
|
|
@@ -29,7 +29,7 @@ padding is never written to memory.
|
|
| 29 |
| RoPE == free-running oscillator phase | **2.6e-08** rel-err |
|
| 30 |
| Amplitude coupling reproduces `W·x` | **3.2e-08**; phase-only Kuramoto **9.75e-01** — the encoding is load-bearing |
|
| 31 |
| int8 per-column fidelity | y cosine **0.999949**; tokens unchanged through all 28 layers |
|
| 32 |
-
|
|
| 33 |
|
| 34 |
## Honest limitations
|
| 35 |
|
|
@@ -37,9 +37,14 @@ padding is never written to memory.
|
|
| 37 |
arithmetic, not a substitute for it: relaxation converges to `W·x`, which is a
|
| 38 |
value you have already computed. There is no speedup from the physics.
|
| 39 |
- **And there is no speedup at all, against a real baseline.** On this same
|
| 40 |
-
machine, CPU-only, same model family,
|
| 41 |
-
|
| 42 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
68 s was an unoptimised numpy path re-reading 6.4 GB from disk per token, i.e.
|
| 44 |
our own worst case, and quoting it as a baseline was not honest. The work here
|
| 45 |
bought a *correct and resident* int8 CPU engine, not a fast one. The value is
|
|
|
|
| 5 |
colorTo: purple
|
| 6 |
sdk: gradio
|
| 7 |
pinned: false
|
| 8 |
+
short_description: Transformer forward pass as one equilibrium, int8 on CPU
|
| 9 |
---
|
| 10 |
# Phox — Wave-Rider Inference Engine
|
| 11 |
|
|
|
|
| 29 |
| RoPE == free-running oscillator phase | **2.6e-08** rel-err |
|
| 30 |
| Amplitude coupling reproduces `W·x` | **3.2e-08**; phase-only Kuramoto **9.75e-01** — the encoding is load-bearing |
|
| 31 |
| int8 per-column fidelity | y cosine **0.999949**; tokens unchanged through all 28 layers |
|
| 32 |
+
| Throughput | **1.43 tok/s** (0.70 s/token) — see the note below; this is NOT a speedup |
|
| 33 |
|
| 34 |
## Honest limitations
|
| 35 |
|
|
|
|
| 37 |
arithmetic, not a substitute for it: relaxation converges to `W·x`, which is a
|
| 38 |
value you have already computed. There is no speedup from the physics.
|
| 39 |
- **And there is no speedup at all, against a real baseline.** On this same
|
| 40 |
+
machine, CPU-only, same model family, in the same units:
|
| 41 |
+
|
| 42 |
+
| | tok/s | s/token |
|
| 43 |
+
|---|---|---|
|
| 44 |
+
| this engine (int8, 2.82 GB) | **1.43** | 0.70 |
|
| 45 |
+
| llama.cpp (Q4_K_M, 1.87 GiB) | **3.02** | 0.33 |
|
| 46 |
+
|
| 47 |
+
We are **2.1x slower than llama.cpp**. Earlier drafts framed this as "68 s -> 0.7 s"; that
|
| 48 |
68 s was an unoptimised numpy path re-reading 6.4 GB from disk per token, i.e.
|
| 49 |
our own worst case, and quoting it as a baseline was not honest. The work here
|
| 50 |
bought a *correct and resident* int8 CPU engine, not a fast one. The value is
|