HelloSun commited on
Commit
1a2918a
·
1 Parent(s): 3c62cf4

README: add real end-to-end inference speed comparison (llama-cli, 3.3K-token prompt)

Browse files
Files changed (1) hide show
  1. README.md +19 -9
README.md CHANGED
@@ -1,12 +1,3 @@
1
- ---
2
- library_name: llama.cpp
3
- tags:
4
- - llama.cpp
5
- - openpangu
6
- - gguf
7
- - moe
8
- ---
9
-
10
  # openPangu-2.0-Flash support for llama.cpp v0.7.0
11
 
12
  This repository contains a patch that adds support for **openPangu-2.0-Flash**
@@ -204,6 +195,25 @@ Reading these numbers:
204
  ~16 GiB of extra RAM, so `-nr` is usually the better choice.
205
  - The host is shared and measurements vary between runs (see the ±).
206
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
207
  ### MTP (self-speculative decoding)
208
 
209
  Same prompt, `llama-cli -n 128 -nr`:
 
 
 
 
 
 
 
 
 
 
1
  # openPangu-2.0-Flash support for llama.cpp v0.7.0
2
 
3
  This repository contains a patch that adds support for **openPangu-2.0-Flash**
 
195
  ~16 GiB of extra RAM, so `-nr` is usually the better choice.
196
  - The host is shared and measurements vary between runs (see the ±).
197
 
198
+ ### Real inference (llama-cli end-to-end)
199
+
200
+ Actual generation with a real prompt (3,271 tokens of English text),
201
+ `llama-cli -c 8192 -n 128 -t 16 --no-warmup -st`, two runs each
202
+ (prompt eval / generation speed as reported by llama-cli):
203
+
204
+ | configuration | prompt eval | generation |
205
+ |---------------|------------:|-----------:|
206
+ | original fork, `-nr` | 29.7 / 28.9 t/s | 6.1 / 6.1 t/s |
207
+ | this port, `-nr` | 41.0 / 41.0 t/s | 6.0 / 6.0 t/s |
208
+ | this port, default (AMX repack) | 37.7 / 38.1 t/s | 5.6 / 5.5 t/s |
209
+
210
+ - real prompt processing is ~**+40 %** faster than the original fork
211
+ (+29 % in the default AMX repack configuration)
212
+ - generation with a ~3K-token context is ~6 t/s in all configurations
213
+ (the DSA indexer adds per-token work over the cached context, so this is
214
+ lower than the tg128 llama-bench numbers on a fresh 128-token run)
215
+ - run-to-run variance on this host is small for these end-to-end runs
216
+
217
  ### MTP (self-speculative decoding)
218
 
219
  Same prompt, `llama-cli -n 128 -nr`: