paper-with-me

홈 › Papers

Understanding the Performance Horizon of the Latest ML Workloads with NonGEMM Workloads

2024-04-17 · Rachid Karami, Sheng-Chun Kao, Hyoukjun Kwon

Among ML operators today, GEneralMatrix Multiplication (GEMM)-based operators are known to be key operators that build the main backbone of ML models. As their computational overhead dominates the overall execution time (e.g., 42.8% - 96.6% in our results), GEMM operators have been the prime optimization targets for fast ML inference. This led to advanced GPUs and accelerators available today, which provided significant boost in the GEMM performance compared to CPUs, aligned with the lesson from Amdahl's law. However, accelerating GEMM has significantly shifted the Amdahl's law's landscape for ML inference; due to the decreased GEMM execution time, the relative execution time of non-GEMM operators is now significant. Although the importance of non-GEMM performance is increasing, we have little knowledge about the non-GEMM performance horizon in the latest hardware platforms and models. Therefore, to guide non-GEMM-oriented optimizations, we conduct a thorough performance analysis of 17 widely adopted ML models in Hugging Face and Torchvision on workstation and data center platforms with/without GPUs. We discover that non-GEMM performance bottleneck is a considerable issue across all the platforms and models, accounting for 11.3% to 73.6% of total latency, on average. The challenge significantly aggravates when we apply quantization, which is a common model compression technique, due to the boosted GEMM performance and extra non-GEMM operators for dequantization and requantization. To provide insights into non-GEMM optimization targets, we demystify the most dominant non-GEMM operators for each model and deployment software. We also show that widely adopted optimizations such as operator fusion do not completely address the non-GEMM performance bottleneck, where non-GEMM operators still account for 15% to 48% of total latency.

📄 PDF Abstract BibTeX arXiv:2404.11788

Code (0)

등록된 구현이 없습니다.

Tasks

Model Compression

Methods 이 논문이 사용한 방법론

SPEED The monocular depth estimation (MDE) is the task of estimating depth from a single frame. This information is an essential knowledge in many computer vision tasks such as scene…

Similar Papers 제목 키워드 기반

DBA bandits: Self-driving index tuning under ad-hoc, analytical workloads with safety guarantees

2020-10-19 · R. Malinga Perera, Bastian Oetomo, Benjamin I. P. Rubinstein, Renata Borovica-Gajic

Automating physical database design has remained a long-term interest in database research due to substantial performance gains afforded by optimised structures. Despite significant progress, a majority of today's commer…

AttributeDecision MakingDecision Making Under UncertaintyMulti-Armed Bandits+1

Exploring the Dynamic Scheduling Space of Real-Time Generative AI Applications on Emerging Heterogeneous Systems

2025-07-19 · Rachid Karami, Rajeev Patwari, Hyoukjun Kwon, Ashish Sirasao arxiv

The integration of generative AI models, particularly large language models (LLMs), into real-time multi-model AI applications such as video conferencing and gaming is giving rise to a new class of workloads: real-time g…

No DBA? No regret! Multi-armed bandits for index tuning of analytical and HTAP workloads with provable guarantees

2021-08-23 · R. Malinga Perera, Bastian Oetomo, Benjamin I. P. Rubinstein, Renata Borovica-Gajic

Automating physical database design has remained a long-term interest in database research due to substantial performance gains afforded by optimised structures. Despite significant progress, a majority of today's commer…

Decision MakingDecision Making Under UncertaintyDeep Reinforcement LearningMulti-Armed Bandits+2

ChainWorld: Composing Long-Horizon Desktop Workloads from Atomic OSWorld Tasks

2026-06-19 · Vincent Siu, Manasi Sharma, Dawn Song, Daniel Yue Zhang 외 arxiv

Computer use agents are evaluated almost exclusively on atomic desktop tasks, but realistic desktop work requires sustaining state across multiple objectives. We study this gap with ChainWorld, which composes atomic OSWo…

Horizontally Fused Training Array: An Effective Hardware Utilization Squeezer for Training Novel Deep Learning Models

2021-02-03 · Shang Wang, Peiming Yang, Yuxuan Zheng, Xin Li 외

Driven by the tremendous effort in researching novel deep learning (DL) algorithms, the training cost of developing new models increases staggeringly in recent years. We analyze GPU cluster usage statistics from a top re…

GPU