Skip to content

Commit 10fac6e

Browse files
committed
Add VGF flows to enable test runner for VKML in CI
1 parent d403007 commit 10fac6e

File tree

4 files changed

+19
-1
lines changed

4 files changed

+19
-1
lines changed

.ci/scripts/test_backend.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ if [[ "$FLOW" == *arm* ]]; then
6666
backends/arm/scripts/build_executorch.sh
6767
backends/arm/test/setup_testing.sh
6868
fi
69+
if [[ "$FLOW" == *vgf* ]]; then
70+
# Prepare a test runner binary for VKML runtime
71+
backends/arm/test/setup_testing_vkml.sh
72+
fi
6973
fi
7074

7175
if [[ $IS_MACOS -eq 1 ]]; then

.github/workflows/test-backend-arm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
uses: ./.github/workflows/_test_backend.yml
2727
with:
2828
backend: arm
29-
flows: '["arm_tosa_fp", "arm_tosa_int", "arm_ethos_u55", "arm_ethos_u85"]'
29+
flows: '["arm_tosa_fp", "arm_tosa_int", "arm_ethos_u55", "arm_ethos_u85", "arm_vgf_fp", "arm_vgf_int"]'
3030
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
3131
timeout: 120
3232
run-linux: true

backends/test/suite/flow.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,13 +132,17 @@ def all_flows() -> dict[str, TestFlow]:
132132
ARM_ETHOS_U85_FLOW,
133133
ARM_TOSA_FP_FLOW,
134134
ARM_TOSA_INT_FLOW,
135+
ARM_VGF_FP_FLOW,
136+
ARM_VGF_INT_FLOW,
135137
)
136138

137139
flows += [
138140
ARM_TOSA_FP_FLOW,
139141
ARM_TOSA_INT_FLOW,
140142
ARM_ETHOS_U55_FLOW,
141143
ARM_ETHOS_U85_FLOW,
144+
ARM_VGF_FP_FLOW,
145+
ARM_VGF_INT_FLOW,
142146
]
143147
except Exception as e:
144148
logger.info(f"Skipping ARM flow registration: {e}")

backends/test/suite/flows/arm.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,13 @@ def create_quantize_stage() -> Quantize:
7878
lambda: common.get_u85_compile_spec(),
7979
quantize=True,
8080
)
81+
ARM_VGF_FP_FLOW = _create_arm_flow(
82+
"arm_vgf_fp",
83+
lambda: common.get_vgf_compile_spec(tosa_spec="TOSA-1.0+FP"),
84+
quantize=False,
85+
)
86+
ARM_VGF_INT_FLOW = _create_arm_flow(
87+
"arm_vgf_int",
88+
lambda: common.get_vgf_compile_spec(tosa_spec="TOSA-1.0+INT"),
89+
quantize=True,
90+
)

0 commit comments

Comments
 (0)