-
Notifications
You must be signed in to change notification settings - Fork 606
Add convolution unit test for Arm backend #2427
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
freddan80
commented
Mar 14, 2024
- Added both depthwise and regular conv
- Removed corresponding conv legacy unit tests
- Fix zero point usage solves issues with random input
- Removed add/add2 legacy unit tests as they are already implemented
- Bump serialization lib submodule to avoid warning spam
- Fixed rounding issue tosa_test_utils
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/2427
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 3168421 with merge base 1c2ed7b ( 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. |
@digantdesai Rebase conflict expected with PR #2371 , so hold off merging this PR until that one has gone in. I'll rebase as soon as it's in. |
a566aa0
to
add2cbb
Compare
@digantdesai CI failure not related to this change. |
logger = logging.getLogger(__name__) | ||
logger.setLevel(logging.INFO) | ||
|
||
torch.manual_seed(42) |
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.
this too?
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.
torch.randn
is used in this file.
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.
I guess it is ok to run test each time with a new random value? You can set the seed for debugging locally.
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.
I see your point. Let us address that in coming PRs.
permute_memory_to_nhwc=True, | ||
) | ||
.export() | ||
.to_edge() |
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.
check for conv nodes
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.
dito
* Added both depthwise and regular conv * Removed corresponding conv legacy unit tests * Fix zero point usage solves issues with random input * Removed add/add2 legacy unit tests as they are already implemented * Bump serialization lib submodule to avoid warning spam * Fixed rounding issue tosa_test_utils * Fixed and moved input data transpose Change-Id: I5c9a1f3571b1fa2b44ff4f1a04dfed54fea841db Signed-off-by: Fredrik Knutsson <[email protected]>
Change-Id: Ic0fbbabfe840b5c18788589068b6c763e43674b9
030969b
to
3168421
Compare
CI fail unrelated to this PR. Credential issues:
|
@digantdesai has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
@digantdesai merged this pull request in 001cc5f. |