Update and fix Vulkan soft_max and argsort implementations#7237
Update and fix Vulkan soft_max and argsort implementations#7237
Conversation
|
Not sure if this is the right place to discuss, I am digging into the issue #7130 Here is the root cause: Embedding computation always try to first allocate buffer with 0 size. Because of For vulkan backend, And because Should there be a null check here to throw an exception? Falling back to CPU buffer actually works despite the warning. |
Nevermind, the issue is much deeper than this. Please ignore it here |
…7237) * Update and fix Vulkan softmax implementation * Update and fix Vulkan argsort implementation
…7237) * Update and fix Vulkan softmax implementation * Update and fix Vulkan argsort implementation
I updated Vulkan for the changes in #7192 and fixed a bug in the soft_max implementation. That allowed me to clean up some code that was only needed for the three input tensor soft_max op.
I also updated and fixed the argsort implementation. Now test-backend-ops fully passes for the Vulkan backend.