-
Notifications
You must be signed in to change notification settings - Fork 26.3k
[vulkan] cat op (concatenate) #41434
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
[ghstack-poisoned]
💊 CI failures summary and remediationsAs of commit 2f8c576 (more details on the Dr. CI page):
🕵️ 1 new failure recognized by patternsThe following CI failures do not appear to be due to upstream breakages:
|
[ghstack-poisoned]
Differential Revision: [D22754941](https://our.internmc.facebook.com/intern/diff/D22754941) [ghstack-poisoned]
Differential Revision: [D22754941](https://our.internmc.facebook.com/intern/diff/D22754941) [ghstack-poisoned]
Differential Revision: [D22754941](https://our.internmc.facebook.com/intern/diff/D22754941) [ghstack-poisoned]
Differential Revision: [D22754941](https://our.internmc.facebook.com/intern/diff/D22754941) [ghstack-poisoned]
Differential Revision: [D22754941](https://our.internmc.facebook.com/intern/diff/D22754941) [ghstack-poisoned]
Differential Revision: [D22754941](https://our.internmc.facebook.com/intern/diff/D22754941) [ghstack-poisoned]
Differential Revision: [D22754941](https://our.internmc.facebook.com/intern/diff/D22754941) [ghstack-poisoned]
Differential Revision: [D22754941](https://our.internmc.facebook.com/intern/diff/D22754941) [ghstack-poisoned]
Differential Revision: [D22754941](https://our.internmc.facebook.com/intern/diff/D22754941) [ghstack-poisoned]
| input.options()); | ||
| } | ||
|
|
||
| at::Tensor vulkan_cat(TensorList tensors, int64_t dim) { |
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.
const TensorList&
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.
TensorList is an alias to ArrayRef<Tensor>, thats why reference to it will not work:
terminate called after throwing an instance of 'c10::Error'
what(): *cpp_signature == *cpp_signature_ INTERNAL ASSERT FAILED at "../aten/src/ATen/core/dispatch/OperatorEntry.cpp":93, please report a bug to PyTorch. Tried to register a kernel (registered at ../aten/src/ATen/native/vulkan/VulkanAten.cpp:618) for operator aten::_cat for dispatch key Vulkan, but the C++ function signature at::Tensor (c10::ArrayRef<at::Tensor> const&, long) mismatched with a previous kernel that had the signature at::Tensor (c10::ArrayRef<at::Tensor>, long)
Exception raised from registerKernel at ../aten/src/ATen/core/dispatch/OperatorEntry.cpp:93 (most recent call first):
frame #0: c10::Error::Error(c10::SourceLocation, std::string) + 0x4d (0x7f155c08477d in /home/ivankobzarev/pytorch-vulkan/pytorch/build/lib/libc10.so)
But const works , I will add it
Differential Revision: [D22754941](https://our.internmc.facebook.com/intern/diff/D22754941) [ghstack-poisoned]
Differential Revision: [D22754941](https://our.internmc.facebook.com/intern/diff/D22754941) [ghstack-poisoned]
Differential Revision: [D22754941](https://our.internmc.facebook.com/intern/diff/D22754941) [ghstack-poisoned]
|
@IvanKobzarev merged this pull request in 8718524. |
Stack from ghstack:
Differential Revision: D22754941