Skip to content
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

Skip annotate boolean input #2957

Closed
wants to merge 4 commits into from
Closed

Conversation

cccclai
Copy link
Contributor

@cccclai cccclai commented Apr 10, 2024

Stack from ghstack (oldest at bottom):

Differential Revision: D55946526

Differential Revision: [D55946526](https://our.internmc.facebook.com/intern/diff/D55946526/)

[ghstack-poisoned]
Copy link

pytorch-bot bot commented Apr 10, 2024

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/2957

Note: Links to docs will display an error until the docs builds have been completed.

❌ 1 New Failure

As of commit 4189e46 with merge base 7d4bafc (image):

NEW FAILURE - The following job has failed:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Apr 10, 2024
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D55946526

@chiwwang
Copy link
Collaborator

@shewu-quic @haowhsu-quic

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D55946526

@shewu-quic
Copy link
Collaborator

Look good for me. Thanks for your help.

cccclai added a commit that referenced this pull request Apr 11, 2024
Pull Request resolved: #2957


ghstack-source-id: 222193714
@exported-using-ghexport

It only makes sense to quantize fp tensor, but not boolean. Add a check to make sure only fp tensor are annotated in quantizer

Differential Revision: [D55946526](https://our.internmc.facebook.com/intern/diff/D55946526/)
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D55946526

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D55946526

cccclai added a commit that referenced this pull request Apr 11, 2024
Pull Request resolved: #2957


ghstack-source-id: 222200589
@exported-using-ghexport

It only makes sense to quantize fp tensor, but not boolean. Add a check to make sure only fp tensor are annotated in quantizer

Differential Revision: [D55946526](https://our.internmc.facebook.com/intern/diff/D55946526/)
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in ce344bc.

@cccclai
Copy link
Contributor Author

cccclai commented Apr 11, 2024

@pytorchbot cherry-pick --onto release/0.2 -c critical

pytorchbot pushed a commit that referenced this pull request Apr 11, 2024
Summary:
Pull Request resolved: #2957

ghstack-source-id: 222200589
exported-using-ghexport

It only makes sense to quantize fp tensor, but not boolean. Add a check to make sure only fp tensor are annotated in quantizer

Reviewed By: jerryzh168

Differential Revision: D55946526

fbshipit-source-id: d94bfee38ab2d29fc9672ab631b4d5d0c5239d25
(cherry picked from commit ce344bc)
@pytorchbot
Copy link
Collaborator

Cherry picking #2957

The cherry pick PR is at #2999 and it is recommended to link a critical cherry pick PR with an issue

Details for Dev Infra team Raised by workflow job

cccclai added a commit to cccclai/executorch-1 that referenced this pull request Apr 16, 2024
Summary:
Pull Request resolved: pytorch#2957

ghstack-source-id: 222200589
exported-using-ghexport

It only makes sense to quantize fp tensor, but not boolean. Add a check to make sure only fp tensor are annotated in quantizer

Reviewed By: jerryzh168

Differential Revision: D55946526

fbshipit-source-id: d94bfee38ab2d29fc9672ab631b4d5d0c5239d25
guangy10 pushed a commit that referenced this pull request Apr 17, 2024
* Skip annotate boolean input (#2957)

Summary:
Pull Request resolved: #2957

ghstack-source-id: 222200589
exported-using-ghexport

It only makes sense to quantize fp tensor, but not boolean. Add a check to make sure only fp tensor are annotated in quantizer

Reviewed By: jerryzh168

Differential Revision: D55946526

fbshipit-source-id: d94bfee38ab2d29fc9672ab631b4d5d0c5239d25

* fix lint
This was referenced Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants