Skip to content

Qualcomm AI Engine Direct - Support Constant Propagation #25087

Qualcomm AI Engine Direct - Support Constant Propagation

Qualcomm AI Engine Direct - Support Constant Propagation #25087

name: Test XNNPACK Backend
on:
schedule:
- cron: 0 2 * * *
push:
branches:
- main
- release/*
tags:
- ciflow/nightly/*
pull_request:
workflow_dispatch:
inputs:
save-goldens:
description: 'Write and package the models-suite goldens (Android test fixture)'
type: boolean
default: false
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}-${{ github.ref_type == 'branch' && github.sha }}-${{ github.event_name == 'workflow_dispatch' }}-${{ github.event_name == 'schedule' }}
cancel-in-progress: true
jobs:
test-xnnpack:
uses: ./.github/workflows/_test_backend.yml
permissions:
id-token: write
contents: read
with:
backend: xnnpack
flows: >-
${{ github.event_name == 'pull_request'
&& '["xnnpack"]'
|| '["xnnpack", "xnnpack_dynamic_int8_per_channel", "xnnpack_static_int8_per_channel", "xnnpack_static_int8_per_tensor"]' }}
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
timeout: 120
run-linux: true
# The nightly keeps writing goldens: they are what the Android instrumentation
# test pins (android_test_setup.sh), and a fresh key must exist before the pin
# ages out of S3. Every other run skips them.
save-goldens: ${{ inputs.save-goldens == true || github.event_name == 'schedule' }}