Skip to content

Adding missing named param check on ViT #5196

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 2 commits into from
Jan 17, 2022
Merged

Conversation

datumbox
Copy link
Contributor

@datumbox datumbox commented Jan 14, 2022

The ViT implementation is currently missing a check to validate if the parameters of the builder and the weights params are incompatible. This PR fixes the problem.

cc @datumbox

@facebook-github-bot
Copy link

facebook-github-bot commented Jan 14, 2022

💊 CI failures summary and remediations

As of commit 82b55cb (more details on the Dr. CI page):


None of the CI failures appear to be your fault 💚



🚧 1 ongoing upstream failure:

These were probably caused by upstream breakages that are not fixed yet.


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.

Copy link
Contributor

@yiwen-song yiwen-song left a comment

Choose a reason for hiding this comment

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

LGTM!!!

@datumbox
Copy link
Contributor Author

The failing test is not related.

@datumbox datumbox merged commit 09c5ddd into pytorch:main Jan 17, 2022
@datumbox datumbox deleted the models/vit_fix branch January 17, 2022 09:16
facebook-github-bot pushed a commit that referenced this pull request Jan 19, 2022
Reviewed By: datumbox, NicolasHug

Differential Revision: D33655255

fbshipit-source-id: a6f5fe7ddd30850236d2b82a8847a2fa1b499a9b
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.

3 participants