-
Notifications
You must be signed in to change notification settings - Fork 24.9k
added stubs for jit tree views #156504
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
added stubs for jit tree views #156504
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/156504
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit a4706dc with merge base e1f28fe ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
74545ac
to
6c8b729
Compare
@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 |
Merge failedReason: 1 jobs have failed, first few of them are: trunk / macos-py3-arm64 / test (default, 2, 3, macos-m1-stable) Details for Dev Infra teamRaised by workflow job |
150a882
to
bc66b06
Compare
@ezyang I fixed the test. Thank you for the review. |
@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 |
Merge failedReason: 1 jobs have failed, first few of them are: trunk / macos-py3-arm64 / test (default, 2, 3, macos-m1-stable) Details for Dev Infra teamRaised by workflow job |
@ezyang Apologies on the linting issues, I am new to this repository. All of them have been corrected when I run them locally. I do have one question. Ruff is flagging when I use List for type annotation and says I should use list. This is generally correct. However PyTorch supports python 3.8, and list is enabled for python type annotation starting in 3.9 according to PEP 585. On this most recent commit, I updated to use the modern list annotation. Should we be concerned about backwards compatibility? |
When we import future annotations the new syntax is OK, so we can live in the future :) |
@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 |
Fixes pytorch#156488 Pull Request resolved: pytorch#156504 Approved by: https://github.com/ezyang
Fixes #156488
cc @EikanWang @jgong5 @wenzhe-nrv @sanchitintel