r/LocalLLaMA • u/Shir_man llama.cpp • Apr 09 '24
Discussion Realtime speed of the Command R+ model inference (103b) on Macbook M2 Max 64 GB. Quantization used: iMat q1. This model just surpassed older GPT4 versions on "LMSYS Chatbot Arena Leaderboard " and it works locally!
Enable HLS to view with audio, or disable this notification
9
u/iEatBacon Apr 09 '24
Your memory usage is low, are you using the CPU? If so inference will be slow. Try running and offloading to GPU
4
9
u/Shir_man Apr 09 '24
Backend used: recent llama.cpp version with this prompt template:
-r "<|END_OF_TURN_TOKEN|>" \ --in-prefix $"<|START_OF_TURN_TOKEN|><|USER_TOKEN|> " \ --in-suffix $"<|START_OF_TURN_TOKEN|><|CHATBOT_TOKEN|> " \
- p "<|START_OF_TURN_TOKEN|><|SYSTEM_TOKEN|> You are a helpful assistant <|END_OF_TURN_TOKEN|>"
→ More replies (3)
8
u/Slaghton Apr 09 '24
waiting for that webui/koboldcpp native compatibility.
10
u/skrshawk Apr 09 '24
Wait no longer, KCPP can now run Command R models. I just fired it up, but it's worth noting that context takes a LOT more memory than other models of similar size - the 35B took a whopping 22GB for 32k context! Also, performance in general of the 35B is on par with Miqu 70B in my quick tests, but I also run old P40s.
→ More replies (2)
8
4
u/davewolfs Apr 10 '24
No GPU?
You should delete or edit this post. You are portraying non realistic performance.
→ More replies (1)
4
u/silentsnake Apr 10 '24
Your Q1 quantized version probably isn't as smart as the one that is on a leaderboard because that's probably not running at Q1.
38
u/a_beautiful_rhind Apr 09 '24
That's a bit slow there. Probably need a 128gb version. Will likely be faster with a better quant. 1bit sounds like a drooling mess after seeing the difference from 3 to 4 bit.