this post was submitted on 24 Jul 2024
198 points (92.7% liked)

Technology

59581 readers
2936 users here now

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


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  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, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
top 40 comments
sorted by: hot top controversial new old
[–] [email protected] 97 points 4 months ago (4 children)

Technically correct (tm)

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

[–] [email protected] 23 points 4 months ago (2 children)

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

[–] [email protected] 41 points 4 months ago* (last edited 4 months ago) (8 children)

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.

[–] [email protected] 21 points 4 months ago

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

[–] [email protected] 13 points 4 months ago (2 children)

Or you could run it via cpu and ram at a much slower rate.

[–] [email protected] 11 points 4 months ago (2 children)

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

[–] [email protected] 7 points 4 months ago

Samsung do make them.

Goodluck finding 512gb of VRAM.

[–] [email protected] 1 points 4 months ago

https://www.ebay.com/p/116332559 lga2011 motherboards quite cheap, insert 2 xeon 2696v4 44 threads each totalling at 88 threads and 8 ddr4 32gb sticks, it comes quite cheap actually, you can also install Nvidia p40 with 24gb each, you can max out this build for ai for under 2000$

[–] [email protected] 2 points 4 months ago

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

[–] [email protected] 8 points 4 months ago* (last edited 4 months 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

[–] [email protected] 4 points 4 months ago

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

[–] [email protected] 3 points 4 months ago

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

[–] [email protected] 2 points 4 months ago

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

[–] [email protected] 1 points 4 months ago

Ypu mean my 4090 isn't good enough 🤣😂

[–] [email protected] 1 points 4 months ago* (last edited 4 months 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.

[–] [email protected] 6 points 4 months 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.

[–] coffee_with_cream 12 points 4 months ago* (last edited 4 months ago) (1 children)

This would probably run on a a6000 right?

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

[–] 5redie8 2 points 4 months 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?

[–] [email protected] 8 points 4 months ago* (last edited 3 months ago) (1 children)

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

[–] [email protected] 3 points 4 months ago

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

[–] [email protected] 5 points 4 months 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.

[–] [email protected] 19 points 4 months ago (4 children)

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."

[–] [email protected] 34 points 4 months ago* (last edited 4 months ago) (1 children)

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.

[–] [email protected] 1 points 4 months ago* (last edited 4 months ago) (1 children)

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

[–] [email protected] 10 points 4 months 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.

[–] [email protected] 14 points 4 months ago* (last edited 4 months ago) (1 children)

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

[–] [email protected] 1 points 4 months ago (1 children)

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

[–] [email protected] 1 points 4 months ago (1 children)

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

[–] [email protected] 1 points 4 months ago (1 children)

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?

[–] [email protected] 4 points 4 months ago

whisper is an STT application that stems from openAI afaik, but it's open source at this point.

i wrote a little guide on how to install it on a server with an NVidia GPU and hw acceleration and integrate it into your homeassistant after. https://a.lemmy.dbzer0.com/lemmy.dbzer0.com/comment/5330316

it's super fast with a GPU available and i use those little M5 ATOM Echo microphones for this.

[–] [email protected] 12 points 4 months ago* (last edited 4 months ago)

I'm running 3.1 8b as we speak via ollama totally offline and gave info to nobody.

https://ollama.com/library/llama3.1

[–] [email protected] 1 points 4 months ago

Through meta...

That's where I stop caring

[–] [email protected] 16 points 4 months ago (1 children)

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.

[–] [email protected] 22 points 4 months ago (2 children)
[–] [email protected] 5 points 4 months ago (1 children)
[–] [email protected] 3 points 4 months ago

That's some thick model

[–] 2001zhaozhao 1 points 4 months ago

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

[–] [email protected] 11 points 4 months 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?

[–] [email protected] 1 points 4 months ago (1 children)

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.

[–] [email protected] 2 points 4 months 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.