-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Enable typechecks for torch.nn.modules.[activation|upsampling] #44093
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
Enable typechecks for torch.nn.modules.[activation|upsampling] #44093
Conversation
Add missing `hardsigmoid`, `silu`, `hardswish` and `multi_head_attention_forward` to functional.pyi.in Embed some typing annotations into functional.py
facebook-github-bot
left a comment
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.
@malfet has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
💊 CI failures summary and remediationsAs of commit 5f94420 (more details on the Dr. CI page):
ci.pytorch.org: 2 failed
This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.Please report bugs/suggestions on the GitHub issue tracker or post in the (internal) Dr. CI Users group. This comment has been revised 9 times. |
rgommers
left a comment
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, once CI is happy it should be good to merge.
597fa44 to
5f94420
Compare
facebook-github-bot
left a comment
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.
@malfet has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
Codecov Report
@@ Coverage Diff @@
## master #44093 +/- ##
=======================================
Coverage 69.24% 69.25%
=======================================
Files 381 381
Lines 47209 47210 +1
=======================================
+ Hits 32692 32693 +1
Misses 14517 14517
Continue to review full report at Codecov.
|
Add missing
hardsigmoid,silu,hardswishandmulti_head_attention_forwardto functional.pyi.inEmbed some typing annotations into functional.py