-
Notifications
You must be signed in to change notification settings - Fork 607
Arm backend: Add support for TOSA 1.0 serializer #10135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Adapt serialization and TOSA graph handling to be able to handle 1.0. Also install TOSA pip package for 1.0 alongside 0.80. Signed-off-by: Per Åstrand <[email protected]> Change-Id: I1ec5fe5836d1aa2d343048a13a85de522da04386
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/10135
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit ca242fc with merge base 8e89094 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
if isinstance(tosa_spec, tosa_specification.Tosa_0_80): | ||
import tosa_tools.v0_80.serializer.tosa_serializer as ts # type: ignore | ||
elif isinstance(tosa_spec, tosa_specification.Tosa_1_00): | ||
import serializer.tosa_serializer as ts # type: ignore |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IIUC in the future, the serializer will support older versions of TOSA, and we will delete the v0.80 serializer, right? If yes, what is the ETA?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, the 0.80 should be deleted when 1.0 has landed and is stable.
Adapt serialization and TOSA graph handling to be able to handle 1.0. Also install TOSA pip package for 1.0 alongside 0.80. ### Test plan Validate that 0.80 TOSA version test still work with the 1.0 package installed. Signed-off-by: Per Åstrand <[email protected]>
Adapt serialization and TOSA graph handling to be able to handle 1.0. Also install TOSA pip package for 1.0 alongside 0.80.
Test plan
Validate that 0.80 TOSA version test still work with the 1.0 package installed.
cc @digantdesai @freddan80 @zingo @oscarandersson8218