chore(hpu): make hpu integer bench fast by default

This commit is contained in:
pgardratzama
2025-09-10 13:28:27 +02:00
committed by Pierre Gardrat
parent 4ff0d6cac2
commit 757c2fc828
2 changed files with 28 additions and 4 deletions

View File

@@ -4,6 +4,9 @@ name: benchmark_hpu_integer
on:
workflow_dispatch:
inputs:
all_precisions:
description: "Run all precisions"
type: boolean
bench_type:
description: "Benchmarks type"
type: choice
@@ -19,6 +22,7 @@ env:
ACTION_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
RUST_BACKTRACE: "full"
RUST_MIN_STACK: "8388608"
FAST_BENCH: TRUE
permissions: {}
@@ -102,6 +106,11 @@ jobs:
persist-credentials: 'false'
token: ${{ secrets.REPO_CHECKOUT_TOKEN }}
- name: Should run benchmarks with all precisions
if: inputs.all_precisions
run: |
echo "FAST_BENCH=FALSE" >> "${GITHUB_ENV}"
- name: Run benchmarks
run: |
make pull_hpu_files