Experience-guided, mixed-precision matrix multiplication with apache TVM for ARM processors

Abstract Deep learning (DL) generates new computational tasks that are different from those encountered in classical scientific applications. In particular, DL training and inference require general matrix multiplications ( gemm ) with matrix operands that are far from large and square as in other scientific fields. In addition, DL models gain arithmetic/storage complexity, and as a result, reduced precision via quantization is now mainstream for inferring DL models in edge devices. Automatic code generation addresses these new types of gemm by (1) improving portability between different hardware with only one base code; (2) supporting mixed and reduced precision; and (3) enabling auto-tuning methods that, given a base operation, perform a (costly) optimization search for the best schedule. In this paper, we rely on Apache TVM to generate an experience-guided gemm that provides performance competitive with the TVM auto-scheduler, while reducing tuning time by a factor of 48×.

Authors

Institutions

Publication Details

Journal
The Journal of Supercomputing
Published
2024-11-26
DOI
https://doi.org/10.1007/s11227-024-06720-7
Citations
2
Primary Topic
Parallel Computing and Optimization Techniques
Type
article
Field-Weighted Citation Impact
0.98

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Experience-guided, mixed-precision matrix multiplication with apache TVM for ARM processors

Sandra Catalán, Enrique S. Quintana–Ort́ı, Hèctor Martínez, Adrián Castelló et al.
2 citations
The Journal of Supercomputing
Parallel Computing and Optimization Techniques
0.98
article

Experience-guided, mixed-precision matrix multiplication with apache TVM for ARM processors

Sandra Catalán, Enrique S. Quintana–Ort́ı, Hèctor Martínez, Adrián Castelló, Francisco D. Igual
article en
2 citations

Abstract

Abstract Deep learning (DL) generates new computational tasks that are different from those encountered in classical scientific applications. In particular, DL training and inference require general matrix multiplications ( gemm ) with matrix operands that are far from large and square as in other scientific fields. In addition, DL models gain arithmetic/storage complexity, and as a result, reduced precision via quantization is now mainstream for inferring DL models in edge devices. Automatic code generation addresses these new types of gemm by (1) improving portability between different hardware with only one base code; (2) supporting mixed and reduced precision; and (3) enabling auto-tuning methods that, given a base operation, perform a (costly) optimization search for the best schedule. In this paper, we rely on Apache TVM to generate an experience-guided gemm that provides performance competitive with the TVM auto-scheduler, while reducing tuning time by a factor of 48×.

The Journal of SupercomputingVol. 81(1)
Universitat Jaume I (ES), Universidad Complutense de Madrid (ES), University of Córdoba (ES), Universitat Politècnica de València (ES)
Generalitat Valenciana, Universitat Jaume I, Ministerio de Ciencia e Innovación, Junta de Andalucía, Universitat Politècnica de València, Agencia Estatal de Investigación
Openalex Percentile: Top 23%
Parallel Computing and Optimization Techniques
0.98
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Experience-guided, mixed-precision matrix multiplication with apache TVM for ARM processors — Sandra Catalán, Enrique S. Quintana–Ort́ı, et al. · The Journal of Supercomputing (2024) | TGRS Research Map | TGRS