AI Hardware & Software Stack

Why do some AI accelerators include large on-chip SRAM (tens to hundreds of MB)?

  1. ASRAM retains data with power off
  2. BSRAM is cheaper per bit than DRAM
  3. CTo keep weights and intermediate results on chip for repeated use, reducing accesses to slower, more power-hungry external memory
Show answer and explanation

Answer: C. To keep weights and intermediate results on chip for repeated use, reducing accesses to slower, more power-hungry external memory

Reading data once from off-chip DRAM costs tens to hundreds of times the energy of a single multiply-accumulate. Keeping data in on-chip SRAM for repeated use reduces external accesses, improving both speed and energy efficiency. SRAM consumes much area and is expensive, though, so how much to include is a balance between target model size and cost.

  • A. SRAM is volatile and loses data at power-off.
  • B. SRAM is far more expensive per bit than DRAM.
  • C. Correct. Moving data costs more energy than computing.
Practice this topic Back to topic

More AI Hardware & Software Stack questions

  1. Which describes the "weight-stationary" dataflow used in AI accelerators?
  2. Which is NOT an advantage of running AI inference on the device itself (at the edge), such as a smartphone, rather than on cloud servers?
  3. Why are the NPUs in smartphone SoCs more power-efficient than CPUs for AI inference?
  4. What should be kept in mind about AI accelerator performance figures quoted as "XX TOPS"?
  5. Which describes MFU (Model FLOPs Utilization), a metric of large-scale training efficiency?