Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Commit 228456e

Browse files
committed
Remove redundant Install ExecuTorch python from runner-et step
1 parent df4e06e commit 228456e

File tree

3 files changed

+2
-12
lines changed

3 files changed

+2
-12
lines changed

.github/workflows/pull.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -947,14 +947,6 @@ jobs:
947947
run: |
948948
echo "Installing ExecuTorch"
949949
bash torchchat/utils/scripts/install_et.sh
950-
- name: Install ExecuTorch python
951-
run: |
952-
echo "Install ExecuTorch python"
953-
export TORCHCHAT_ROOT=$PWD
954-
export ET_BUILD_DIR="et-build"
955-
ENABLE_ET_PYBIND="${1:-true}"
956-
source "torchchat/utils/scripts/install_utils.sh"
957-
install_executorch_python_libs $ENABLE_ET_PYBIND
958950
- name: Install runner
959951
run: |
960952
echo "Installing runner"

torchchat/utils/scripts/install_et.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,8 @@ if [ "${ET_BUILD_DIR}" == "" ]; then
1313
ET_BUILD_DIR="et-build"
1414
fi
1515

16-
ENABLE_ET_PYBIND="${1:-true}"
17-
1816
pushd ${TORCHCHAT_ROOT}
1917
find_cmake_prefix_path
2018
clone_executorch
21-
install_executorch_libs $ENABLE_ET_PYBIND
19+
install_executorch_libs
2220
popd

torchchat/utils/scripts/install_utils.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ install_executorch_libs() {
161161
EXECUTORCH_BUILD_KERNELS_CUSTOM_AOT_VAR=OFF
162162
EXECUTORCH_BUILD_KERNELS_CUSTOM_VAR=OFF
163163
install_executorch_cpp_libs
164-
install_executorch_python_libs $1
164+
install_executorch_python_libs
165165
}
166166

167167
clone_torchao() {

0 commit comments

Comments
 (0)