-
Notifications
You must be signed in to change notification settings - Fork 25.7k
Fix tensor.stride() type hint
#84177
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
|
Hi @soof-golan! Thank you for your pull request and welcome to our community. Action RequiredIn order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you. ProcessIn order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA. Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks! |
🔗 Helpful links
✅ No Failures (0 Pending)As of commit 35f0bf6a53 (more details on the Dr. CI page): Expand to see more💚 💚 Looks good so far! There are no failures yet. 💚 💚 This comment was automatically generated by Dr. CI (expand for details).Please report bugs/suggestions to the (internal) Dr. CI Users group. |
|
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks! |
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!
|
@pytorchbot merge |
|
@pytorchbot successfully started a merge job. Check the current status here. |
Merge failedReason: This PR is too stale; the last push date was more than 3 days ago. Please rebase and try again. Details for Dev Infra teamRaised by workflow job |
|
@pytorchbot rebase |
|
@pytorchbot merge -g |
|
@pytorchbot successfully started a merge job. Check the current status here. |
Merge failedReason: This PR is too stale; the last push date was more than 3 days ago. Please rebase and try again. Details for Dev Infra teamRaised by workflow job |
|
@pytorchbot successfully started a rebase job. Check the current status here |
|
Successfully rebased |
35f0bf6 to
b27c90c
Compare
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/84177
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 3d7bd8d: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@pytorchbot merge -g |
Merge failedReason: The following mandatory check(s) are pending/not yet run (Rule
Dig deeper by viewing the pending checks on hud Details for Dev Infra teamRaised by workflow job |
|
/easycla As part of the transition to the PyTorch Foundation, this project now requires contributions be covered under the new CLA. See #85559 for additional details. This comment will trigger a new check of this PR. If you are already covered, you will simply see a new "EasyCLA" check that passes. If you are not covered, a bot will leave a new comment with a link to sign. |
|
@pytorchbot rebase |
|
@pytorchbot successfully started a rebase job. Check the current status here |
`tensor.stride()` now hints at tuple of variable length instead of tuple with constant length of 1
|
Successfully rebased |
b27c90c to
3d7bd8d
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 |
|
Hey @soof-golan. |
`tensor.stride()` now hints at tuple of variable length instead of tuple with constant length of 1 Fixes pytorch#84176 Pull Request resolved: pytorch#84177 Approved by: https://github.com/Chillee
`tensor.stride()` now hints at tuple of variable length instead of tuple with constant length of 1 Fixes pytorch#84176 Pull Request resolved: pytorch#84177 Approved by: https://github.com/Chillee
tensor.stride()now hints at tuple of variable length instead of tuple with constant length of 1Fixes #84176