this post was submitted on 31 Oct 2023
225 points (91.5% liked)
Technology
59377 readers
2900 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each another!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- Check for duplicates before posting, duplicates may be removed
Approved Bots
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
The memory maximums are going to be more and more important when it comes to local AI applications.
Take language models for an example
To run a 30b model, you need 24gb of video ram to do it fully on the video card. That's a nvidia 3090 or 4090 today. But in the grand scheme of things, 30b is small. They are going to get much bigger, especially when you want larger contexts which allow the AI to remember more about its interactions with you.
Apples memory is unified, so it can be system ram, or video ram. You'll be able to easily load a 70b model into a MacBook with 64gb of ram for example, where you'd need 2 3090s or 4090s and a hefty PSU on a current Gen non Mac PC (if you even can with just that)
For the moment, things are better optimized for windows and nvidia hardware, but Apple is encroaching on this space, and their huge amounts of video memory will begin to unlock using and training larger and larger models with each hardware generation.
Expect to see nvidia starting to offer higher video ram cards as well for this exact reason. Maybe even cards tailored to that instead of gaming with really high amounts of ram.
I can't see local models or hardware needing to scale much past the sizes we already have. Recent models like mistral have shown that we are still far from saturation at current model sizes.
And we only ever needed 64kb of ram.
Even if we have a lot of room to optimize and grow within what we have, we still have so much more to do.
Fully coherent audio and video synthesis for a scene for example.
And these models are being trained on server farms, but thats just because video memory is so expensive to come by.
We're just starting to crawl, we haven't even started walking yet on where this is going.
I was mainly referring to language models which have somewhat predictable scaling laws. It doesn't make sense to continue scaling the parameters when you can scale the data instead.
Diffusion models are a completely different domain which is less established. Most advancements made in that space are related to the architecture and training methodology. In terms of scale they haven't changed much.
Large models will always be trained in datacenters because the compute will always be exponentially greater and cheaper than what you could get as an individual. Local finetuning already happens but it's expensive and limited.