[FAQ] MEMORY ALLOC FAILED: mmap with HUGETLB failed, attempting without it (you should fix your kernel)

通过llama.cpp与羊驼聊天的网页界面- 详解 Serge 的启动使用

 

cat /proc/meminfo | grep Huge

 

sysctl vm.nr_hugepages=128

 

cat /proc/meminfo | grep Huge

 

Link:https://www.cnblogs.com/farwish/p/14743306.html

posted on 2021-05-08 00:32  ercom  阅读(244)  评论(0编辑  收藏  举报