-
Notifications
You must be signed in to change notification settings - Fork 25.7k
Add pad and narrow to torch/csrc/stable/ops.h #159328
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
Add pad and narrow to torch/csrc/stable/ops.h #159328
Conversation
[ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/159328
Note: Links to docs will display an error until the docs builds have been completed. ⏳ No Failures, 1 PendingAs of commit 4894a25 with merge base f33ce40 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
[ghstack-poisoned]
Attention! PyTorch one of the C-stable API file was changedYou MUST NOT change existing function declarations in this, as this header defines a stable C ABI. If you need to change the signature for a function, introduce a new v2 version of the function and modify code generation to target the new version of the function. Caused by: |
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
| // (2) SymInt is not yet header-only | ||
| inline Tensor pad( | ||
| const Tensor& self, | ||
| std::vector<int64_t> pad, |
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.
Do we want to wait for IntArrayRef before merging this?
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.
naw i'm happy with this. We can overload this anyway in the future.
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
|
@pytorchbot merge |
|
@pytorchbot merge -r |
|
@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here |
|
Successfully rebased |
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 mandatory check(s) failed. The first few are: Dig deeper by viewing the failures on hud |
|
@pytorchbot merge -i |
Merge startedYour change will be merged while ignoring the following 0 checks: Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Merge failedReason: 1 mandatory check(s) failed. The first few are: Dig deeper by viewing the failures on hud |
|
|
|
@pytorchbot merge -f |
|
❌ 🤖 pytorchbot command failed: Try |
|
@pytorchbot merge -f "test_jit failure is flaky link, no idea why it can't be ignored by merge -i" |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Pull Request resolved: #159328 Approved by: https://github.com/janeyx99 ghstack dependencies: #159507
Pull Request resolved: #159328 Approved by: https://github.com/janeyx99 ghstack dependencies: #159507
Pull Request resolved: pytorch#159328 Approved by: https://github.com/janeyx99 ghstack dependencies: pytorch#159507
Pull Request resolved: pytorch#159328 Approved by: https://github.com/janeyx99 ghstack dependencies: pytorch#159507
Stack from ghstack (oldest at bottom):