informatique:ai_lm:gpu_bench
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| informatique:ai_lm:gpu_bench [12/07/2026 09:05] – [Avec Opencode] cyrille | informatique:ai_lm:gpu_bench [15/07/2026 12:00] (Version actuelle) – [--ubatch-size] cyrille | ||
|---|---|---|---|
| Ligne 594: | Ligne 594: | ||
| </ | </ | ||
| + | Avec '' | ||
| + | |||
| + | < | ||
| + | # | ||
| + | LLAMA_DIR=" | ||
| + | MODEL_DIR="/ | ||
| + | # https:// | ||
| + | MODEL=" | ||
| + | |||
| + | # | ||
| + | # ne gère pas options multiples pour " | ||
| + | # -b 2048, | ||
| + | # -ub 1024, | ||
| + | # | ||
| + | |||
| + | " | ||
| + | -c 196000 \ | ||
| + | -b 2048 \ | ||
| + | -ub 1024 \ | ||
| + | -ngl 99 \ | ||
| + | --n-cpu-moe 39 \ | ||
| + | --cache-type-k q8_0 --cache-type-v q8_0 \ | ||
| + | --threads 8 \ | ||
| + | --temp 1.0 --top-p 0.95 --top-k 40 --min-p 0.01 --repeat-penalty 1.0 \ | ||
| + | --flash-attn on \ | ||
| + | -npp 512, | ||
| + | -ntg 32,64,128 \ | ||
| + | -npl 1 \ | ||
| + | --output-format md | ||
| + | |||
| + | == Résultats: | ||
| + | |||
| + | llama_batched_bench: | ||
| + | is_pp_shared = 0, is_tg_separate = 0, n_gpu_layers = 99, n_threads = 8, n_threads_batch = 8 | ||
| + | |||
| + | | PP | TG | B | N_KV | T_PP s | S_PP t/s | T_TG s | S_TG t/s | T s | S t/s | | ||
| + | |-------|--------|------|--------|----------|----------|----------|----------|----------|----------| | ||
| + | | 512 | 32 | 1 | 544 | 1.752 | | ||
| + | | 512 | 64 | 1 | 576 | 1.681 | | ||
| + | | 512 | 128 | 1 | 640 | 1.677 | | ||
| + | | 1024 | 32 | 1 | 1056 | 2.124 | | ||
| + | | 1024 | 64 | 1 | 1088 | 2.139 | | ||
| + | | 1024 | 128 | 1 | 1152 | 2.156 | | ||
| + | | 2048 | 32 | 1 | 2080 | 4.304 | | ||
| + | | 2048 | 64 | 1 | 2112 | 4.422 | | ||
| + | | 2048 | 128 | 1 | 2176 | 4.419 | | ||
| + | |||
| + | </ | ||
| ==== --n-cpu-moe ==== | ==== --n-cpu-moe ==== | ||
| Ligne 867: | Ligne 915: | ||
| total time = | total time = | ||
| | | ||
| + | |||
| + | init sampler, took 3.03 ms, tokens: text = 38663, total = 38663 | ||
| + | prompt eval time = 2758.26 ms / 2168 tokens ( 1.27 ms per token, | ||
| + | eval time = 1580.45 ms / 52 tokens ( 30.39 ms per token, | ||
| + | total time = 4338.71 ms / 2220 tokens | ||
| + | | ||
| + | stop processing: n_tokens = 38714, truncated = 0 | ||
| init sampler, took 3.42 ms, tokens: text = 44117, total = 44117 | init sampler, took 3.42 ms, tokens: text = 44117, total = 44117 | ||
| Ligne 875: | Ligne 930: | ||
| stop processing: n_tokens = 44194, truncated = 0 | stop processing: n_tokens = 44194, truncated = 0 | ||
| + | init sampler, took 2.71 ms, tokens: text = 35046, total = 35046 | ||
| + | prompt eval time = 1804.42 ms / 902 tokens ( 2.00 ms per token, | ||
| + | eval time = | ||
| + | total time = | ||
| + | | ||
| + | stop processing: n_tokens = 35784, truncated = 0 | ||
| </ | </ | ||
informatique/ai_lm/gpu_bench.1783839917.txt.gz · Dernière modification : de cyrille
