this post was submitted on 24 Jul 2024
197 points (92.6% liked)

Technology

58076 readers
3062 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
you are viewing a single comment's thread
view the rest of the comments
[–] modeler@lemmy.world 40 points 1 month ago* (last edited 1 month 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.

[–] cheddar@programming.dev 20 points 1 month ago

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

[–] Deceptichum@quokk.au 13 points 1 month ago (2 children)

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

[–] errer@lemmy.world 11 points 1 month ago (2 children)

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

[–] Deceptichum@quokk.au 7 points 1 month ago

Samsung do make them.

Goodluck finding 512gb of VRAM.

[–] bruhduh@lemmy.world 1 points 1 month 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$

[–] chiisana@lemmy.chiisana.net 2 points 1 month ago

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

[–] Siegfried@lemmy.world 8 points 1 month ago* (last edited 1 month 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

[–] TipRing@lemmy.world 4 points 1 month ago

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

[–] 1984 3 points 1 month ago

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

[–] obbeel@lemmy.eco.br 2 points 1 month ago

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

[–] arefx@lemmy.ml 1 points 1 month ago

Ypu mean my 4090 isn't good enough 🤣😂

[–] Longpork3@lemmy.nz 1 points 1 month ago* (last edited 1 month 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.