From 9403582549afe079cc8f29987595131bfbf11e5e Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 15 May 2024 08:40:38 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .github/workflows/model_test_cpu.yml | 4 ++-- .github/workflows/model_test_hpu.yml | 2 +- .../workflows/scripts/models/generate_report.sh | 16 +++++++++++++++- .github/workflows/scripts/models/model_test.sh | 2 +- 4 files changed, 19 insertions(+), 5 deletions(-) diff --git a/.github/workflows/model_test_cpu.yml b/.github/workflows/model_test_cpu.yml index e8c97243..f4807d7f 100644 --- a/.github/workflows/model_test_cpu.yml +++ b/.github/workflows/model_test_cpu.yml @@ -45,7 +45,7 @@ jobs: steps: - name: Clean Up Working Directory run: sudo rm -rf ${{github.workspace}}/* - + - name: Load environment variables run: cat ~/actions-runner4/.env >> $GITHUB_ENV @@ -101,7 +101,7 @@ jobs: ${{ github.workspace }}/summary.log if-no-files-found: ignore # 'warn' or 'ignore' are also available, defaults to `warn` retention-days: 60 # 1 <= retention-days <= 90 - + Genreate-Report: runs-on: ubuntu-latest needs: [Evaluation-Workflow] diff --git a/.github/workflows/model_test_hpu.yml b/.github/workflows/model_test_hpu.yml index db0ee9b8..ffaa1e45 100644 --- a/.github/workflows/model_test_hpu.yml +++ b/.github/workflows/model_test_hpu.yml @@ -97,7 +97,7 @@ jobs: ${{ github.workspace }}/summary.log if-no-files-found: ignore # 'warn' or 'ignore' are also available, defaults to `warn` retention-days: 60 # 1 <= retention-days <= 90 - + Genreate-Report: runs-on: ubuntu-latest needs: [Evaluation-Workflow] diff --git a/.github/workflows/scripts/models/generate_report.sh b/.github/workflows/scripts/models/generate_report.sh index 4732865d..e1e2bc88 100644 --- a/.github/workflows/scripts/models/generate_report.sh +++ b/.github/workflows/scripts/models/generate_report.sh @@ -1,4 +1,18 @@ #!/bin/bash +# Copyright (c) 2024 Intel Corporation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + set -x WORKSPACE=generated last_log_path=FinalReport @@ -129,7 +143,7 @@ function generate_core { show_benchmark(acc) // Last printf("\n