>Cerebras is the only platform to enable instant responses at a blistering 450 tokens/sec. All this is achieved using native 16-bit weights for the model, ensuring the highest accuracy responses. As near as I can tell, from the model card[1], the majority of the math for this model is 4096x4096 multiply-accumulates. So, there should be 70b/16m about 4000 of these in the Llama3-70B model. A 16x16 multiplier is about 9…
>There are enough transistors, and enough RAM on the wafer to fit the entire model. Not the entire 70b fp16 model. It'd take 148GB of RAM to hold the entire model. Each Cerebras wafer chip has 44GB of SRAM. You need 4 of them chained together to hold the entire model.
Cerebras Inference: AI at Instant Speed
71–75 of 75 posts
Re: Cerebras Inference: AI at Instant Speed
#72Earlier quoted context omitted.
It shouldn't be surprising. It's hard as fuck, and we don't know if it's worth it yet (there's something to be said for "if your compute dies you send your remote hands to swap out a high four figure component" and not "decommission a high-six-figure node"
I hope I didn't make it sound like it was easy, at least I don't think I said that anywhere. It doesn't really matter how hard something is to do (short of it being trivially proven impossible), it matters whether there's a good enough chance that the payoff exceeds the cost. And actually there have been attempts to do it, I mentioned in an earlier version of my comment that Gene Amdahl had attemped to make WSE work…
IIRC cerebras' design was originally for HPC workloads, so even it may not necessarily be optimized for LLMs
Re: Cerebras Inference: AI at Instant Speed
#73Earlier quoted context omitted.
>There are enough transistors, and enough RAM on the wafer to fit the entire model. Not the entire 70b fp16 model. It'd take 148GB of RAM to hold the entire model. Each Cerebras wafer chip has 44GB of SRAM. You need 4 of them chained together to hold the entire model.
Correction: 40GB of SRAM each. https://www.anandtech.com/show/16626/cerebras-unveils-wafer-...
Re: Cerebras Inference: AI at Instant Speed
#74> Thus to generate a 100 words a second requires moving the model 100 times per second – requiring vast amounts of memory bandwidth. It's actually worse for the majority of GPU implementations for large models. The matrices don't fit shared memory so the model is loaded many, many times to shared memory (as tiles). Also, unless you are using Hopper distributed shared memory, CTAs can't even share across them. It woul…
Re: Cerebras Inference: AI at Instant Speed
#75It’s insanely fast. Here’s an AI voice assistant I built that uses it: https://cerebras.vercel.app
But then I asked her to integrate sin(x) * e^x and got this bizarre answer that started out as speech sounds but then degenerated into chaos. Out of curiosity, why and how did she end up generating samples that sounded rather unlike speech?
Here's a recording: https://youtu.be/wWhxF7ybiAc
FWIW, I can get this behavior pretty consistently if I chat with her a while about her voice capabilities and then go into a math question.