paper-with-me

Papers

Tensor Processing Primitives: A Programming Abstraction for Efficiency and Portability in Deep Learning & HPC Workloads

2021-04-12 · Evangelos Georganas, Dhiraj Kalamkar, Sasikanth Avancha, Menachem Adelman, Deepti Aggarwal, Cristina Anderson, Alexander Breuer, Jeremy Bruestle, Narendra Chaudhary, Abhisek Kundu, Denise Kutnick, Frank Laub, Vasimuddin Md, Sanchit Misra, Ramanarayan Mohanty, Hans Pabst, Brian Retford, Barukh Ziv, Alexander Heinecke

During the past decade, novel Deep Learning (DL) algorithms, workloads and hardware have been developed to tackle a wide range of problems. Despite the advances in workload and hardware ecosystems, the programming methodology of DL systems is stagnant. DL workloads leverage either highly-optimized, yet platform-specific and inflexible kernels from DL libraries, or in the case of novel operators, reference implementations are built via DL framework primitives with underwhelming performance. This work introduces the Tensor Processing Primitives (TPP), a programming abstraction striving for efficient, portable implementation of DL workloads with high-productivity. TPPs define a compact, yet versatile set of 2D-tensor operators (or a virtual Tensor ISA), which subsequently can be utilized as building-blocks to construct complex operators on high-dimensional tensors. The TPP specification is platform-agnostic, thus code expressed via TPPs is portable, whereas the TPP implementation is highly-optimized and platform-specific. We demonstrate the efficacy and viability of our approach using standalone kernels and end-to-end DL & HPC workloads expressed entirely via TPPs that outperform state-of-the-art implementations on multiple platforms.

📄 PDF Abstract BibTeX arXiv:2104.05755

Code (3)

hfp/libxsmm tf
libxsmm/libxsmm pytorch
plaidml/tpp-mlir

Similar Papers 제목 키워드 기반

TensorIR: An Abstraction for Automatic Tensorized Program Optimization

2022-07-09 · Siyuan Feng, Bohan Hou, Hongyi Jin, Wuwei Lin 외

Deploying deep learning models on various devices has become an important topic. The wave of hardware specialization brings a diverse set of acceleration primitives for multi-dimensional tensor computations. These new ac…

BIG-bench Machine LearningDeep Learning

Harnessing Deep Learning and HPC Kernels via High-Level Loop and Tensor Abstractions on CPU Architectures

2023-04-25 · Evangelos Georganas, Dhiraj Kalamkar, Kirill Voronin, Abhisek Kundu 외

During the past decade, Deep Learning (DL) algorithms, programming systems and hardware have converged with the High Performance Computing (HPC) counterparts. Nevertheless, the programming methodology of DL and HPC syste…

CPU

Streaming Tensor Programs: A Streaming Abstraction for Dynamic Parallelism

2025-11-11 · Gina Sohn, Genghan Zhang, Konstantin Hossfeld, Jungwoo Kim 외 arxiv

Dynamic behaviors are becoming prevalent in tensor applications, like machine learning, where many widely used models contain data-dependent tensor shapes and control flow. However, the limited expressiveness of prior pr…

Simple, Distributed, and Accelerated Probabilistic Programming

2018-11-05 · NeurIPS 2018 12 · Dustin Tran, Matthew Hoffman, Dave Moore, Christopher Suter 외

We describe a simple, low-level approach for embedding probabilistic programming in a deep learning ecosystem. In particular, we distill probabilistic programming down to a single abstraction---the random variable. Our l…

GPUProbabilistic Programming

CODA: Rewriting Transformer Blocks as GEMM-Epilogue Programs

2026-05-19 · Han Guo, Jack Zhang, Arjun Menon, Driss Guessous 외 arxiv

Transformer training systems are built around dense linear algebra, yet a nontrivial fraction of end-to-end time is spent on surrounding memory-bound operators. Normalization, activations, residual updates, reductions, a…