Skip to content

Commit 7cb4a46

Browse files
committed
ci: test mermaid
1 parent 550e894 commit 7cb4a46

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/bench.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ jobs:
102102
--branch ${{ github.head_ref || github.ref_name }} \
103103
--commit ${{ github.sha }} \
104104
--scenario script.js \
105-
--duration 1m \
105+
--duration 10m \
106106
--hf-repo ggml-org/models \
107107
--hf-file phi-2/ggml-model-q4_0.gguf \
108108
--model-path-prefix /models \
@@ -186,14 +186,15 @@ jobs:
186186
message: |
187187
📈 **llama.cpp server** benchmark for _${{ github.job }}_ on _${{ env.RUNNER_LABEL }}_: **${{ env.BENCH_ITERATIONS}} iterations** 🚀
188188
189-
- ${{ env.BENCH_GRAPH_TITLE }}
190189
- ${{ env.BENCH_GRAPH_XLABEL }}
191-
190+
- req_avg=${{ env.HTTP_REQ_DURATION_AVG }} pp_avg=${{ env.LLAMACPP_PROMPT_TOKENS_AVG }} tks_avg=${{ env.LLAMACPP_TOKENS_SECOND_AVG }}
191+
192+
192193
<p align="center">
193194
<img width="100%" height="100%" src="${{ fromJSON(steps.imgur_step.outputs.imgur_urls)[0] }}" alt="prompt_tokens_seconds" />
194195
195196
<details>
196-
<summary>Mermaid</summary>
197+
<summary>More</summary>
197198
198199
```mermaid
199200
${{ env.PROMPT_TOKENS_SECONDS }}
@@ -214,7 +215,7 @@ jobs:
214215
215216
</p>
216217
<details>
217-
<summary>More</summary>
218+
<summary>Details</summary>
218219
<p align="center">
219220
<img width="100%" height="100%" src="${{ fromJSON(steps.imgur_step.outputs.imgur_urls)[2] }}" alt="kv_cache_usage_ratio" />
220221

0 commit comments

Comments
 (0)