you are viewing a single comment's thread
view the rest of the comments
[–] 23 points 2 years ago (3 children)

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

  • source
  • parent
  • hideshow 6 child comments
  • [–] 41 points 2 years 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.

  • source
  • parent
  • hideshow 16 child comments
  • [–] 13 points 2 years ago (2 children)

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

  • source
  • parent
  • hideshow 4 child comments
  • [–] 11 points 2 years ago (2 children)

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

  • source
  • parent
  • hideshow 4 child comments
  • [–] 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.

  • source
  • parent
  • [–] 12 points 2 years ago (2 children)

    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

  • source
  • parent
  • hideshow 4 child comments
  • [–] 8 points 2 years ago* (2 children)

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

  • source
  • parent
  • hideshow 4 child comments
  • [–] 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

  • source
  • parent
  • [–] 3 points 2 years ago (1 child)

    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?

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 2 years ago* (last edited 2 years ago) (1 child)

    What's the bus speed of the RAM? You might run it just fine but still bottlenecked there.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 2 years ago (1 child)
  • [–] 2 points 2 years ago*

    With 144Gb of total RAM, you should be able to run any CPU intensive software.

    The LLMs use GPU vRAM though, so it doesn't matter how much system RAM you have, since GPU vRAM is what the xformers and tensor scripts prioritize and have been ultimately optimized to use over CPU and RAM.

  • source
  • parent
  • [–] 2 points 2 years ago* (last edited 2 years ago) (1 child)

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

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 2 years ago (2 children)

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

  • source
  • parent
  • hideshow 4 child comments
  • [–] 2 points 2 years ago* (1 child)

    My specs because you asked:

    CPU: Intel(R) Xeon(R) E5-2699 v3 (72) @ 3.60 GHz
    GPU 1: NVIDIA Tesla P40 [Discrete]
    GPU 2: NVIDIA Tesla P40 [Discrete]
    GPU 3: Matrox Electronics Systems Ltd. MGA G200EH
    Memory: 66.75 GiB / 251.75 GiB (27%)
    Swap: 75.50 MiB / 40.00 GiB (0%)
    
  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 2 years ago (1 child)

    What are you asking exactly?

    What do you want to run? I assume you have a 24GB GPU and 64GB host RAM?

  • source
  • parent
  • hideshow 2 child comments
  • [–] 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.

  • source
  • parent