update guide for mmap

This commit is contained in:
jianyuzh 2024-02-02 00:01:35 +08:00
parent fb69ed8521
commit da32e212a8

View file

@ -405,7 +405,7 @@ Using device **0** (Intel(R) Arc(TM) A770 Graphics) as main device
llama.cpp use mmap as default way to read model file and copy to GPU. In some system, memcpy will be abnormal and block. llama.cpp use mmap as default way to read model file and copy to GPU. In some system, memcpy will be abnormal and block.
Solution: add **--no-mmap**. Solution: add **--no-mmap** or **--mmap 0**.
## Q&A ## Q&A