From 32ef5846a45f57e46f6f08ca3d426a029d5ea463 Mon Sep 17 00:00:00 2001 From: Mengwei Liu Date: Sat, 9 Aug 2025 19:23:08 -0700 Subject: [PATCH] Fix MediaTek CI job (#13261) ### Summary [PLEASE REMOVE] See [CONTRIBUTING.md's Pull Requests](https://github.com/pytorch/executorch/blob/main/CONTRIBUTING.md#pull-requests) for ExecuTorch PR guidelines. [PLEASE REMOVE] If this PR closes an issue, please add a `Fixes #` line. [PLEASE REMOVE] If this PR introduces a fix or feature that should be the upcoming release notes, please add a "Release notes: " label. For a list of available release notes labels, check out [CONTRIBUTING.md's Pull Requests](https://github.com/pytorch/executorch/blob/main/CONTRIBUTING.md#pull-requests). ### Test plan [PLEASE REMOVE] How did you test this PR? Please write down any manual commands you used and note down tests that you have written if applicable. (cherry picked from commit 19f6c27d8b840855dffbdd06ab7a5545175ec544) --- .github/workflows/pull.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pull.yml b/.github/workflows/pull.yml index d39e9a43f25..87f3e978e90 100644 --- a/.github/workflows/pull.yml +++ b/.github/workflows/pull.yml @@ -737,9 +737,12 @@ jobs: conda activate "${CONDA_ENV}" source .ci/scripts/utils.sh - install_executorch "--use-pt-pinned-commit" + # Run this first so that torch won't be overriden PYTHON_EXECUTABLE=python bash .ci/scripts/setup-mediatek-deps.sh + install_executorch + pip list + # debug PYTHON_EXECUTABLE=python bash .ci/scripts/build-mediatek-sdk.sh PYTHON_EXECUTABLE=python bash .ci/scripts/test_model.sh "mv3" "buck2" "mediatek" # placeholder for mediatek to add more tests