News for hackers. Stuff that matters.
Re:Snowflake Arctic Instruct (128x3B MoE), largest open sour... by sp332 on Wednesday April 24, 2024 @12:45PM (#40146711)
Yeah but that's a 70B model. You can see on the Inference Efficiency chart that it takes more than 3x as much compute to run it compared to this one.
Re:Snowflake Arctic Instruct (128x3B MoE), largest open sour... by msp26 on Wednesday April 24, 2024 @12:54PM (#40146846)
Most people are vram constrained not compute constrained.
Re:Snowflake Arctic Instruct (128x3B MoE), largest open sour... by Manabu-eo on Wednesday April 24, 2024 @03:18PM (#40148392)
But those people usually have more system RAM than VRAM.

At those scales, most people become bandwidth and compute constrained using CPU inference instead of multiple GPUs. In those cases, an MOE with a low number of active parameters is the fastest.

Re:Snowflake Arctic Instruct (128x3B MoE), largest open sour... by kaibee on Wednesday April 24, 2024 @01:45PM (#40147477)
Cloud providers aren’t though.
Re:Snowflake Arctic Instruct (128x3B MoE), largest open sour... by karmasimida on Wednesday April 24, 2024 @12:56PM (#40146876)
But you do need to hold all 128 experts in memory? Or not?

Or they simply consider inference efficiency as latency

Re:Snowflake Arctic Instruct (128x3B MoE), largest open sour... by rajhans on Wednesday April 24, 2024 @02:53PM (#40148122)
Arctic dev here. Yes keeping all experts in memory is the recommendation here and understandably that is a barrier to some. But once you have 1 H100 node or two (gpu middle-class I guess...?), then a few things to note: 1. FP6/FP8 inference is pretty good. How to on a single node: https://github.com/Snowflake-Labs/snowflake-arctic/tree/main... (vllm support coming soon!) 2. Small number of activated parameters shine in batch inference case for cloud providers.
Re:Snowflake Arctic Instruct (128x3B MoE), largest open sour... by kiratp on Wednesday April 24, 2024 @03:42PM (#40148684)
> 2. Small number of activated parameters shine in batch inference case for cloud providers

Could you elaborate more please? Batch inference activates pretty much all the experts since token in every sequence in a batch could hit a different expert. So at Bs=128 you’re not really getting a sparsity win.

Re:Snowflake Arctic Instruct (128x3B MoE), largest open sour... by karmasimida on Wednesday April 24, 2024 @09:36PM (#40152292)
That is my reading too, if you consider latency as the utmost inference metric, then you need all models in memory all the time.

What is you guys 70B configuration, do you guys try TP=8 for the 70B model for a fair comparison?

Re:Snowflake Arctic Instruct (128x3B MoE), largest open sour... by kristianp on Wednesday April 24, 2024 @10:55PM (#40152836)
1 H100 is only 80GB of HBM. I guess you mean a server with 4xH100 is 1 node?
Re:Snowflake Arctic Instruct (128x3B MoE), largest open sour... by karmasimida on Thursday April 25, 2024 @02:41AM (#40154230)
this is essentially 400b params. With FP8, comparing to Grok'3 320B model, which requires 320GB VRam in int4, I think what the OP meant is actually 8 H100.

Which is ... a lot to say the least.

And all optimization is for latency, not throughput, because with 8 H100, you can easily hosted 4 replicas of 70B.

Re:Snowflake Arctic Instruct (128x3B MoE), largest open sour... by kristianp on Thursday April 25, 2024 @03:41AM (#40154617)
Thanks for the correction, there are indeed 8x nodes. https://developer.nvidia.com/blog/introducing-nvidia-hgx-h10...
Re:Snowflake Arctic Instruct (128x3B MoE), largest open sour... by giantrobot on Wednesday April 24, 2024 @02:19PM (#40147820)
I believe the main draw of the MoE model is they don't all need to be in memory at once. They can be swapped based on context. In aggregate you get the performance of a much larger model (384b tokens) while using much less memory than such a model would require. If you had enough memory it could all be loaded but it doesn't need to be.
Re:Snowflake Arctic Instruct (128x3B MoE), largest open sour... by Manabu-eo on Wednesday April 24, 2024 @03:21PM (#40148435)
Wrong. MoE models like this one usually chose a different and unpredictable mix of experts for each token, and as such you need all parameters at memory at once.

It lessens the number of parameters that need to be moved from memory to compute chip for each token, not from disk to memory.

Re:Snowflake Arctic Instruct (128x3B MoE), largest open sour... by sp332 on Wednesday April 24, 2024 @03:18PM (#40148407)
Technically you could, but it would take much longer to do all that swapping.
Re:Snowflake Arctic Instruct (128x3B MoE), largest open sour... by qeternity on Wednesday April 24, 2024 @06:49PM (#40150815)
"Expert" in MoE has no bearing on what you might think of as a human expert.

It's not like there is one expert that is proficient at science, and one that is proficient in history.

For a given inference request, you're likely to activate all the experts at various points. But for each individual forward pass (e.g. each token), you are only activating a few.