News for hackers. Stuff that matters.
Re:Cerebras Systems unveils a 1.2T transistor chip for AI by gwern on Monday August 19, 2019 @02:24PM (#20740323)
Looking at the whitepaper, I'm a little surprised how little RAM there is for such an enormous chip. Is the overall paradigm here that you still have relatively small minibatches during training, but each minibatch is now vastly faster?
Re:Cerebras Systems unveils a 1.2T transistor chip for AI by ivalm on Monday August 19, 2019 @03:18PM (#20740884)
IIRC they use batch size = 1 and each core only know about one layer. Which is to say this thing has to be trained very differently from normal SGD (but requires very little memory). There is also the issue that they rely on sparseness, which you get with relu activations, but if, for example, language models move to gelu activations they will be somewhat screwed.
Re:Cerebras Systems unveils a 1.2T transistor chip for AI by IshKebab on Monday August 19, 2019 @05:47PM (#20742129)
It's because it's SRAM, not DRAM. Think how much L3 cache your processor has. A few MB probably. That's what this chip's memory is equivalent to.
Re:Cerebras Systems unveils a 1.2T transistor chip for AI by morphle on Monday August 19, 2019 @11:06PM (#20743518)
We have up to 160 GB SRAM on our WSI. The rest of the transistors can be a few million cores or reconfigurable Morphle Logic (an open hardware kind of FPGA)

Our startup has been working on a full Wafer Scale Integration since 2008. We are searching for cofounders. Merik at metamorphresearch dot org

Re:Cerebras Systems unveils a 1.2T transistor chip for AI by Veedrac on Monday August 19, 2019 @03:28PM (#20740965)
“full utilization at any batch size, including batch size 1”

https://www.cerebras.net/

Re:Cerebras Systems unveils a 1.2T transistor chip for AI by gwern on Monday August 19, 2019 @03:45PM (#20741120)
That doesn't really mean anything. It (and any other chip) had better be able to run at least batch size 1, and lots of people claim to have great utilization... It doesn't tell me if the limited memory is part of a deliberate tradeoff akin to a throughput/latency tradeoff, or some intrinsic problem with the speedups coming from other design decisions like the sparsity multipliers, or what.
Re:Cerebras Systems unveils a 1.2T transistor chip for AI by Veedrac on Monday August 19, 2019 @04:25PM (#20741461)
Most of the chip is already SRAM, I'm not really sure what else you would expect?

18 GiB × 6 transistors/bit ≈ .93 trillion transistors

Re:Cerebras Systems unveils a 1.2T transistor chip for AI by gwern on Monday August 19, 2019 @08:40PM (#20742951)
Well, it could be... not SRAM? It's not the only kind of RAM, and the choice to use SRAM is certainly not an obvious one. It could make sense as part of a specific paradigm, but that is not explained, and hence why I am asking. It may be perfectly obvious to you, but it's not to me.
Re:Cerebras Systems unveils a 1.2T transistor chip for AI by Veedrac on Monday August 19, 2019 @09:47PM (#20743211)
You basically have the option between SRAM, HBM (DRAM), and something new. You can imagine the risks with using new memory tech on a chip like this.

The issue with HBM is that it's much slower, much more power hungry (per access, not per byte), and not local (so there are routing problems). You can't scale that to this much compute.

Re:Cerebras Systems unveils a 1.2T transistor chip for AI by gwern on Tuesday August 20, 2019 @09:47AM (#20746963)
But HBAM and other RAMs are, presumably, vastly cheaper otherwise. (You can keep explaining that, but unless you work for Cerebras and haven't thought to mention that, talking about how SRAM is faster is not actually an answer to my question about what paradigm is intended by Cerebras.)
Re:Cerebras Systems unveils a 1.2T transistor chip for AI by Veedrac on Tuesday August 20, 2019 @02:23PM (#20750229)
They say they support efficient execution of smaller batches. They cover this somewhat in their HotChips talk, eg. “One instance of NN, don't have to increase batch size to get cluster scale perf” from the AnandTech coverage.

If this doesn't answer your question, I'm stuck as to what you're asking about. They use SRAM because it's the only tried and true option that works. Lots of SRAM means efficient execution of small batch sizes. If your problem fits, good, this chip works for you, and probably easily outperforms a cluster of 50 GPUs. If your problem doesn't, presumably you should just use something else.