-
Notifications
You must be signed in to change notification settings - Fork 23.1k
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
Fix errors relating to pydocstyle in loss.py #113219
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/113219
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 72650eb with merge base 1e60174 (): This comment was automatically generated by Dr. CI and updates every 15 minutes. |
@pytorchbot label "docathon-h2-2023" |
@pytorchbot rebase |
@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here |
Successfully rebased |
7ec44ce
to
fbe2003
Compare
@pytorchbot label "topic: not user facing" |
@svekars anything I can do to fix the lining errors? |
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.
To fix the failing lint job running make setup_lint
and make quicklint
from your local pytorch directory and following the corresponding instructions should be sufficient, see here
Co-authored-by: mikaylagawarecki <mikaylagawarecki@gmail.com>
Could you fix lint please |
Additionally, SoftMarginLoss might be causing the |
@mikaylagawarecki @svekars checks have passed - awaiting approval |
@zabboud please don't do submodules updates changes. |
This reverts commit 106702b.
@kit1980 @svekars @mikaylagawarecki all checked have passed - can the merge be initiated to close this PR? |
@svekars @kit1980 @mikaylagawarecki Can you please assist in these failures? How can they be addressed? |
@pytorchbot rebase |
@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here |
Rebase failed due to Command
Raised by /~https://github.com/pytorch/pytorch/actions/runs/6868448872 |
The doc build is still failing:
|
fix build issue related to softMarginLoss docstring summary
@svekars I've changed the summary line - hopefully it'll address the docbuild issue. |
@pytorchbot merge |
❌ 🤖 pytorchbot command failed:
Try |
@pytorchbot merge |
This PR needs to be approved by an authorized maintainer before merge. |
@svekars @mikaylagawarecki @kit1980 could you please approve, to be able to merge this PR. All checks have passed successfully. |
@jbschlosser @svekars @mikaylagawarecki could you please review/approve to close out this PR? |
Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as |
Fixes #112600
Fixed errors relating to pydocstyle in
torch/nn/modules/loss.py
file. The remaining errors are related to docstrings at the module level and at methods within each class such asforward
and__init__
methods.pydocstyle torch/nn/modules/loss.py --count
before: 100
after: 46
remaining errors: