]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
Test support for alternative conv layout (llama/25617)
authorpmaybank <redacted>
Thu, 30 Jul 2026 17:14:16 +0000 (18:14 +0100)
committerGeorgi Gerganov <redacted>
Tue, 4 Aug 2026 10:37:47 +0000 (13:37 +0300)
commit1e64098c9e0acdb153e939a88ed9bcefa16256b5
tree97c8f833f3bc07b281398df00fcf54f099fb9a94
parent1a8c5a62f583f58b3ab6ff0f96730e1369c97527
Test support for alternative conv layout (llama/25617)

* add  bool cwhn = true to conv_2d test cases

* add layout check at graph building time

* extend layout checks for conv2d.cu kernel

* in CPU back-end kernel needs to be stored contiguously to prevent test failures with cwhn=1

* trim white space

* do op support check in vulkan backend

* fix CI failure and vulkan run-time assert failure by introducing new graph build-time check in ggml_backend_vk_device_supports_op

* add additional check in support_op function for Vulkan to fix run-time assert failure
ggml/src/ggml-cpu/ggml-cpu.cpp
ggml/src/ggml-cuda/conv2d.cu
ggml/src/ggml-cuda/ggml-cuda.cu
ggml/src/ggml-vulkan/ggml-vulkan.cpp