Skip to content

Commit 5c8f9e5

Browse files
authored
Arm backend: Pin pybind11 version when installing tosa_serialization (#18036)
* To account for potential edge cases of pybind11 drifting * Will be removed when tosa-tools is installed from pypi Signed-off-by: Tom Allsop <tom.allsop@arm.com>
1 parent 662048b commit 5c8f9e5

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.ci/scripts/unittest-linux-cmake.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ if ! python -c "import tosa_serializer" >/dev/null 2>&1; then
1919
TOSA_SERIALIZATION_DIR="${TOSA_TOOLS_DIR}/serialization"
2020
fi
2121

22+
# NOTE: Will be removed when tosa-tools is installed via pypi
23+
python -m pip install pybind11==2.10.4
2224
CMAKE_POLICY_VERSION_MINIMUM=3.5 BUILD_PYBIND=1 \
2325
python -m pip install --no-dependencies \
2426
"${TOSA_SERIALIZATION_DIR}"

backends/arm/requirements-arm-tosa.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ ml_dtypes == 0.5.1
77
flatbuffers == 24.3.25
88
tosa-adapter-model-explorer == 0.1.0
99
ai-edge-model-explorer >= 0.1.16
10+
# NOTE: Will be removed when tosa-tools is installed via pypi
11+
pybind11 == 2.10.4

0 commit comments

Comments
 (0)