]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
fix memcpy() crash, add missed cmd in guide, fix softmax (llama/6622)
authorNeo Zhang Jianyu <redacted>
Sun, 14 Apr 2024 02:42:29 +0000 (10:42 +0800)
committerGeorgi Gerganov <redacted>
Mon, 13 May 2024 08:02:26 +0000 (11:02 +0300)
commitc1320c1f0c9de3dc7d04b1ccf9fb2a38da8c840f
tree5eb1a1825220f2cfb9fcc6fd4a2a0565ff248b70
parent66aaf03a7a06e595f43c95ef6e8cbfe846bfde09
fix memcpy() crash, add missed cmd in guide, fix softmax (llama/6622)

* disable mmap to fix memcpy crash, add missed cmd in guide, fix softmax

* refactor to disable mmap for SYCL backend

* fix compile error in other os

* refactor the solution, use host buf to fix it, instead of disable mmap

* keep to support mmap()

* use host buff to reduce malloc times

* revert to malloc/free solution, for threaad safe
ggml-sycl.cpp