diff --git a/.ci/scripts/unittest-linux-cmake.sh b/.ci/scripts/unittest-linux-cmake.sh index 0b3653e9b71..d7943eae121 100755 --- a/.ci/scripts/unittest-linux-cmake.sh +++ b/.ci/scripts/unittest-linux-cmake.sh @@ -19,6 +19,8 @@ if ! python -c "import tosa_serializer" >/dev/null 2>&1; then TOSA_SERIALIZATION_DIR="${TOSA_TOOLS_DIR}/serialization" fi + # NOTE: Will be removed when tosa-tools is installed via pypi + python -m pip install pybind11==2.10.4 CMAKE_POLICY_VERSION_MINIMUM=3.5 BUILD_PYBIND=1 \ python -m pip install --no-dependencies \ "${TOSA_SERIALIZATION_DIR}" diff --git a/backends/arm/requirements-arm-tosa.txt b/backends/arm/requirements-arm-tosa.txt index adf32261568..7588fd44efa 100644 --- a/backends/arm/requirements-arm-tosa.txt +++ b/backends/arm/requirements-arm-tosa.txt @@ -7,3 +7,5 @@ ml_dtypes == 0.5.1 flatbuffers == 24.3.25 tosa-adapter-model-explorer == 0.1.0 ai-edge-model-explorer >= 0.1.16 +# NOTE: Will be removed when tosa-tools is installed via pypi +pybind11 == 2.10.4