Back to AI News
arxiv

Atik: Open-Source Shared-Mesh Transformer Accelerator for RISC-V

Atik is an open-source RISC-V RocketChip accelerator that executes transformer matrix multiplication and attention on a shared fixed-point MAC mesh. It uses streaming online-softmax to avoid materializing the full score matrix and reports significant speedups over scalar BF16 reference in FireSim simulations. The design is evaluated across 137 test records with zero output mismatches, and hybrid projections show aggregate speedups for ViT, TinyBERT, and GPT-2 prefill.

AI Brief

Provides a concrete, open-source hardware accelerator design with measured speedups and correctness validation, valuable for AI hardware researchers and RISC-V developers.

arXiv:2611.09522v1 Announce Type: new Abstract: Transformer inference repeatedly invokes dense matrix multiplication and attention, including its data-dependent softmax normalization. We present Atik, an open-source RoCC accelerator for RocketChip that executes matrix multiplication and dense attention through one shared fixed-point MAC mesh. Atik accepts and returns BF16 tensors, uses a streaming online-softmax schedule that never materializes the full score matrix, and is invoked through a small descriptor-based ABI. We evaluate three meshes cycle-by-cycle on FireSim and report standalone Sky130 physical-design area. Across 137 logged FireSim test records, all tests pass their benchmark tolerance with zero reported output mismatches. Relative to the same scalar Rocket BF16 reference, the 8x8 configuration reaches 31.5x peak matmul speedup and 225.8x peak attention speedup. Hybrid projections for the single-layer workload-derived C models, using directly measured accelerator-kernel cycles, give aggregate speedups of 44.2x, 77.1x, and 32.3x for ViT, TinyBERT, and GPT-2 prefill, respectively; these are not full-model hardware replays.
Be the first to rate this article.

Comments & Questions (0)

Captcha
Please be respectful — let's keep the conversation friendly.

No comments yet

Be the first to comment!