Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
zozbot234
· 7mo ago · 0 comments
CPU-MoE still helps with mmap. Should not overly hurt token-gen speed on the Mac since the CPU has access to most (though not all) of the unified memory bandwidth, which is the bottleneck.
Comments
[–]
abhikul0
7mo ago
I'll try to use that, but llama-server has mmap on by default and the model still takes up the size of the model in RAM, not sure what's going on.
[–]
zozbot234
OP
7mo ago
Try running CPU-only inference to troubleshoot that. GPU layers will likely just ignore mmap.