File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ source "${REPO_ROOT}/.ci/scripts/utils.sh"
2323# Create a conda environment with Python 3.10 for compatibility with old ET versions
2424# ET 1.0.0 only supports Python >=3.10,<3.13
2525CONDA_ENV_NAME=" coreml_bc_test_env"
26- conda create -y -n " ${CONDA_ENV_NAME} " python=3.10
26+ conda create -y -n " ${CONDA_ENV_NAME} " python=3.10 pip packaging
2727
2828# Use conda run to execute commands in the new environment
2929CONDA_RUN=" conda run --no-capture-output -n ${CONDA_ENV_NAME} "
@@ -69,7 +69,7 @@ git submodule sync --recursive
6969git submodule update --init --recursive
7070
7171# Install executorch
72- ${CONDA_RUN} pip install --upgrade pip
72+ ${CONDA_RUN} python -m pip install --upgrade pip
7373${CONDA_RUN} python install_executorch.py
7474
7575# Step 3: Export model
@@ -129,7 +129,7 @@ git submodule update --init --recursive
129129
130130# Step 5: Install current version
131131echo " === Step 5: Installing current ET version ==="
132- ${CONDA_RUN} pip install --upgrade pip
132+ ${CONDA_RUN} python -m pip install --upgrade pip
133133${CONDA_RUN} python install_executorch.py
134134
135135# Step 6: Run the old pte file
You can’t perform that action at this time.
0 commit comments