File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -973,7 +973,25 @@ jobs:
973973 # Test llama2
974974 PYTHON_EXECUTABLE=python bash .ci/scripts/test_llama.sh -model stories110M -build_tool "${BUILD_TOOL}" -mode "${MODE}" -dtype "${DTYPE}" -pt2e_quantize "${PT2E_QUANTIZE}"
975975
976+ # this is for filtering out the qnn changes such that qnn jobs only triggered when the specific files are changed
977+ changes :
978+ runs-on : ubuntu-latest
979+ outputs :
980+ qnn : ${{ steps.filter.outputs.qnn }}
981+ steps :
982+ - uses : actions/checkout@v4
983+ - uses : dorny/paths-filter@v3
984+ id : filter
985+ with :
986+ filters : |
987+ qnn:
988+ - 'backends/qualcomm/**'
989+ - 'examples/qualcomm/**'
990+ - 'examples/models/llama/**'
991+
976992 test-static-llama-qnn-eval-linux :
993+ needs : changes # has dependency on changes jobs defined above
994+ if : needs.changes.outputs.qnn == 'true'
977995 name : test-static-llama-qnn-eval-linux
978996 uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
979997 permissions :
You can’t perform that action at this time.
0 commit comments