Earlier quoted context omitted.
You basically need as much RAM as the size of the model.
You actually need a lot less than that if you use the mmap option, because then only activations need to be stored in RAM, the model itself can be read from disk.
Forget ChatGPT: why researchers now run small AIs on their laptops
131–140 of 385 posts
Re: Forget ChatGPT: why researchers now run small AIs on their laptops
#132Earlier quoted context omitted.
I’ll flip this around a bit: If I’ve raised $1B to buy GPUs and train a “bigger model”, a major part of my competitive advantage is having $1B to spend on sufficient GPUs to train a bigger model. If, after having raised that money it becomes apparent that consumer hardware can run smaller models that are optimized and perform as well without all that money going into training them, how am I going to pivot my business…
Mining cryptos, some "AI" companies already do that (knowingly or not... and not necessarily telling investors)
edit: I guess to your point if it is not knowingly then the electricity costs are not a factor either.
Re: Forget ChatGPT: why researchers now run small AIs on their laptops
#133What spec people recommend here to run small models like Llama3.1 or mistral-nemo etc. Also is it sensible to wait for newer mac, amd, nvidia hardware releasing soon?
Re: Forget ChatGPT: why researchers now run small AIs on their laptops
#134but truthfully the 8B just aren't that great yet, they can provide some decent info if you're just investigating things but a google search is still faster
Re: Forget ChatGPT: why researchers now run small AIs on their laptops
#135I narrate notes to myself on my morning walks[1] and then run whisper locally to turn the audio into text... before having an LLM clean up my ramblings into organized notes and todo lists. I have it pretty much all local now, but I don't mind waiting a few extra seconds for it to process since it's once a day. I like the privacy because I was never comfortable telling my entire life to a remote AI company. [1] It fee…
Button-toggled voice notes in the iPhone Notes app are a godsend for taking measurements. Rather than switching your hands between probe/equipment and notes repeatedly, which sucks badly, you can just dictate your readings and maaaaybe clean out something someone said in the background. Over the last decade, the microphones + speech recognition became Good Enough for this. Wake-word/endpoint models still aren't there…
Re: Forget ChatGPT: why researchers now run small AIs on their laptops
#136PS: for reading web pages I know there's voices integrated in the browser/OS but those are horrible
Re: Forget ChatGPT: why researchers now run small AIs on their laptops
#137Earlier quoted context omitted.
Agree. Please provide more details on this setup or a link.
Just try a few models on your machine? It takes seconds plus however long it takes to download the model.
Re: Forget ChatGPT: why researchers now run small AIs on their laptops
#138Earlier quoted context omitted.
405B is beyond homelab-scale. I recently obtained a 4x4090 rig, and I am comfortable running 70B and occasionally 128B-class models. For 405B, you need 8xH100 or better. A single H100 costs around $40k.
Here is someone running 405b on 12x3090 (4.5bpw). Total cost around $10k. https://www.reddit.com/r/LocalLLaMA/comments/1ej9uzh/local_l... Admittedly it's slow (3.5 token/sec)
Re: Forget ChatGPT: why researchers now run small AIs on their laptops
#139Earlier quoted context omitted.
Also, next year, there will be GPT 5. I find it fascinating how much attention small models get, when at the same time the big models just get bigger and prohibitively expensive to train. No leading lab would do that if they thought it a decent chance that small models were able to compete. So who will be interested in a shitty assistant next year when you can have an amazing one, is what I wonder? Is this just the b…
Why would anyone buy a Raspberry Pi when they can get a fully decked out Mac Pro? There are different use cases and computers are already pretty powerful. Maybe your local model won't be able to produce tests that check all the corner cases of the class you just wrote for work in your massive code base. But the small model is perfectly capable of summarizing the weather from an API call and maybe tack on a joke that…
They want compliant Linux drivers?
Re: Forget ChatGPT: why researchers now run small AIs on their laptops
#140Has anybody found a good way to utilize ollama with an editor such as zed to do things like "generate rustdoc to this method" etc. I use ollama daily for a ton of things, but for code generation, completion and documentation 4o is still much better than any of the local models...
The Continue extension for VSCode is pretty good and has native connectivity to a local install of Ollama