4 ms·
How would you compare the tok/sec between this setup and the M3 Max?
by hbbio 2y ago
How would you compare the tok/sec between this setup and the M3 Max?
- deleted 2y ago[deleted]
- aurareturn 2y ago3.5 - 4.5 tokens/s on the $2,000 AMD Epyc setup. Deepseek 671b q4. The AMD Epyc build is severely bandwidth and compute constrained. ~40 tokens/s on M3 Ultra 512GB by my calculation.
- sgt 2y agoWhat kind of Nvidia-based rig would one need to achieve 40 tokens/sec on Deepseek 671b? And how much would it cost?
- aurareturn 2y agoAround 5x Nvidia A100 80GB can fit 671b Q4. $50k just for the GPUs and likely much more when including cooling, power, motherboard, CPU, system RAM, etc.
- sgt 2y agoSo the M3 Ultra is amazing value then. And from what I could tell, an equivalent AMD Epyc would still be so constrained that we're talking 4-5 tokens/s. Is this a fair assumption?
- Aeolun 2y agoThe Epyc would only set you back $2000 though, so it’s only a slightly worse price/return.
- adgjlsfhk1 2y agoNo. The advantage of Epic is you get 12 channels of ram so it should be ~6x faster than a consumer cpu.
- sgt 2y agoI realize that but apparently people are still getting very low tokens/sec on Epyc. Why is that? I don't get it, as on paper it should be fast.
- SkiFire13 2y agoHow many tokens/s would that be though?
- sgt 2y agoThat's what I'm trying to get to. Looking to set up a rig, and AMD Epyc seems reasonable but I'd rather go Mac if it's giving many more tokens per second. It does sound like the Mac with M3 Ultra will easily give 40 tokens/s, where as the Epyc is just internally constrained too much, giving 4-5 tokens/s but I'd like someone to confirm that, instead of buying the HW and finding out myself. :)
- aurareturn 2y agoProbably a lot more. Those are server-grade GPUs. We're talking prosumer grade Macs. I don't know how to calculate tokens/s for H100s linked together. ChatGPT might help you though. :)
- SkiFire13 2y agoWell, ChatGPT quotes 25k-75k tokens/s with 5 H100 (so very very far from the 40 tokens/s), but I doubt this is accurate (e.g. it completly ignored the fact they are linked together and instead just multiplied the estimation of the tokens/s for one H100 by 5). If this is remotely accurate though it's still at least an order of magnitude more convenient than the M3 Ultra, even after factoring in all the other costs associated with the infrastructure.
- hbbio 2y agoThanks! If the M3 can run 24/7 without overheating it's a great deal to run agents. Especially considering that it should run only using 350W... so roughly $50/mo in electricity costs.
- aenis 2y agoOut of curiosity, if you dont mind: what kind of an agent would you run 24/7 locally? I'd assume this thing peaks at 350W (or whatever) but idles at around 40w tops?
- MBCook 2y agoI’m guessing they might be thinking long training jobs as opposed to model use in an end product if done sort.
- wolfgangK 2y agoIMO, it would be more interesting to have a 3-way comparison of price/performance between DeepSeek 671b running on : 1. M3 Ultra 512 2. AMD Epyc (which Gen ? AVX512 and DDR5 might make a difference in both performance and cost , Gen 4 or Gen 5 have 8 or 9 t/s https://github.com/ggml-org/llama.cpp/discussions/11733 https://github.com/ggml-org/llama.cpp/discussions/11733 ) 2. AMD Epyc + 4090 or 5090 running KTransformers (over 10 t/s decode ? https://github.com/kvcache-ai/ktransformers/blob/main/doc/en/DeepseekR1_V3_tutorial.md#benchmark-results https://github.com/kvcache-ai/ktransformers/blob/main/doc/en...)