-
Notifications
You must be signed in to change notification settings - Fork 7k
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
Cleanup Quantized ShuffleNet #4854
Merged
datumbox
merged 3 commits into
pytorch:main
from
datumbox:models/cleanup_quantshufflenet
Nov 4, 2021
Merged
Cleanup Quantized ShuffleNet #4854
datumbox
merged 3 commits into
pytorch:main
from
datumbox:models/cleanup_quantshufflenet
Nov 4, 2021
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
💊 CI failures summary and remediationsAs of commit fb92493 (more details on the Dr. CI page):
1 failure not recognized by patterns:
1 job timed out:
This comment was automatically generated by Dr. CI (expand for details).Please report bugs/suggestions to the (internal) Dr. CI Users group. |
fmassa
approved these changes
Nov 4, 2021
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.
Thanks!
The single failed tests is unrelated and caused by network flakiness. Merging. |
5 tasks
facebook-github-bot
pushed a commit
that referenced
this pull request
Nov 8, 2021
Summary: * Clean up unnecessary quant builders and add quant weights for 0.5 * Fixing mypy. Reviewed By: kazhang Differential Revision: D32216668 fbshipit-source-id: 16e4c817cde3e0138685a5989b266a2936ca3f42
datumbox
added a commit
to pytorch/pytorch
that referenced
this pull request
Nov 9, 2021
…67836) Summary: TorchVision accidentally included model builders for quantized models without weights; this was an old bug. These builders were largely unusable and caused issues to the users. Commonly they were filtered out to avoid causing issues. We've recently fixed that (pytorch/vision#4854) by either removing those unnecessary builders or by providing quantized weights. This PR removes the no-longer necessary filtering of the methods. **It should be merged after TorchVision is synced on FBCode.** Pull Request resolved: #67836 Reviewed By: jerryzh168 Differential Revision: D32230658 Pulled By: datumbox fbshipit-source-id: 797ca6d6a42474c14eeee1ad05c75e3ff05d1930
facebook-github-bot
pushed a commit
to pytorch/pytorch
that referenced
this pull request
Nov 9, 2021
…67836) Summary: TorchVision accidentally included model builders for quantized models without weights; this was an old bug. These builders were largely unusable and caused issues to the users. Commonly they were filtered out to avoid causing issues. We've recently fixed that (pytorch/vision#4854) by either removing those unnecessary builders or by providing quantized weights. This PR removes the no-longer necessary filtering of the methods. **It should be merged after TorchVision is synced on FBCode.** Pull Request resolved: #67836 Reviewed By: jerryzh168 Differential Revision: D32230658 Pulled By: datumbox fbshipit-source-id: 01cd425b1bda3b4591a25840593b3b5dde3a0f12
cyyever
pushed a commit
to cyyever/vision
that referenced
this pull request
Nov 16, 2021
* Clean up unnecessary quant builders and add quant weights for 0.5 * Fixing mypy.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bc-breaking
ciflow/default
cla signed
enhancement
module: models.quantization
Issues related to the quantizable/quantized models
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR:
shufflenet_v2_x1_5
andshufflenet_v2_x2_0
. These two were added by mistake and they are unusable because we have neither quantized weights nor normal weights.shufflenet_v2_x0_5
variant, so that the equivalent model builder makes sense.Verified by:
The above builders caused problems to users and quite often on FBcode you can find code that tries to skip/ignore it. See this for example: pytorch/pytorch#67836
With the removal of the problematic methods, we can now clean up the skips non the next fbsync.