mlsanityData to 14 Oct 2026

DeepContext: A Context-aware, Cross-platform, and Cross-framework Tool for Performance Profiling and Analysis of Deep Learning Workloads

arXiv 2411.02797 ↗First posted 5 Nov 2024cs.PF cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Effective performance profiling and analysis are essential for optimizing training and inference of deep learning models, especially given the growing complexity of heterogeneous computing environments. However, existing tools often lack the capability to provide comprehensive program context information and performance optimization insights for sophisticated interactions between CPUs and GPUs. This paper introduces DeepContext, a novel profiler that links program contexts across high-level Python code, deep learning frameworks, underlying libraries written in C/C++, as well as device code executed on GPUs. DeepContext incorporates measurements of both coarse- and fine-grained performance metrics for major deep learning frameworks, such as PyTorch and JAX, and is compatible with GPUs from both Nvidia and AMD, as well as various CPU architectures, including x86 and ARM. In addition, DeepContext integrates a novel GUI that allows users to quickly identify hotpots and an innovative automated performance analyzer that suggests users with potential optimizations based on performance metrics and program context. Through detailed use cases, we demonstrate how DeepContext can help users identify and analyze performance issues to enable quick and effective optimization of deep learning workloads. We believe Deep Context is a valuable tool for users seeking to optimize complex deep learning workflows across multiple compute environments.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 20 of its 60 references that are in the map. First posted on arXiv 5 Nov 2024.

Builds on

20 of 60 references.

References · 20

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  4. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  5. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,713
  6. 2023GPT-4 Technical Reportcited by 18,396
  7. 2024The Llama 3 Herd of Modelscited by 14,715
  8. 2020Scaling Laws for Neural Language Modelscited by 6,586
  9. 2022Scalable Diffusion Models with Transformerscited by 6,054
  10. 2022Training Compute-Optimal Large Language Modelscited by 3,019
  11. 2020Open Graph Benchmark: Datasets for Machine Learning on Graphscited by 2,163
  12. 2020Conformer: Convolution-augmented Transformer for Speech Recognitioncited by 1,863
8 more
  1. 2018Relational inductive biases, deep learning, and graph networkscited by 1,360
  2. 2018fastMRI: An Open Dataset and Benchmarks for Accelerated MRIcited by 470
  3. 2019Deep Learning Recommendation Model for Personalization and Recommendation Systemscited by 327
  4. 2021RL-Scope: Cross-Stack Profiling for Deep Reinforcement Learning Workloadscited by 5
  5. 2020Skyline: Interactive In-Editor Computational Performance Profiling for Deep Neural Network Trainingcited by 3
  6. 2020GPA: A GPU Performance Advisor Based on Instruction Samplingcited by 3
  7. 2020Scalene: Scripting-Language Aware Profiling for Pythoncited by 2
  8. 2021Measurement and Analysis of GPU-accelerated Applications with HPCToolkitcited by 2

Built on by

Not cited yet.