Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 1 addition & 11 deletions .ci/scripts/test_backend.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,25 +57,15 @@ if [[ "$FLOW" == *vulkan* ]]; then
fi

if [[ "$FLOW" == *arm* ]]; then

# Setup ARM deps.
if [[ "$FLOW" == *vgf* ]]; then
.ci/scripts/setup-arm-baremetal-tools.sh --enable-mlsdk-deps --install-mlsdk-deps-with-pip
else
.ci/scripts/setup-arm-baremetal-tools.sh
fi
.ci/scripts/setup-arm-baremetal-tools.sh
source examples/arm/ethos-u-scratch/setup_path.sh

if [[ "$FLOW" == *ethos_u* ]]; then
# Prepare a test runner binary that can run on the Corstone-3x0 FVPs
backends/arm/scripts/build_executorch.sh
backends/arm/test/setup_testing.sh
fi

if [[ "$FLOW" == *vgf* ]]; then
# Prepare a test runner binary for VKML runtime
backends/arm/test/setup_testing_vkml.sh
fi
fi

if [[ $IS_MACOS -eq 1 ]]; then
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-backend-arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
uses: ./.github/workflows/_test_backend.yml
with:
backend: arm
flows: '["arm_tosa_fp", "arm_tosa_int", "arm_ethos_u55", "arm_ethos_u85", "arm_vgf_fp", "arm_vgf_int"]'
flows: '["arm_tosa_fp", "arm_tosa_int", "arm_ethos_u55", "arm_ethos_u85"]'
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
timeout: 120
run-linux: true
3 changes: 1 addition & 2 deletions .github/workflows/trunk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,6 @@ jobs:
include:
- test_arm_baremetal: test_pytest_ops_ethosu_fvp
- test_arm_baremetal: test_pytest_models_ethosu_fvp
- test_arm_baremetal: test_pytest_ops_vkml
- test_arm_baremetal: test_run_ethosu_fvp
- test_arm_baremetal: test_models_tosa
- test_arm_baremetal: test_models_ethos-u55
Expand All @@ -307,7 +306,7 @@ jobs:
source .ci/scripts/utils.sh
install_executorch "--use-pt-pinned-commit"

.ci/scripts/setup-arm-baremetal-tools.sh --enable-mlsdk-deps --install-mlsdk-deps-with-pip
.ci/scripts/setup-arm-baremetal-tools.sh

# Increase number of files user can monitor to bypass buck failures.
# Hopefully this is high enough for this setup.
Expand Down
4 changes: 0 additions & 4 deletions backends/test/suite/flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,17 +132,13 @@ def all_flows() -> dict[str, TestFlow]:
ARM_ETHOS_U85_FLOW,
ARM_TOSA_FP_FLOW,
ARM_TOSA_INT_FLOW,
ARM_VGF_FP_FLOW,
ARM_VGF_INT_FLOW,
)

flows += [
ARM_TOSA_FP_FLOW,
ARM_TOSA_INT_FLOW,
ARM_ETHOS_U55_FLOW,
ARM_ETHOS_U85_FLOW,
ARM_VGF_FP_FLOW,
ARM_VGF_INT_FLOW,
]
except Exception as e:
logger.info(f"Skipping ARM flow registration: {e}")
Expand Down
12 changes: 0 additions & 12 deletions backends/test/suite/flows/arm.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,3 @@ def create_quantize_stage() -> Quantize:
lambda: common.get_u85_compile_spec(),
quantize=True,
)
ARM_VGF_FP_FLOW = _create_arm_flow(
"arm_vgf_fp",
lambda: common.get_vgf_compile_spec(tosa_spec="TOSA-1.0+FP"),
quantize=False,
use_portable_ops=False,
)
ARM_VGF_INT_FLOW = _create_arm_flow(
"arm_vgf_int",
lambda: common.get_vgf_compile_spec(tosa_spec="TOSA-1.0+INT"),
quantize=True,
use_portable_ops=False,
)
Loading