]> git.djapps.eu Git - pkg/ggml/sources/ggml/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>
Sat, 11 May 2024 18:30:08 +0000 (21:30 +0300)
commit9b3d2b480a20221ca49a849dbfe554487a8d55f4
treeaa1da932f729e210766d9e0924662a8b093ad897
parentb55977a5834d10e562e9d760ab823d50505af1cf
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
src/ggml-sycl.cpp