]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
ggml: bugfix: fix the inactive elements is agnostic for risc-v vector (llama/8748)
authorCarterLi999 <redacted>
Mon, 29 Jul 2024 16:38:34 +0000 (00:38 +0800)
committerGeorgi Gerganov <redacted>
Thu, 8 Aug 2024 19:48:46 +0000 (22:48 +0300)
commitb355ee7cfaac72ecd90b592060f62b5393a22041
tree2680f2e8ca6b6f0f3b5324d2df48f83e6eae23c9
parent49ac8872b4a45d586160becad639b5d810c5c85a
ggml: bugfix: fix the inactive elements is agnostic for risc-v vector (llama/8748)

In these codes, we want to retain the value that they previously held
when mask[i] is false. So we should use undisturbed. With the default
agnostic policy of rvv intrinsic, these values can be held or be
written with 1s.

Co-authored-by: carter.li <redacted>
ggml/src/ggml-quants.c