-
Notifications
You must be signed in to change notification settings - Fork 684
Arm backend: Remove TOSA v0.80 from arm backend #13040
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
Change-Id: Ie3442b53184ecf0fbf817b581b780d2456670c4f
Change-Id: I21503bcab233d813759132b4c5a33dc6f7ed4f13
Change-Id: I9ff98f6560c686527cba18c28ea98c00683a3c03
- Update test names to use INT/FP - Update the test name checker script for INT/FP Change-Id: I93acbd0e5f0c6bca6095fb39f267ed7a01bf0796
Change-Id: I183a1475ace4c4fe73ab325d615974464d3520d3
- Update README - Remove tosa 0.80 schema - Remove tosa 0.80 patches Change-Id: I81f88d5af6e14681ac09c2c6d51f4adbfd081aeb
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/13040
Note: Links to docs will display an error until the docs builds have been completed. ❌ 3 New FailuresAs of commit 8c2af87 with merge base bedce91 ( NEW FAILURES - The following jobs have failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
@pytorchbot label ciflow/trunk |
@pytorchbot label 'partner: arm' |
@pytorchbot label "release notes: none" |
cortex-m fails independent of this and is related to C/C++ code size |
) | ||
elif isinstance(tosa_version, Tosa_1_00): | ||
if isinstance(tosa_version, Tosa_1_00): | ||
import tosa_reference_model as reference_model |
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.
Got error
> import tosa_reference_model as reference_model
E ModuleNotFoundError: No module named 'tosa_reference_model'
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.
yeah we shouldn't assume reference model is available, we should use it only if its "available"
Hi @zingo @SaoirseARM seems that this test is failing. Could you please take a look? |
Hi thanks for reporting, we will look into it, do you have a link to where you see the problem, we don't see it internally and when I look an the "hud" https://hud.pytorch.org/hud/pytorch/executorch/main it seem to not be a problems. Are you running the tests locally, you might need to rerun setup.sh to re-setup all stuff after the removal maybe? |
|
Hi @zingo any suggestions on this issue? |
Hi Im still trying to reprodude and for me this works, so I have to dig some deeper
Are you seeing this in a CI (or something that has been setup from scratch)? Or on a dev machine (that has migrated) |
@kirklandsign do you get this on all tests? e.g. not only test_fuse_equal_placeholders_ops_pass.py |
Hi @kirklandsign , It looks like the reference model has not installed correctly into the environment which seems to be why the serializer works and the reference model does not. Do you use Let me know if that would help. Thanks, |
In a CI. I'm not sure how the setup is done.
I get this on all tests
Sorry I'm not sure how it is set up. Maybe @digantdesai knows |
@kirklandsign is it breaking CI internally? |
Let me fwd fix it |
Thanks, Im still trying to reproduce and also try to great some github jobs with this not installed. Some reflection: Would be OK to share how you install all TOSA stuff and Ill try to make a github test as close as possible. Then maybe we can see and fix this kind of things before merging :) We are using this in the project (and not github testing) After running it I see
|
Yes! Because we can test the lowering until the PTE generation. Adding the tosa_reference_model in our internal setup has been on my list for a while so hopefully soon.
We use buck internally, so can't use CMake. And can't use |
### Summary This PR removes TOSA v0.80 from the arm backend. This includes updates to: - operator node visitors - operator support - passes - test infrastructure - tosa specification and utils - removal of installation of v0.80 and patch scripts
Summary
This PR removes TOSA v0.80 from the arm backend. This includes updates to:
cc @digantdesai @freddan80 @per @zingo @oscarandersson8218