]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
ggml : fix conv2d_dw SVE path (#1380)
authorGeorgi Gerganov <redacted>
Tue, 4 Nov 2025 18:40:52 +0000 (20:40 +0200)
committerGitHub <redacted>
Tue, 4 Nov 2025 18:40:52 +0000 (20:40 +0200)
commit7b6abb2b92fcef35cb01c6ce6ada9bd85306522d
treeca357b96b4c693f19d7098b968421292a53b27ed
parent09aa758381718f7731c148238574a7e169001f13
ggml : fix conv2d_dw SVE path (#1380)

* Fix test-conv2d-dw failure on ARM SVE by using runtime vector length

The ggml_compute_forward_conv_2d_dw_cwhn function was using a hardcoded GGML_F32_EPR (8) for SIMD vectorization, but on ARM SVE the actual vector length varies by hardware. This caused incorrect computation when processing CWHN layout tensors on ARM machines.

Fix by using svcntw() to get the runtime SVE vector length instead of the compile-time constant.

Co-authored-by: ggerganov <redacted>
* ci : reduce sam score threshold

* ci : update bbox checks for sam test

---------

Co-authored-by: copilot-swe-agent[bot] <redacted>
Co-authored-by: ggerganov <redacted>
ci/run.sh
src/ggml-cpu/ops.cpp