The first GPT-4-class AI model anyone can download has arrived: Llama 405B

2 years ago by Wilshire to c/technology

"Open source AI is the path forward," says Mark Zuckerberg, misusing the term.
admin 97 points 2 years ago

Technically correct (tm)

Before you get your hopes up: Anyone can download it, but very few will be able to actually run it.

path: 0 11359616, hotness: undefined, score: 97, children: 35
chiisana 23 points 2 years ago

What’s the resources requirements for the 405B model? I did some digging but couldn’t find any documentation during my cursory search.

path: 0 11359616 11360083, hotness: undefined, score: 23, children: 29
modeler 41 points 2 years ago

Typically you need about 1GB graphics RAM for each billion parameters (i.e. one byte per parameter). This is a 405B parameter model. Ouch.

Edit: you can try quantizing it. This reduces the amount of memory required per parameter to 4 bits, 2 bits or even 1 bit. As you reduce the size, the performance of the model can suffer. So in the extreme case you might be able to run this in under 64GB of graphics RAM.

path: 0 11359616 11360083 11360523, hotness: undefined, score: 41, children: 12
cheddar 21 points 2 years ago

Typically you need about 1GB graphics RAM for each billion parameters (i.e. one byte per parameter). This is a 405B parameter model.

path: 0 11359616 11360083 11360523 11375403, hotness: undefined, score: 21, children: 0
Deceptichum 13 points 2 years ago
path: 0 11359616 11360083 11360523 11366479, hotness: undefined, score: 13, children: 4
errer 11 points 2 years ago

Yeah uh let me just put in my 512GB ram stick…

path: 0 11359616 11360083 11360523 11366479 11369924, hotness: undefined, score: 11, children: 2
chiisana 2 points 2 years ago

Finally! My dumb dumb 1TB ram server (4x E5-4640 + 32x32GB DDR3 ECC) can shine.

path: 0 11359616 11360083 11360523 11366479 11383319, hotness: undefined, score: 2, children: 0
Siegfried 8 points 2 years ago

At work we habe a small cluster totalling around 4TB of RAM

It has 4 cooling units, a m3 of PSUs and it must take something like 30 m2 of space

path: 0 11359616 11360083 11360523 11370042, hotness: undefined, score: 8, children: 0
TipRing 4 points 2 years ago

When the 8 bit quants hit, you could probably lease a 128GB system on runpod.

path: 0 11359616 11360083 11360523 11361255, hotness: undefined, score: 4, children: 0
1984 3 points 2 years ago

Can you run this in a distributed manner, like with kubernetes and lots of smaller machines?

path: 0 11359616 11360083 11360523 11362844, hotness: undefined, score: 3, children: 0
obbeel 2 points 2 years ago

According to huggingface, you can run a 34B model using 22.4GBs of RAM max. That's a RTX 3090 Ti.

path: 0 11359616 11360083 11360523 11387814, hotness: undefined, score: 2, children: 0
Longpork3 1 point 2 years ago

Hmm, I probably have that much distributed across my network... maybe I should look into some way of distributing it across multiple gpu.

Frak, just counted and I only have 270gb installed. Approx 40gb more if I install some of the deprecated cards in any spare pcie slots i can find.

path: 0 11359616 11360083 11360523 11387889, hotness: undefined, score: 1, children: 0
arefx 1 point 2 years ago

Ypu mean my 4090 isn't good enough πŸ€£πŸ˜‚

path: 0 11359616 11360083 11360523 11381340, hotness: undefined, score: 1, children: 0
sunzu 12 points 2 years ago

405b ain't running local unless you got a proepr set up is enterpise grade lol

I think 70b is possible but I haven't find anyone confirming it yet

Also would like to know specs on whoever did it

path: 0 11359616 11360083 11360540, hotness: undefined, score: 12, children: 14
Voyajer 8 points 2 years ago

I've run quantized 70B models on CPU with 32 gigs but it is very slow

path: 0 11359616 11360083 11360540 11360822, hotness: undefined, score: 8, children: 5
sunzu 3 points 2 years ago

I gonna add some RAM with hope I can split original 70b between GPU and RAM. 8b is great what it is as is

Looks like it should be possible, not sure how much performance hit offloading to RAM will do. Fafo

path: 0 11359616 11360083 11360540 11360822 11361325, hotness: undefined, score: 3, children: 0
bizarroland 3 points 2 years ago

I have a home server with 140 gigs of RAM, it was surprisingly cheap. It's an HP z6 with the 6146 gold xeon processor.

I found a seller who was selling it with a low spec silver and 16 gigs of RAM for like 250 bucks.

Found the processor upgrade for about $120 and spend another $150 on 128gb of second-hand ECC ddr4.

I think the total cost was something like $700 after throwing a couple of 8 TB hard drives in.

I've also placed a Nvidia 4070 in it, which I got doing some horse trading.

How close am I on the specs to being able to run the 70b version?

path: 0 11359616 11360083 11360540 11360822 11365996, hotness: undefined, score: 3, children: 3
raldone01 2 points 2 years ago

I regularly run llama3 70b unqantized on two P40s and CPU at like 7tokens/s. It's usable but not very fast.

path: 0 11359616 11360083 11360540 11369937, hotness: undefined, score: 2, children: 7
sunzu 1 point 2 years ago

so there is no way a 24gb and 64gb can run thing?

path: 0 11359616 11360083 11360540 11369937 11370132, hotness: undefined, score: 1, children: 6
Blaster_M 6 points 2 years ago

As a general rule of thumb, you need about 1 GB per 1B parameters, so you're looking at about 405 GB for the full size of the model.

Quantization can compress it down to 1/2 or 1/4 that, but "makes it stupider" as a result.

path: 0 11359616 11360083 11360494, hotness: undefined, score: 6, children: 0
coffee_with_cream 12 points 2 years ago

This would probably run on a a6000 right?

Edit: nope I think I'm off by an order of magnitude

path: 0 11359616 11366232, hotness: undefined, score: 12, children: 1
5redie8 2 points 2 years ago

"an order of magnitude" still feels like an understatement LOL

My 35b models come out at like Morse code speed on my 7800XT, but at least it does work?

path: 0 11359616 11366232 11383440, hotness: undefined, score: 2, children: 0
LavenderDay3544 8 points 2 years ago

When the RTX 9090 Ti comes, anyone who can afford it will be able to run it.

path: 0 11359616 11369635, hotness: undefined, score: 8, children: 1
Contravariant 3 points 2 years ago

That doesn't sound like much of a change from the situation right now.

path: 0 11359616 11369635 11385634, hotness: undefined, score: 3, children: 0
bitfucker 5 points 2 years ago

So does OSM data. Everyone can download the whole earth but to serve it and provide routing/path planning at scale takes a whole other skill and resources. It's a good thing that they are willing to open source their model in the first place.

path: 0 11359616 11380172, hotness: undefined, score: 5, children: 0
abcdqfr 19 points 2 years ago

Wake me up when it works offline "The Llama 3.1 models are available for download through Meta's own website and on Hugging Face. They both require providing contact information and agreeing to a license and an acceptable use policy, which means that Meta can technically legally pull the rug out from under your use of Llama 3.1 or its outputs at any time."

path: 0 11359848, hotness: undefined, score: 19, children: 11
admin 34 points 2 years ago

WAKE UP!

It works offline. When you use with ollama, you don't have to register or agree to anything.

Once you have downloaded it, it will keep on working, meta can't shut it down.

path: 0 11359848 11361628, hotness: undefined, score: 34, children: 2
MonkderVierte 1 point 2 years ago

Well, yes and no. See the other comment, 64 GB VRAM at the lowest setting.

path: 0 11359848 11361628 11365897, hotness: undefined, score: 1, children: 1
admin 10 points 2 years ago

Oh, sure. For the 405B model it's absolutely infeasible to host it yourself. But for the smaller models (70B and 8B), it can work.

I was mostly replying to the part where they claimed meta can take it away from you at any point - which is simply not true.

path: 0 11359848 11361628 11365897 11370887, hotness: undefined, score: 10, children: 0
RandomLegend 14 points 2 years ago

It's available through ollama already. i am running the 8b model on my little server with it's 3070 as of right now.

It's really impressive for a 8b model

path: 0 11359848 11361146, hotness: undefined, score: 14, children: 4
abcdqfr 1 point 2 years ago

Intriguing. Is that an 8gb card? Might have to try this after all

path: 0 11359848 11361146 11362678, hotness: undefined, score: 1, children: 3
RandomLegend 1 point 2 years ago

Yup, 8GB card

Its my old one from the gaming PC after switching to AMD.

It now serves as my little AI hub and whisper server for home assistant

path: 0 11359848 11361146 11362678 11362744, hotness: undefined, score: 1, children: 2
abcdqfr 1 point 2 years ago

What the heck is whisper? Ive been fooling around with hass for ages, haven't heard of it even after at least two minutes of searching. Is it openai affiliated hardwae?

path: 0 11359848 11361146 11362678 11362744 11367763, hotness: undefined, score: 1, children: 1
Kuvwert 12 points 2 years ago path: 0 11359848 11368672, hotness: undefined, score: 12, children: 0
sunzu 4 points 2 years ago

I was able to set up small one via open webui.

It did ask to make an account but I didn't see any pinging home when I did it.

What am I missing here?

path: 0 11359848 11360518, hotness: undefined, score: 4, children: 0
Fiivemacs 1 point 2 years ago

Through meta...

That's where I stop caring

path: 0 11359848 11360764, hotness: undefined, score: 1, children: 0
hperrin 16 points 2 years ago

Yo this is big. In both that it is momentous, and holy shit that’s a lot of parameters. How many GB is this model?? I’d be able to run it if I had an few extra $10k bills lying around to buy the required hardware.

path: 0 11361706, hotness: undefined, score: 16, children: 4
Ripper 22 points 2 years ago

its around 800gb

path: 0 11361706 11361883, hotness: undefined, score: 22, children: 3
hperrin 5 points 2 years ago

God damn.

path: 0 11361706 11361883 11365962, hotness: undefined, score: 5, children: 1
bruhduh 3 points 2 years ago

That's some thick model

path: 0 11361706 11361883 11365962 11383088, hotness: undefined, score: 3, children: 0
2001zhaozhao 1 point 2 years ago

Time to buy a thread ripper and 800gb of ram so that I can run this model at 1 token per hour.

path: 0 11361706 11361883 11385066, hotness: undefined, score: 1, children: 0
i_am_a_cardboard_box 11 points 2 years ago

Kind of petty from Zuck not to roll it out in Europe due to the digital services act.. But also kind of weird since it's open source? What's stopping anyone from downloading the model and creating a web ui for Europe users?

path: 0 11376427, hotness: undefined, score: 11, children: 0
sunzu 2 points 2 years ago

Did anyone get 70b to run locally?

If so what, what hardware specs?

path: 0 11360496, hotness: undefined, score: 2, children: 4
DarkThoughts 5 points 2 years ago

Afaik you need about 40GB of vram for a 70b model.

path: 0 11360496 11360587, hotness: undefined, score: 5, children: 3
sunzu 3 points 2 years ago

Can't you offload some of it to RAM?

path: 0 11360496 11360587 11360603, hotness: undefined, score: 3, children: 2
DarkThoughts 7 points 2 years ago

Same requirements, but much slower.

path: 0 11360496 11360587 11360603 11360621, hotness: undefined, score: 7, children: 1
sunzu 2 points 2 years ago

I guess time to buy some ram after spending decade at 16gb

path: 0 11360496 11360587 11360603 11360621 11360691, hotness: undefined, score: 2, children: 0
obbeel 1 point 2 years ago

That looks good on paper, but while I find ChatGPT good to create critical thinking, I've found Meta's products (Facebook and Instagram) to be sources of disinformation. That makes me have reservations about Meta's intentions with LLMs. As the article says, the model comes pre-trained, so it's most made up of information gathered by Meta.

path: 0 11388126, hotness: undefined, score: 1, children: 1
BreadstickNinja 2 points 2 years ago

Neither Meta nor anyone else is hand-curating their dataset. The fact that Facebook is full of grandparents sharing disinformation doesn't impact what's in their model.

But all LLMs are going to have accuracy issues because they're 1) trained on text written by humans who themselves are inaccurate and 2) designed to choose tokens based on probability rather than any internal logic as to whether an answer is factual.

All LLMs are full of shit. That doesn't mean they're not fun or even useful in some applications, but you shouldn't trust anything they write.

path: 0 11388126 11390467, hotness: undefined, score: 2, children: 0
technology
technology

@lemmy.world

login for more options
88808
22210
14686

This is a most excellent place for technology news and articles.

Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


go to feed...