File tree Expand file tree Collapse file tree 2 files changed +84
-0
lines changed
Expand file tree Collapse file tree 2 files changed +84
-0
lines changed Original file line number Diff line number Diff line change 1+ #!/usr/bin/env python
2+ # Copyright (c) Meta Platforms, Inc. and affiliates.
3+ # All rights reserved.
4+ #
5+ # This source code is licensed under the BSD-style license found in the
6+ # LICENSE file in the root directory of this source tree.
7+
8+ import test_base
9+ from examples .models import Backend , Model
10+
11+ if __name__ == "__main__" :
12+ test_base .run_tests (
13+ model_tests = [
14+ test_base .ModelTest (
15+ model = Model .Mv3 ,
16+ backend = Backend .XnnpackQuantizationDelegation ,
17+ ),
18+ ]
19+ )
Original file line number Diff line number Diff line change 1+ name : Build Windows Wheels
2+
3+ on :
4+ pull_request :
5+ paths :
6+ - .ci/**/*
7+ - .github/workflows/build-wheels-windows.yml
8+ - examples/**/*
9+ - pyproject.toml
10+ - setup.py
11+ tags :
12+ - ciflow/binaries/*
13+ push :
14+ branches :
15+ - nightly
16+ - release/*
17+ tags :
18+ # NOTE: Binary build pipelines should only get triggered on release candidate builds
19+ # Release candidate tags look like: v1.11.0-rc1
20+ - v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+
21+ - ciflow/binaries/*
22+ workflow_dispatch :
23+
24+ jobs :
25+ generate-matrix :
26+ uses : pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
27+ with :
28+ package-type : wheel
29+ os : windows
30+ test-infra-repository : pytorch/test-infra
31+ test-infra-ref : main
32+ with-cuda : disabled
33+ with-rocm : disabled
34+ python-versions : ' ["3.10", "3.11", "3.12"]'
35+
36+ build :
37+ needs : generate-matrix
38+ permissions :
39+ id-token : write
40+ contents : read
41+ strategy :
42+ fail-fast : false
43+ matrix :
44+ include :
45+ - repository : pytorch/executorch
46+ pre-script : .ci/scripts/wheel/pre_build_script.sh
47+ post-script : .ci/scripts/wheel/post_build_script.sh
48+ smoke-test-script : .ci/scripts/wheel/test_windows.py
49+ package-name : executorch
50+ name : ${{ matrix.repository }}
51+ uses : pytorch/test-infra/.github/workflows/build_wheels_windows.yml@main
52+ with :
53+ repository : ${{ matrix.repository }}
54+ ref : " "
55+ test-infra-repository : pytorch/test-infra
56+ test-infra-ref : main
57+ build-matrix : ${{ needs.generate-matrix.outputs.matrix }}
58+ submodules : recursive
59+ env-var-script : .ci/scripts/wheel/envvar_linux.sh
60+ pre-script : ${{ matrix.pre-script }}
61+ post-script : ${{ matrix.post-script }}
62+ package-name : ${{ matrix.package-name }}
63+ smoke-test-script : ${{ matrix.smoke-test-script }}
64+ trigger-event : ${{ github.event_name }}
65+
You can’t perform that action at this time.
0 commit comments