-
Notifications
You must be signed in to change notification settings - Fork 712
Add to.dtype and neg ops #8041
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
Add to.dtype and neg ops #8041
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/8041
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ✅ No FailuresAs of commit 511d3f3 with merge base e63c923 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
This pull request was exported from Phabricator. Differential Revision: D68815927 |
|
@pytorchbot label "topic: not user facing" |
Summary: pytorch#8041 add neg ops and annonation of to.dtype Differential Revision: D68815927
200dd3d to
bd3c608
Compare
|
This pull request was exported from Phabricator. Differential Revision: D68815927 |
bd3c608 to
a5874d9
Compare
|
This pull request was exported from Phabricator. Differential Revision: D68815927 |
a5874d9 to
f5e4d1d
Compare
Summary: pytorch#8041 add neg ops and annonation of to.dtype Differential Revision: D68815927
|
This pull request was exported from Phabricator. Differential Revision: D68815927 |
f5e4d1d to
7111d80
Compare
Summary: pytorch#8041 add neg ops and annonation of to.dtype Differential Revision: D68815927
|
This pull request was exported from Phabricator. Differential Revision: D68815927 |
7111d80 to
041d496
Compare
Summary: pytorch#8041 add neg ops and annonation of to.dtype Differential Revision: D68815927
|
This pull request was exported from Phabricator. Differential Revision: D68815927 |
Summary: pytorch#8041 add neg ops and annonation of to.dtype Differential Revision: D68815927
041d496 to
cb05bbb
Compare
|
This pull request was exported from Phabricator. Differential Revision: D68815927 |
1 similar comment
|
This pull request was exported from Phabricator. Differential Revision: D68815927 |
Summary: Pull Request resolved: pytorch#8041 pytorch#8041 add neg ops and annonation of to.dtype Differential Revision: D68815927
cb05bbb to
30df6a3
Compare
|
This pull request was exported from Phabricator. Differential Revision: D68815927 |
Summary: Pull Request resolved: pytorch#8041 pytorch#8041 add neg ops and annonation of to.dtype Reviewed By: Andriyluck Differential Revision: D68815927
30df6a3 to
fb3179c
Compare
|
@shewu-quic would u mind review and approve I will remove to.dypte ops since I modify model it can eliminate the to.dtype |
|
This pull request was exported from Phabricator. Differential Revision: D68815927 |
Summary: Pull Request resolved: pytorch#8041 pytorch#8041 add neg ops and annonation of to.dtype Reviewed By: Andriyluck Differential Revision: D68815927
fb3179c to
f101da0
Compare
|
This pull request was exported from Phabricator. Differential Revision: D68815927 |
Summary: Pull Request resolved: pytorch#8041 pytorch#8041 add neg ops and annonation of to.dtype Reviewed By: Andriyluck Differential Revision: D68815927
f101da0 to
19d7f42
Compare
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.
@winskuo-quic, could you help to review this PR about CI
backends/qualcomm/tests/utils.py
Outdated
| image_dataset: str = "" | ||
| pretrained_weight: str = "" | ||
| enable_profile: bool = False | ||
| compile_only: bool = True |
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.
It seems to be duplicated
backends/qualcomm/tests/utils.py
Outdated
| enable_x86_64: bool = False | ||
| enable_x86_64: bool = True | ||
| compile_only: bool = False | ||
| dump_intermediate_outputs: bool = False |
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.
May I know why do you need to add this variable?
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 is chen's test code. I re-base on top her pr to run the unit test in x86 emulator
backends/qualcomm/tests/utils.py
Outdated
| ) | ||
|
|
||
| output_dir = f"{tmp_dir}/outputs" | ||
| os.makedirs(output_dir, exist_ok=True) |
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.
make_output_dir(output_dir)
backends/qualcomm/tests/utils.py
Outdated
| use_16a4w: str = "16a4w" | ||
| shared_buffer: bool = False | ||
| enable_x86_64: bool = False | ||
| enable_x86_64: bool = True |
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.
May I know why we need to set enable_x86_64 to True?
backends/qualcomm/tests/models.py
Outdated
| return self.pool(self.conv(x)) | ||
|
|
||
|
|
||
| class Conv2dArgmin(torch.nn.Module): |
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.
Conv2dArgmin should be in front of Conv2dAvgPool2d based on alphabetical order.
Summary: pytorch#8041 add neg ops and annonation of to.dtype Reviewed By: Andriyluck Differential Revision: D68815927
19d7f42 to
183fa36
Compare
|
This pull request was exported from Phabricator. Differential Revision: D68815927 |
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.
LGTM. Thanks.
Summary: pytorch#8041 add neg ops and annonation of to.dtype Reviewed By: Andriyluck Differential Revision: D68815927
183fa36 to
b29759c
Compare
|
This pull request was exported from Phabricator. Differential Revision: D68815927 |
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.
LGTM. Thanks!
Summary: pytorch#8041 add neg ops and annonation of to.dtype Reviewed By: Andriyluck Differential Revision: D68815927
b29759c to
511d3f3
Compare
|
This pull request was exported from Phabricator. Differential Revision: D68815927 |
Summary: add neg ops and annonation of to.dtype
Differential Revision: D68815927