update guide for mmap
This commit is contained in:
parent
fb69ed8521
commit
da32e212a8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue