Pith. sign in

REVIEW 1 cited by

TPU-MLIR: A Compiler For TPU Using MLIR

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2210.15016 v2 pith:JGACLK33 submitted 2022-10-23 cs.PL cs.CLcs.LG

classification cs.PLcs.CLcs.LG
keywords dialectmlircompilertpu-mlirdeepkernellearningpresents
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Multi-level intermediate representations (MLIR) show great promise for reducing the cost of building domain-specific compilers by providing a reusable and extensible compiler infrastructure. This work presents TPU-MLIR, an end-to-end compiler based on MLIR that deploys pre-trained neural network (NN) models to a custom ASIC called a Tensor Processing Unit (TPU). TPU-MLIR defines two new dialects to implement its functionality: 1. a Tensor operation (TOP) dialect that encodes the deep learning graph semantics and independent of the deep learning framework and 2. a TPU kernel dialect to provide a standard kernel computation on TPU. A NN model is translated to the TOP dialect and then lowered to the TPU dialect for different TPUs according to the chip's configuration. We demonstrate how to use the MLIR pass pipeline to organize and perform optimization on TPU to generate machine code. The paper also presents a verification procedure to ensure the correctness of each transform stage.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. An MLIR-Based Compilation Method for Large Language Models

    cs.CL 2026-07 conditional novelty 4.0 of 10

    A two-dialect MLIR compiler (TopOp→TpuOp) that statically splits each layer into prefill, prefill_kv, and decode stages achieves 78–83% DDR bandwidth on the BM1684X TPU.

Pith tools