Skip to content

Commit e041e00

Browse files
authored
Arm backend: Remove workaround to build TOSA serializer (pytorch#17823)
* Bump version from v2025.11.0 to v2025.11.2 which includes fix Change-Id: I3ab942211842470529fcc630fe81c1858fee1bfa cc @digantdesai @SS-JIA @freddan80 @per @zingo @oscarandersson8218 @mansnils @Sebastian-Larsson @robell Signed-off-by: Tom Allsop <tom.allsop@arm.com>
1 parent 2e0c869 commit e041e00

3 files changed

Lines changed: 2 additions & 7 deletions

File tree

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,11 @@ if ! python -c "import tosa_serializer" >/dev/null 2>&1; then
1414
TOSA_SERIALIZATION_DIR="./examples/arm/arm-scratch/tosa-tools/serialization"
1515
if [[ ! -d "${TOSA_SERIALIZATION_DIR}" ]]; then
1616
TOSA_TOOLS_DIR="$(mktemp -d /tmp/tosa-tools.XXXXXX)"
17-
git clone --depth 1 --branch v2025.11.0 \
17+
git clone --depth 1 --branch v2025.11.2 \
1818
https://git.gitlab.arm.com/tosa/tosa-tools.git "${TOSA_TOOLS_DIR}"
1919
TOSA_SERIALIZATION_DIR="${TOSA_TOOLS_DIR}/serialization"
2020
fi
2121

22-
# Workaround to allow TOSA serializer to build for v2025.11.0
23-
python -m pip install pybind11==2.10.4
24-
2522
CMAKE_POLICY_VERSION_MINIMUM=3.5 BUILD_PYBIND=1 \
2623
python -m pip install --no-dependencies \
2724
"${TOSA_SERIALIZATION_DIR}"

backends/arm/requirements-arm-tosa.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,3 @@ 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-
pybind11 == 2.10.4

examples/arm/setup.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ if [[ $is_script_sourced -eq 0 ]]; then
335335
fi
336336

337337
pushd tosa-tools
338-
git checkout v2025.11.0
338+
git checkout v2025.11.2
339339

340340
if [[ ! -d "reference_model" ]]; then
341341
log_step "main" "[error] Missing reference_model directory in tosa-tools repo."
@@ -346,7 +346,6 @@ if [[ $is_script_sourced -eq 0 ]]; then
346346
exit 1
347347
fi
348348

349-
350349
export CMAKE_BUILD_PARALLEL_LEVEL="$(get_parallel_jobs)"
351350

352351
CMAKE_POLICY_VERSION_MINIMUM=3.5 \

0 commit comments

Comments
 (0)