From 42e62dd171eb1245986c209c3d77e266f87addd6 Mon Sep 17 00:00:00 2001 From: Scott Wolchok Date: Tue, 28 Jan 2025 15:37:57 -0800 Subject: [PATCH 1/2] --use-pt-pinned-commit in one-off linux jobs Pull Request resolved: https://github.com/pytorch/executorch/pull/7922 This is needed to respect the torchgen pinned commit for #7546. ghstack-source-id: 263542478 @exported-using-ghexport Differential Revision: [D68593517](https://our.internmc.facebook.com/intern/diff/D68593517/) --- .github/workflows/pull.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pull.yml b/.github/workflows/pull.yml index 6825eff0fe..c82e9daf5d 100644 --- a/.github/workflows/pull.yml +++ b/.github/workflows/pull.yml @@ -221,7 +221,7 @@ jobs: PYTHON_EXECUTABLE=python bash .ci/scripts/setup-linux.sh "cmake" # install pybind - bash install_executorch.sh --pybind xnnpack + bash install_executorch.sh --pybind xnnpack --use-pt-pinned-commit # install Llava requirements bash examples/models/llama/install_requirements.sh @@ -478,7 +478,7 @@ jobs: PYTHON_EXECUTABLE=python bash .ci/scripts/setup-linux.sh "cmake" # install pybind - bash install_executorch.sh --pybind xnnpack + bash install_executorch.sh --pybind xnnpack --use-pt-pinned-commit # install phi-3-mini requirements bash examples/models/phi-3-mini/install_requirements.sh @@ -508,7 +508,7 @@ jobs: PYTHON_EXECUTABLE=python bash .ci/scripts/setup-linux.sh "cmake" # install pybind - bash install_executorch.sh --pybind xnnpack + bash install_executorch.sh --pybind xnnpack --use-pt-pinned-commit # install llama requirements bash examples/models/llama/install_requirements.sh @@ -538,7 +538,7 @@ jobs: PYTHON_EXECUTABLE=python bash .ci/scripts/setup-linux.sh "cmake" # install pybind - bash install_executorch.sh --pybind xnnpack + bash install_executorch.sh --pybind xnnpack --use-pt-pinned-commit # install llama requirements bash examples/models/llama/install_requirements.sh @@ -568,7 +568,7 @@ jobs: PYTHON_EXECUTABLE=python bash .ci/scripts/setup-linux.sh "cmake" # install pybind - bash install_executorch.sh --pybind xnnpack + bash install_executorch.sh --pybind xnnpack --use-pt-pinned-commit # install llama requirements bash examples/models/llama/install_requirements.sh From c54f4df1607faa4e6749dae88112c7a5cced5167 Mon Sep 17 00:00:00 2001 From: pytorchbot Date: Wed, 29 Jan 2025 15:39:54 -0600 Subject: [PATCH 2/2] use-pt-pinned-commit for test-arm-{backend,reference}-delegation (#8023) Pull Request resolved: https://github.com/pytorch/executorch/pull/7579 Without this, these builds don't respect the torchgen pinned commit and thus fail with #7546. ghstack-source-id: 263542481 @exported-using-ghexport Differential Revision: [D67996459](https://our.internmc.facebook.com/intern/diff/D67996459/) Co-authored-by: Scott Wolchok --- .github/workflows/trunk.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/trunk.yml b/.github/workflows/trunk.yml index 325dc6ff93..04a6c96f3e 100644 --- a/.github/workflows/trunk.yml +++ b/.github/workflows/trunk.yml @@ -150,7 +150,7 @@ jobs: conda activate "${CONDA_ENV}" source .ci/scripts/utils.sh - install_executorch + install_executorch "use-pt-pinned-commit" .ci/scripts/setup-arm-baremetal-tools.sh @@ -180,7 +180,7 @@ jobs: conda activate "${CONDA_ENV}" source .ci/scripts/utils.sh - install_executorch + install_executorch "use-pt-pinned-commit" .ci/scripts/setup-arm-baremetal-tools.sh