Ask HN: Which LLMs can run locally on most consumer computers
21–30 of 96 posts
Re: Ask HN: Which LLMs can run locally on most consumer computers
#22Re: Ask HN: Which LLMs can run locally on most consumer computers
#23Re: Ask HN: Which LLMs can run locally on most consumer computers
#24Earlier quoted context omitted.
Depends of what you want to do!? Just for testing most of the 7B model are a good compromise between quality and performance (speak execution time)
Is there a way to reliably package these models with existing games and make them run locally? This would virtually make inference free right? What I think is, from my limited understanding about this field, if smaller models can run on consumer hardware reliably and speedily that would be a game changer.
Not really. Inference is never "free" unless you cache the result (which is just a static output) or unless you reduce complexity (which yields procedurally less-usable outputs).
Re: Ask HN: Which LLMs can run locally on most consumer computers
#25Hope your game doesn’t have a big texture budget.
Re: Ask HN: Which LLMs can run locally on most consumer computers
#26I run Mistral 7b and Llama 3 locally using jani.ai on a 32GB Dell laptop and get about 6 tokens per second with a context window of 8k. It's definitely usable if you're patient. I'm glad I also have a Hugging Face account though.
Re: Ask HN: Which LLMs can run locally on most consumer computers
#27Re: Ask HN: Which LLMs can run locally on most consumer computers
#28I imagine you would have to solve some tricky scheduling issues to run an LLM on the GPU while it's also busy rendering the game. Frames need to be rendered at a more or less consistent rate no matter what, but the LLM would likely have erratic, spiky GPU utilisation depending on what the agents are doing, so you would have to throttle the LLM execution very carefully. Probably doable but I don't think there's any ex…
Re: Ask HN: Which LLMs can run locally on most consumer computers
#29Without a GPU I think it will likely be a poor experience, but it won't be long until you'll have to go out of your way to buy consumer hardware that doesn't integrate some kind of TPU.
Re: Ask HN: Which LLMs can run locally on most consumer computers
#30I imagine you would have to solve some tricky scheduling issues to run an LLM on the GPU while it's also busy rendering the game. Frames need to be rendered at a more or less consistent rate no matter what, but the LLM would likely have erratic, spiky GPU utilisation depending on what the agents are doing, so you would have to throttle the LLM execution very carefully. Probably doable but I don't think there's any ex…
or have 2 gpus