6 ms·
Disclamer: probably dumb questions so, the 20b model. Can someone explain to me what I would need to do in terms of resources (GPU, I assume) if I want to run
by artembugara 1y ago
Disclamer: probably dumb questions
so, the 20b model.
Can someone explain to me what I would need to do in terms of resources (GPU, I assume) if I want to run 20 concurrent processes, assuming I need 1k tokens/second throughput (on each, so 20 x 1k)
Also, is this model better/comparable for information extraction compared to gpt-4.1-nano, and would it be cheaper to host myself 20b?
- mythz 1y agogpt-oss:20b is ~14GB on disk [1] so fits nicely within a 16GB VRAM card. [1] https://ollama.com/library/gpt-oss https://ollama.com/library/gpt-oss
- artembugara 1y agothanks, this part is clear to me. but I need to understand 20 x 1k token throughput I assume it just might be too early to know the answer
- Tostino 1y agoI legitimately cannot think of any hardware that will get you to that throughput over that many streams with any of the hardware I know of (I don't work in the server space so there may be some new stuff I am unaware of).
- artembugara 1y agooh, I totally understand that I'd need multiple GPUs. I'd just want to know what GPU specifically and how many
- Tostino 1y agoI don't think you can get 1k tokens/sec on a single stream using any consumer grade GPUs with a 20b model. Maybe you could with H100 or better, but I somewhat doubt that. My 2x 3090 setup will get me ~6-10 streams of ~20-40 tokens/sec (generation) ~700-1000 tokens/sec (input) with a 32b dense model.
- dragonwriter 1y agoYou also need space in VRAM for what is required to support the context window; you might be able to do a model that is 14GB in parameters with a small (~8k maybe?) context window on a 16GB card.
- petuman 1y ago> assuming I need 1k tokens/second throughput (on each, so 20 x 1k) 3.6B activated at Q8 x 1000 t/s = 3.6TB/s just for activated model weights (there's also context). So pretty much straight to B200 and alike. 1000 t/s per user/agent is way too fast, make it 300 t/s and you could get away with 5090/RTX PRO 6000.
- mlyle 1y agoAn A100 is probably 2-4k tokens/second on a 20B model with batched inference. Multiply the number of A100's you need as necessary. Here, you don't really need the ram. If you could accept fewer tokens/second, you could do it much cheaper with consumer graphics cards. Even with A100, the sweet-spot in batching is not going to give you 1k/process/second. Of course, you could go up to H100...
- spott 1y agoGroq is offering 1k tokens per second for the 20B model. You are unlikely to match groq on off the shelf hardware as far as I'm aware.
- PeterStuer 1y ago(answer for 1 inference) Al depends on the context length you want to support as the activation memory will dominate the requirements. For 4096 tokens you will get away with 24GB (or even 16GB), but if you want to go for the full 131072 tokens you are not going to get there with a 32GB consumer GPU like the 5090. You'll need to spring for at the minimum an A6000 (48GB) or preferably an RTX 6000 Pro (96GB). Also keep in mind this model does use 4-bit layers for the MoE parts. Unfortunately native accelerated 4-bit support only started with Blackwell on NVIDIA. So your 3090/4090/A6000/A100's are not going to be fast. An RTX 5090 will be your best starting point in the traditional card space. Maybe the unified memory minipc's like the Spark systems or the Mac mini could be an alternative, but I do not know them enough.
- vl 1y agoHow Macs compare to RTXs for this? I.e. what numbers can be expected from Mac mini/Mac Studio with 64/128/256/512GB of unified memory?
- mrm_crackerhues 1y ago[dead]
- coolspot 1y agohttps://apxml.com/tools/vram-calculator https://apxml.com/tools/vram-calculator