Skip to content

Arm backend: Bump to 2026.05 release of tosa-tools#20143

Open
per wants to merge 1 commit into
pytorch:mainfrom
per:tosa-tools-version
Open

Arm backend: Bump to 2026.05 release of tosa-tools#20143
per wants to merge 1 commit into
pytorch:mainfrom
per:tosa-tools-version

Conversation

@per

@per per commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator

Summary

Bump the release to 2026.05 and enable the compatibility flag for the serialization to make current and older versions of model-converter being able to deserialize the resulting flatbuffer file.

Test plan

Tested through existing CI.

cc @digantdesai @freddan80 @zingo @oscarandersson8218 @mansnils @Sebastian-Larsson @robell @rascani

Bump the release to 2026.05 and enable the compatibility flag
for the serialization to make current and older versions of
model-converter being able to deserialize the resulting flatbuffer
file.

Signed-off-by: Per Åstrand <per.astrand@arm.com>
Change-Id: I717d59011bd211e3586e656a8dad62e77a8660dd
Copilot AI review requested due to automatic review settings June 9, 2026 07:41
@per per requested a review from digantdesai as a code owner June 9, 2026 07:41
@per per added partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm release notes: docs labels Jun 9, 2026
@pytorch-bot

pytorch-bot Bot commented Jun 9, 2026

Copy link
Copy Markdown

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/20143

Note: Links to docs will display an error until the docs builds have been completed.

✅ You can merge normally! (1 Unrelated Failure)

As of commit c3fe552 with merge base 0d5192c (image):

BROKEN TRUNK - The following job failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 9, 2026
@linux-foundation-easycla

Copy link
Copy Markdown

CLA Not Signed

@github-actions github-actions Bot added ciflow/trunk module: arm Issues related to arm backend labels Jun 9, 2026
@per per removed CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. module: arm Issues related to arm backend labels Jun 9, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Bumps the Arm backend’s tosa-tools dependency to the 2026.05 release and introduces a tosa_dev_mode compile spec flag to enable experimental/dev-version serialization for improved (de)serialization compatibility across tooling versions.

Changes:

  • Bump tosa-tools from 2026.2.1 to 2026.5.0 in Arm/VGF dependency sets.
  • Add tosa_dev_mode to ArmCompileSpec, propagate it through compile-spec filtering, and enable it by default for VgfCompileSpec.
  • Add the TOSA 1.1 FlatBuffers schema (tosa_1.1.fbs) and add a unit test ensuring tosa_dev_mode round-trips through compile spec serialization.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
pyproject.toml Bumps tosa-tools version in the vgf optional dependency set.
backends/arm/requirements-arm-tosa.txt Bumps pinned tosa-tools version for Arm TOSA requirements.
backends/arm/common/arm_compile_spec.py Adds tosa_dev_mode field, (de)serialization support, and setter helper.
backends/arm/vgf/compile_spec.py Enables tosa_dev_mode by default for VGF compile specs.
backends/arm/tosa/backend.py Uses tosa_dev_mode to switch serializer into experimental/dev version mode; propagates flag in filter_tosa_compile_specs.
backends/arm/test/misc/test_compile_spec.py Adds a round-trip test for tosa_dev_mode on VgfCompileSpec.
backends/arm/tosa/schemas/tosa_1.1.fbs Adds the TOSA 1.1 FlatBuffers schema file.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +350 to +358
def _set_tosa_dev_mode(self, tosa_dev_mode: bool):
"""Sets whether to enable TOSA software development mode.

Args:
tosa_dev_mode: Boolean indicating whether to enable TOSA software development mode.

"""
self.tosa_dev_mode = tosa_dev_mode
return self
Comment thread backends/arm/tosa/schemas/tosa_1.1.fbs
@per per requested a review from zingo June 9, 2026 07:45
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm release notes: docs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants