From fb3b2f5eb10188c29db46697004a862f7aaca345 Mon Sep 17 00:00:00 2001 From: Pierrick HYMBERT Date: Tue, 26 Mar 2024 08:13:32 +0100 Subject: [PATCH] ci: bench: fix duration --- .github/workflows/bench.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml index b05312f37107a..90975d8fcfa87 100644 --- a/.github/workflows/bench.yml +++ b/.github/workflows/bench.yml @@ -41,6 +41,7 @@ jobs: env: RUNNER_LABEL: Standard_NC4as_T4_v3 # FIXME Do not find a way to not duplicate it N_USERS: 8 + DURATION: 10m if: ${{ github.event.inputs.gpu-series == 'Standard_NC4as_T4_v3' || github.event.schedule || github.event.pull_request || github.event.push.ref == 'refs/heads/master' }} steps: - name: Clone @@ -113,7 +114,7 @@ jobs: --branch ${{ github.head_ref || github.ref_name }} \ --commit ${{ github.event.inputs.sha || github.event.pull_request.head.sha || github.sha }} \ --scenario script.js \ - --duration ${{ github.event.inputs.duration || "10m" }} \ + --duration ${{ github.event.inputs.duration || env.DURATION }} \ --hf-repo ggml-org/models \ --hf-file phi-2/ggml-model-q4_0.gguf \ --model-path-prefix /models \