File tree Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -21,22 +21,15 @@ jobs:
21
21
steps :
22
22
- uses : actions/checkout@v3
23
23
with :
24
- submodules : ' true '
24
+ submodules : ' false '
25
25
- uses : actions/setup-python@v4
26
26
with :
27
27
python-version : ' 3.10'
28
- cache : pip
29
28
- name : Extract the list of models to test
30
29
id : gather-models
31
30
run : |
32
31
set -eux
33
32
34
- source .ci/scripts/utils.sh
35
- # This is a simple Python script but as it tries to import executorch.examples.models,
36
- # it requires a whole bunch of ExecuTorch dependencies on the Docker image
37
- install_pip_dependencies
38
- install_executorch
39
-
40
33
PYTHONPATH="${PWD}" python .ci/scripts/gather_test_models.py --target-os macos --event "${GITHUB_EVENT_NAME}"
41
34
42
35
test-models-macos :
@@ -57,14 +50,13 @@ jobs:
57
50
58
51
MODEL_NAME=${{ matrix.model }}
59
52
BUILD_TOOL=${{ matrix.build-tool }}
60
- XNNPACK_QUANTIZATION=${{ matrix.xnnpack_quantization }}
61
- XNNPACK_DELEGATION=${{ matrix.delegation }}
53
+ BACKEND=${{ matrix.backend }}
62
54
DEMO_BACKEND_DELEGATION=${{ matrix.demo_backend_delegation }}
63
55
64
56
# Setup MacOS dependencies as there is no Docker support on MacOS atm
65
57
PYTHON_EXECUTABLE=python bash .ci/scripts/setup-macos.sh "${BUILD_TOOL}"
66
58
# Build and test xecutorch
67
- PYTHON_EXECUTABLE=python bash .ci/scripts/test.sh "${MODEL_NAME}" "${BUILD_TOOL}" "${XNNPACK_QUANTIZATION}" "${XNNPACK_DELEGATION }" "${DEMO_BACKEND_DELEGATION}"
59
+ PYTHON_EXECUTABLE=python bash .ci/scripts/test.sh "${MODEL_NAME}" "${BUILD_TOOL}" "${BACKEND }" "${DEMO_BACKEND_DELEGATION}"
68
60
popd
69
61
70
62
test-custom-ops-macos :
You can’t perform that action at this time.
0 commit comments