]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
ggml-hexagon: fix swiglu failure at `test-backend-ops` (llama/17344)
authornullname <redacted>
Thu, 20 Nov 2025 23:45:05 +0000 (07:45 +0800)
committerGeorgi Gerganov <redacted>
Thu, 11 Dec 2025 13:32:41 +0000 (15:32 +0200)
commita82283fbfc88476f4a167ac87af66f8f4645bb91
tree89b15fc4bcf6ba4383c75c275af51fb15fb0a280
parent48516fdb2325be95078fb7ec4582432cf327c0c0
ggml-hexagon: fix swiglu failure at `test-backend-ops` (llama/17344)

* refactor: use hvx_vec_exp_fp32_guard_inf for overflow handling in hvx_exp_f32

* feat: add fast sigmoid function with overflow guard for fp32

* refactor: replace hvx_vec_inverse_fp32 with hvx_vec_inverse_fp32_guard_inf for improved overflow handling

* feat: enhance hvx_add_scalar_f32 with overflow handling using infinity guard

* wip

* add HVX_Vector_Alias

wip

* wip

* fix: improve handling of src1 tensor in glu_swiglu_fp32_per_thread function

* fix nc

* wip

* wip

* handle nan at inverse

* wip

* fix neg

* wip

* rename

* fix hvx_vec_inverse_fp32_guard_inf to handle infinity and NaN cases correctly

* wip

* fix hvx_vec_inverse_fp32_guard_inf to handle NaN cases correctly

* wip

* wip

* wip

* fix output sign
src/ggml-hexagon/htp/act-ops.c
src/ggml-hexagon/htp/hvx-exp.c
src/ggml-hexagon/htp/hvx-inverse.c
src/ggml-hexagon/htp/hvx-utils.c
src/ggml-hexagon/htp/hvx-utils.h