@@ -827,32 +827,23 @@ jobs:
827827        # The generic Linux job chooses to use base env, not the one setup by the image 
828828        CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]") 
829829        conda activate "${CONDA_ENV}" 
830-         PYTHON_EXECUTABLE=python bash .ci/scripts/setup-linux.sh --build-tool cmake 
831-         # Build executor_runner with ETdump enabled 
832-         PYTHON_EXECUTABLE=python cmake -DPYTHON_EXECUTABLE=python \ 
833-           -DCMAKE_INSTALL_PREFIX=cmake-out \ 
834-           -DEXECUTORCH_ENABLE_LOGGING=1 \ 
835-           -DCMAKE_BUILD_TYPE=Release \ 
836-           -DEXECUTORCH_BUILD_EXTENSION_DATA_LOADER=ON \ 
837-           -DEXECUTORCH_BUILD_EXTENSION_FLAT_TENSOR=ON \ 
838-           -DEXECUTORCH_BUILD_EXTENSION_MODULE=ON \ 
839-           -DEXECUTORCH_BUILD_EXTENSION_TENSOR=ON \ 
840-           -DEXECUTORCH_BUILD_XNNPACK=ON \ 
841-           -DEXECUTORCH_BUILD_KERNELS_QUANTIZED=ON \ 
842-           -DEXECUTORCH_BUILD_KERNELS_OPTIMIZED=ON \ 
843-           -DEXECUTORCH_BUILD_KERNELS_LLM=ON \ 
844-           -DEXECUTORCH_BUILD_DEVTOOLS=ON \ 
845-           -DEXECUTORCH_ENABLE_EVENT_TRACER=ON \ 
846-           -Bcmake-out . 
847-         cmake --build cmake-out -j16 --target install --config Release 
830+         # Install executorch 
831+         ${CONDA_RUN} python install_executorch.py 
832+ 
848833        echo "::endgroup::" 
849834
850835        echo "::group::Set up Hugging Face" 
851836        pip install -U "huggingface_hub[cli]" 
852837        huggingface-cli login --token $SECRET_EXECUTORCH_HF_TOKEN 
853838        OPTIMUM_ET_COMMIT=$(cat .ci/docker/ci_commit_pins/optimum-executorch.txt) 
839+ 
840+         echo "Cloning optimum-executorch..." 
841+ 
854842        git clone https://github.com/huggingface/optimum-executorch 
855843        pushd optimum-executorch 
844+ 
845+         echo "Checking out commit: $OPTIMUM_ET_COMMIT" 
846+ 
856847        # There is no release yet, for CI stability, always test from the same commit on main 
857848        git checkout $OPTIMUM_ET_COMMIT 
858849        python install_dev.py --skip_override_torch 
0 commit comments