Re:Ask HN: Cheapest hardware to run Llama 2 70B
by hdjfkfbfbr on Wednesday August 09, 2023 @06:37PM
(#37069327)
Hmmm I ran llama2 ggml q4 in 6gb ram with llama.CPP on my laptop.
[ Parent
| on HN ]
Re:Ask HN: Cheapest hardware to run Llama 2 70B
by Ms-J on Wednesday August 09, 2023 @06:43PM
(#37069382)
I very much do appreciate your comment and will look into into llama.cpp.
Was it from here: https://github.com/ggerganov/llama.cpp
Do you have a guide that you followed and could link it to me or was it just from prior knowledge? Also, do you know if I could run the Wizard Vicuna on it? That model isn't listed on the above page.
Re:Ask HN: Cheapest hardware to run Llama 2 70B
by hdjfkfbfbr on Wednesday August 09, 2023 @07:30PM
(#37069806)
Glad to be of help. Yea that is the repo.
https://replicate.com/blog/run-llama-locally
I found that guide here on hn.
I run it cpu only with 16 threads but yeah perf is good enough.
BTw my 6gb figure is me.measuring from htop so llama2 is likely less.
Re:Ask HN: Cheapest hardware to run Llama 2 70B
by Ms-J on Wednesday August 09, 2023 @09:34PM
(#37070800)
Thanks for the starting point. I'll give an update if I'm able to successfully run the other models. I hope it could help the community.
Re:Ask HN: Cheapest hardware to run Llama 2 70B
by hdjfkfbfbr on Wednesday August 09, 2023 @07:31PM
(#37069812)
Not sure about vicuna myself
Re:Ask HN: Cheapest hardware to run Llama 2 70B
by singhrac on Friday August 11, 2023 @10:20PM
(#37096337)
This code runs Llama2 quantized and unquantized in a roughly minimal way: https://github.com/srush/llama2.rs (though extracting the quantized 70B weights takes a lot of RAM). I'm running the 13B quantized model on ~10-11GB of CPU memory.