]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
ggml: bugfix: fix the inactive elements is agnostic for risc-v vector (#8748)
authorCarterLi999 <redacted>
Mon, 29 Jul 2024 16:38:34 +0000 (00:38 +0800)
committerGitHub <redacted>
Mon, 29 Jul 2024 16:38:34 +0000 (18:38 +0200)
commit75af08c475e285888f66556d0f459c533b7deb95
treef7e023a0c92f5564511b7854273633948be3aaea
parent439b3fc75a8deb42899ac47a8f52aae75e0339fe
ggml: bugfix: fix the inactive elements is agnostic for risc-v vector (#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