Macbook Air M1 (2020) recommendation "--mlock" switch. #1335
olinorwell
started this conversation in
General
Replies: 2 comments 3 replies
-
Hi, I'm using M2 pro mac mini 16GB, on my machine different is not significant, I found your post because of when I do summary/ q&a using pretty big prompt, the speed goes down. then I tried your mlock suggestion but makes no different Edit : It seems in chat mode, --mlock is make a difference, for 1 shot in my case not really |
Beta Was this translation helpful? Give feedback.
0 replies
-
It helps a lot, my results after adding this flag:
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
A very simple PSA: When using this particular machine you should use the --mlock switch.
Without it even with a 7B model it's painfully slow for me, perhaps 3 minutes to answer what are the days of the week.
As soon as I set that switch, it's almost real time, that is the answer appears at the speed you would say it if you were talking quite slowly.
I'm just putting this out here to hopefully help someone else out there. I've spent about 15 hours messing with this stuff this week and this is the first moment when I can finally run a model on my laptop offline in a usable manner.
So my suggestion is that the this switch should potentially even be the default, when running on machines with a similar configuration. Without it people will think the system is completely unusable, when the reality is that with the switch it feels extremely pleasant to use.
Beta Was this translation helpful? Give feedback.
All reactions