logoalt Hacker News

seanmcdirmidtoday at 12:45 AM1 replyview on HN

> "if your model can fit into the VRAM" can be true for the Mac as well.

It is much more likely for your model to fit in large unified memory of a Mac than the smaller more limited memory of a GPU. Even going with two 5090s, you now have to shard your model and that is a PITA.

But it turns out that MoE is the solution both for running models on macs of limited computer power means (not as fast as GPUs), and on multiple GPUs that require sharding the model.


Replies

angoragoatstoday at 12:56 AM

> It is much more likely for your model to fit in large unified memory of a Mac than the smaller more limited memory of a GPU.

I bristle at general statements like this when it obviously depends on the specific Mac and GPU in question. But yes, comparing a maxed out M5 Ultra with an RTX 6000, the Mac has much more memory.

> Even going with two 5090s, you now have to shard your model and that is a PITA.

Every modern tool does this for you automatically. It is absolutely not a pain in the least (e.g. llama.cpp ships with pipeline parallelism enabled by default).

show 1 reply