bitfucker

View original page

@bitfucker@programming.dev · Joined ⁨Mar⁩ ⁨2024⁩

Replying to a post on ⁨anarchist.nexus⁩

Exactly my argument of why the price is never getting down. Because all of the AI labs are doing the training without stopping. And personel and infrastructure is again very dependent on the existing stuff. You may work for a place with good IT infrastructure but mind you that is not usually the case for most small and medium enterprise. They often cheap out on IT, and for good reason. Sometimes they don’t need it. Why should a warehouse companies invest in more people to maintain a server when they could hire more warehouse worker. You need to know the BEP first to be able to confidently say “we can maintain our own infrastructure and it will be cheaper” when you can subscribe to some SaaS and get support for cheaper than you can hire a devops and training your personel for whatever software you ended up using (even if open source one).

Replying to a post on ⁨anarchist.nexus⁩

Well, the issue is that we are comparing apple to orange. When I talked about cloud being cheaper I mean for the same model and request. That is, if you use 30B model locally then you also use 30B model on the cloud. There is a lot of provider now but all of them that I know of is still billed per token or arbitrary compute unit instead of by power consumption.

Replying to a post on ⁨anarchist.nexus⁩

Well, we cannot be sure if the total energy usage would be the same or not is what I’m saying. It may take more tokens but how much is on average? See the issue? No one benchmark model on their power consumption (and to be fair, because it is HARD to get accurate power draw data from the HW to run a certain task. But again, on the scale of the data center they can afford a custom solution).

No problem. I was also behind on this field so my knowledge may be quite dated because I stop following the research after companies just start publishing bigger model as opposed to actual research and novel technique (remember when deepseek can reduce the amount of VRAM needed? Yeah, that’s the kind of thing that I monitor instead of “Anthropic release model X”)

Replying to a post on ⁨anarchist.nexus⁩

Oh but that’s not true. MoE model is VERY different from dense model architecture in which not every parameters would be active at once during the inference computation process. That means if you tie the cost to token, you’d need to adjust the pricing as well. 1M token output of MoE model are not all equal because some of those may have more or less neuron than other. There’s just too much variation if you want to tie the price to token/arbitrary compute unit since the power draw required will be different depending on the actual model architecture, activated neuron, heck even the rng if you don’t use the model for deterministic output. Hence the only good metric is actual power draw during the inference time.

Replying to a post on ⁨anarchist.nexus⁩

Yes, and my argument is that because of those things, cloud LLM is rarely getting cheaper because the market leader is pricing it in token instead of power consumption to help subsidize their continuous training. If they stop that, then I guarantee you that the scale of which a big data center can provide compute for cheap will be bonkers.

I mean google IIRC already uses their own home grown inference chip to not rely on nVidia. That alone already cuts unneeded silicone and overhead of general purpose parallel compute accelerator. It’s also how they could have the AI mode search for free when their user base is basically almost the whole internet.

Replying to a post on ⁨anarchist.nexus⁩

See, that’s the issue. Do you think google, openai, anthropic, meta, microsoft has stopped their training? I doubt that is the case. They will always have those training overhead and those what makes the cost skyrocket. I agree that local model is cheaper but not because the economic of scale doesn’t apply. It is because all those companies are not stopping their AI training. Batching really will show its advantage for an agentic system where the inference result is not needed in real time as the API is called.

Regarding local existing infrastructure, that is a whole different issue. Because not every infrastructure requirement is the same. If you already have a data center-ish IT infrastructure, then go for it. But for example, an SME might not even need 1U server when their need can be satisfied with a cloud based software

Replying to a post on ⁨anarchist.nexus⁩

Well, here is the thing. A compute idle is a compute wasted (same thing why a huge free RAM is a sign that you go way overboard OR the OS is not scheduling the resource efficiently). Even idling component sip power. Let’s say 5W. If you have 100s of GPU idling you got 500W just from idling. Meanwhile if you have 1 big GPU shared across people those 500W could be spent computing.

The power needed to compute also doesn’t always scale linearly. Batching is very effective because there is a fixed overhead for every inference that you pay. Batching can share that fixed overhead cost. Different neural network architecture can benefit greatly from different ways to run the inference.

Yes, the training cost is fixed. The issue is that every company is racing to be the best model owner. That’s why open weight is a godsend. Just to put into perspective, the ratio of inference vs training compute is around 10×. You need 10× as much compute to train than to run the model. 1/11th of a data center just to serve customer. Not to mention inference can use a much more efficient silicone accelerator that is not GPU (like NPU/TPU/other ASIC)

Replying to a post on ⁨anarchist.nexus⁩

Actually centralized inference is far more efficient. It is the training that takes up most of the compute power. Imagine this, if you can run those model on your own, a data center can do the same with batching and use the time that your GPU would otherwise spent idling, processing more request.

So the economic of scale is still in full effect, it’s just that the measure used is wrong. It shouldn’t use token but power drawn to compute. That way a model with a smaller footprint would be MUCH MUCH MUCH cheaper.

The issue is the companies making the closed models need to make profit from the very compute intensive training hence they won’t ever make the pricing as a unit of power consumed.