this post was submitted on 25 Jul 2024
354 points (100.0% liked)

196

667 readers
43 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] jlh@lemmy.jlh.name 48 points 3 months ago (5 children)

I doubt this person actually had a computer than could run the 405b model. You need over 200gb of ram, let alone having enough vram to run it with gpu acceleration.

[–] AVincentInSpace@pawb.social 55 points 3 months ago* (last edited 3 months ago) (1 children)

simple, just create 200GB of swap space and convince yourself that you really are patient enough to spend 3 days unable to use your computer while it uses its entire CPU and disk bandwidth to run ollama (and hate your SSD enough to let it spend 3 days constantly swapping)

[–] zurohki@aussie.zone 18 points 3 months ago (1 children)

Reminds me of the time I compiled Qt on a 1GB Raspberry Pi.

[–] AVincentInSpace@pawb.social 5 points 3 months ago

All I can think to say is 'ouch'.

[–] Gormadt@lemmy.blahaj.zone 18 points 3 months ago* (last edited 3 months ago) (2 children)

In terms of RAM it's not impossible, my current little server has 192GB of RAM installed.

Pic from TrueNAS

The VRAM would be quite the hurdle though, I'm curious on it's requirements for VRAM

Edit: Moving data in anticipation of a hardware migration ATM so basically none of the services are running.

[–] dwindling7373@feddit.it 6 points 3 months ago (2 children)
[–] Gormadt@lemmy.blahaj.zone 7 points 3 months ago (1 children)

It's pretty old hardware to say the least, it's also really proprietary. (Old Dell PowerEdge T610)

My hardware migration I'm currently in the midst of is going to bring it more in line with my typical use case for it.

Basically taking it down from 192 GB of ECC DDR3 to around 32 GB (maybe 64 GB) of DDR4 RAM. Also down to a single CPU rather than dual socket.

[–] jlh@lemmy.jlh.name 2 points 3 months ago (1 children)

Old Epyc boards are super cheap on eBay. 8 channels of ddr4 and 80-100 lanes of pcie for nvme on an ATX mobo. You pay for the idle power consumption, but it's pretty cheap overall.

[–] Gormadt@lemmy.blahaj.zone 2 points 3 months ago

I'm just going with a Ryzen 1600x system because I have one on hand

My current system has a pair of 12 thread Xeon CPUs and I really don't need them, plus I'm wanting to go with normal consumer hardware for the new system for repairability reasons

[–] desktop_user@lemmy.blahaj.zone 2 points 3 months ago (2 children)

You can have that much RAM with consumer ddr5.

[–] dwindling7373@feddit.it 2 points 3 months ago

Yes but you can't call it a little amount.

[–] jlh@lemmy.jlh.name 1 points 3 months ago

4x64gb udimms would cost over $1000.

[–] Mikina@programming.dev 3 points 3 months ago (1 children)

VRAM would be 810Gb/403Gb/203Gb for FP16/FP8/INT4 for interferrence, according to their website.

[–] Gormadt@lemmy.blahaj.zone 2 points 3 months ago

Hot damn that's a lot! They ain't messing around with that requirement.

My current server has 32 MB of VRAM. Yes, MB not GB. Once I finish the hardware migration it's going to 8GB but that's not even a drop in the bucket compared to that requirement.

[–] Sabata11792@ani.social 5 points 3 months ago* (last edited 3 months ago)

Some apps allow you to offload to GPU, and CPU while loading the active part of the model. I have a an old SSD that give me 500gb of "usable" ram set up as swap.

It is horrendously slow and pointless but you can do it. I got about 2 tokens in 10 minutes before I gave up on a 70b model on a 1080 ti.

[–] josefo@leminal.space 2 points 3 months ago (1 children)

there are other options less ram consuming?

[–] theneverfox@pawb.social 4 points 3 months ago

Why, of course! People on here saying it's impossible, smh

Let me introduce you to the wonderful world of thrashing. What is thrashing? It's when you run out of ram. Luckily, most computers these days do something like swap space - they just treat your SSD as extra slow extra RAM.

Your computer gets locked up when it genuinely doesn't have enough RAM still though, so it unloads some RAM into disk, puts what it needs right now back into RAM, executes a bit of processing, then the program tells it actually needs some of what got shelved on disk. And it does it super fast, so it's dropping the thing it needs hundreds of times a second - technology is truly remarkable

Depending on how the software handles it, it might just crash... But instead it might just take literal hours

[–] Mikina@programming.dev 2 points 3 months ago (1 children)

I'm not sure what "FP16/FP8/INT4" means, and where would GTX 4090 fall in those categories, but the VRAM required is respectively 810Gb/403Gb/203Gb. I guess 4090 would fall under the INT4?

[–] technohacker@programming.dev 5 points 3 months ago* (last edited 3 months ago)

They stand for Floating Point 16-bit, 8-bit and 4 bit respectively. Normal floating point numbers are generally 32 or 64 bits in size, so if you're willing to sacrifice some range, you can save a lot of space used by the model. Oh, and it's about the model rather than the GPU