-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Add back optim type hints that were lost when *.pyi files were removed #136185
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
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/136185
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit b621975 with merge base b856f35 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
janeyx99
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.
ok thanks!
|
@pytorchbot merge |
Merge failedReason: Not merging any PRs at the moment because there is a merge blocking https://github.com/pytorch/pytorch/labels/ci:%20sev issue open at: Details for Dev Infra teamRaised by workflow job |
|
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
pytorch#136185) When stub files (`*.pyi`) were removed from `optim` (pytorch#125556, pytorch#125452), some types that existed are no longer available. This pull request adds them back. Just for reference, these types are used in `pytorch-lightning`'s `LightningCLI`. Command line interfaces are created automatically, and having type hints make them nicer. Pull Request resolved: pytorch#136185 Approved by: https://github.com/janeyx99
When stub files (
*.pyi) were removed fromoptim(#125556, #125452), some types that existed are no longer available. This pull request adds them back.Just for reference, these types are used in
pytorch-lightning'sLightningCLI. Command line interfaces are created automatically, and having type hints make them nicer.