ci: bench: fix duration
This commit is contained in:
parent
225f63bacc
commit
fb3b2f5eb1
1 changed files with 2 additions and 1 deletions
3
.github/workflows/bench.yml
vendored
3
.github/workflows/bench.yml
vendored
|
@ -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 \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue