From 8b24cf1e9929116b6b56a1cc212d231f42e1d4ba Mon Sep 17 00:00:00 2001 From: Pierrick HYMBERT Date: Sun, 24 Mar 2024 16:15:51 +0100 Subject: [PATCH] server: bench: init --- .github/workflows/bench.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml index 3d7157945ca53f..5641e7a9ff94c5 100644 --- a/.github/workflows/bench.yml +++ b/.github/workflows/bench.yml @@ -25,7 +25,7 @@ on: types: [opened, synchronize, reopened] paths: ['.github/workflows/server.yml', '**/CMakeLists.txt', '**/Makefile', '**/*.h', '**/*.hpp', '**/*.c', '**/*.cpp', '**/*.cu', '**/*.swift', '**/*.m', 'examples/server/bench/**.*'] schedule: - - cron: '0 0 * * *' + - cron: '04 2 * * *' concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -67,11 +67,6 @@ jobs: wget --quiet https://github.com/grafana/k6/releases/download/v0.49.0/k6-v0.49.0-linux-amd64.tar.gz tar xzf k6*.tar.gz --strip-components=1 - - name: Download the dataset - id: download_dataset - run: | - wget --quiet https://huggingface.co/datasets/anon8231489123/ShareGPT_Vicuna_unfiltered/resolve/main/ShareGPT_V3_unfiltered_cleaned_split.json - - name: Start the server id: start_server run: | @@ -90,6 +85,12 @@ jobs: --log-format text \ -ngl 33 & + - name: Download the dataset + id: download_dataset + run: | + cd examples/server/bench + wget --quiet https://huggingface.co/datasets/anon8231489123/ShareGPT_Vicuna_unfiltered/resolve/main/ShareGPT_V3_unfiltered_cleaned_split.json + - name: Server bench id: server_bench run: |