Arm backend: Bump to 2026.05 release of tosa-tools#20143
Open
per wants to merge 1 commit into
Open
Conversation
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
🔗 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 ( 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. |
|
Contributor
There was a problem hiding this comment.
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-toolsfrom2026.2.1to2026.5.0in Arm/VGF dependency sets. - Add
tosa_dev_modetoArmCompileSpec, propagate it through compile-spec filtering, and enable it by default forVgfCompileSpec. - Add the TOSA 1.1 FlatBuffers schema (
tosa_1.1.fbs) and add a unit test ensuringtosa_dev_moderound-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 |
zingo
approved these changes
Jun 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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