Skip to content

Build and test A770, IPEX #70

Build and test A770, IPEX

Build and test A770, IPEX #70

name: Build and test A770
run-name: ${{ inputs.run_name }}
on:
workflow_dispatch:
inputs:
runner_label:
description: Runner label, keep empty for default
type: string
default: ""
install_ipex:
# This boolean parameter defines what PyTorch will be used in the workflow:
# true: Stonepia/pytorch (fork) with IPEX
# false: pytorch/pytorch (upstream) without IPX
# In both cases, pytorch_ref below allows specifying a branch, tag, or commit id in the
# corresponding repository. If not specified, a default (pinned) version will be used.
description: Install Intel PyTorch Extension
type: boolean
default: true
pytorch_ref:
description: PyTorch ref, keep empty for default
type: string
default: ""
upload_test_reports:
description: Upload test reports
type: boolean
default: false
ignore_errors:
description: Ignore test errors
type: boolean
default: false
skip_list:
description: Skip list
type: string
default: ""
run_name:
description: Custom run name
type: string
default: "Build and test A770"
enable_unskip:
description: Ignore pytest.skip
type: boolean
default: false
permissions: read-all
jobs:
integration-tests:
name: Integration tests matrix
strategy:
matrix:
python: ["3.9"]
uses: ./.github/workflows/build-test-reusable.yml
with:
device: a770
runner_label: ${{ inputs.runner_label }}
install_ipex: ${{ inputs.install_ipex || github.event_name == 'schedule' }}
pytorch_ref: ${{ inputs.pytorch_ref }}
python_version: ${{ matrix.python }}
upload_test_reports: ${{ inputs.upload_test_reports || false }}
ignore_errors: ${{ inputs.ignore_errors || false }}
skip_list: ${{ inputs.skip_list || 'a770' }}
run_name: ${{ inputs.run_name }}
enable_unskip: ${{ inputs.enable_unskip || false }}