Skip to content

Cleanup Models prototype implementation #4940

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

Merged
merged 7 commits into from
Nov 16, 2021

Conversation

datumbox
Copy link
Contributor

@datumbox datumbox commented Nov 16, 2021

Fixes partially #4652

Addresses some of the comments at #4937. Each commit in this PR addresses a single of the comments below, so it can be seen as a stacked diff:

cc @datumbox @bjuncek

@facebook-github-bot
Copy link

facebook-github-bot commented Nov 16, 2021

💊 CI failures summary and remediations

As of commit 4299eb3 (more details on the Dr. CI page):


  • 1/1 failures introduced in this PR

1 failure not recognized by patterns:

Job Step Action
CircleCI binary_linux_conda_py3.6_cu111 packaging/build_conda.sh 🔁 rerun

1 job timed out:

  • binary_linux_conda_py3.6_cu111

This comment was automatically generated by Dr. CI (expand for details).

Please report bugs/suggestions to the (internal) Dr. CI Users group.

Click here to manually regenerate this comment.

@datumbox datumbox changed the title [WIP] Cleanup Models prototype implementation Cleanup Models prototype implementation Nov 16, 2021
@datumbox datumbox requested a review from NicolasHug November 16, 2021 14:06
Copy link
Member

@NicolasHug NicolasHug left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @datumbox , LGTM when green!

@datumbox
Copy link
Contributor Author

The failure is unrelated (flakiness). Merging.

@datumbox datumbox merged commit 1deb2ec into pytorch:main Nov 16, 2021
@datumbox datumbox deleted the prototype/multiweight_refactoring branch November 16, 2021 15:21
@datumbox datumbox linked an issue Nov 16, 2021 that may be closed by this pull request
5 tasks
cyyever pushed a commit to cyyever/vision that referenced this pull request Nov 16, 2021
* Disable WeightEntry to pass-through `Weights.verify()`

* Rename `Weights.state_dict()` to `Weights.get_state_dict()`

* Add TODO for missing doc.

* Moving warning messages for googlenet.

* Upper-case global `_COMMON_META` var

* Replace argument with parameter in all warnings.
facebook-github-bot pushed a commit that referenced this pull request Nov 17, 2021
Summary:
* Disable WeightEntry to pass-through `Weights.verify()`

* Rename `Weights.state_dict()` to `Weights.get_state_dict()`

* Add TODO for missing doc.

* Moving warning messages for googlenet.

* Upper-case global `_COMMON_META` var

* Replace argument with parameter in all warnings.

Reviewed By: datumbox

Differential Revision: D32470468

fbshipit-source-id: 3781d23e8570bad1d63652a35fe55be313501c89
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Multi pretrained weights: Cleanups and Refactoring
3 participants