paper-with-me

홈 › Papers

Accelerating Sparse Matrix Operations in Neural Networks on Graphics Processing Units

2019-07-01 · ACL 2019 7 · Arturo Argueta, David Chiang

Graphics Processing Units (GPUs) are commonly used to train and evaluate neural networks efficiently. While previous work in deep learning has focused on accelerating operations on dense matrices/tensors on GPUs, efforts have concentrated on operations involving sparse data structures. Operations using sparse structures are common in natural language models at the input and output layers, because these models operate on sequences over discrete alphabets. We present two new GPU algorithms: one at the input layer, for multiplying a matrix by a few-hot vector (generalizing the more common operation of multiplication by a one-hot vector) and one at the output layer, for a fused softmax and top-N selection (commonly used in beam search). Our methods achieve speedups over state-of-the-art parallel GPU baselines of up to 7x and 50x, respectively. We also illustrate how our methods scale on different GPU architectures.

📄 PDF Abstract BibTeX

Code (0)

등록된 구현이 없습니다.

Tasks

GPU

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…

Similar Papers 제목 키워드 기반

iSpLib: A Library for Accelerating Graph Neural Networks using Auto-tuned Sparse Operations

2024-03-21 · Md Saidul Hoque Anik, Pranav Badhe, Rohit Gampa, Ariful Azad

Core computations in Graph Neural Network (GNN) training and inference are often mapped to sparse matrix operations such as sparse-dense matrix multiplication (SpMM). These sparse operations are harder to optimize by man…

CPUGraph Neural Network

LANCE: Efficient Low-Precision Quantized Winograd Convolution for Neural Networks Based on Graphics Processing Units

2020-03-19 · Guangli Li, Lei Liu, Xueying Wang, Xiu Ma 외

Accelerating deep convolutional neural networks has become an active topic and sparked an interest in academia and industry. In this paper, we propose an efficient low-precision quantized Winograd convolution algorithm, …

image-classificationImage ClassificationQuantization

GFormer: Accelerating Large Language Models with Optimized Transformers on Gaudi Processors

2024-12-19 · Chengming Zhang, Xinheng Ding, Baixi Sun, Xiaodong Yu 외

Heterogeneous hardware like Gaudi processor has been developed to enhance computations, especially matrix operations for Transformer-based large language models (LLMs) for generative AI tasks. However, our analysis indic…

MME

PIM-DRAM: Accelerating Machine Learning Workloads using Processing in Commodity DRAM

2021-05-08 · Sourjya Roy, Mustafa Ali, Anand Raghunathan

Deep Neural Networks (DNNs) have transformed the field of machine learning and are widely deployed in many applications involving image, video, speech and natural language processing. The increasing compute demands of DN…

BIG-bench Machine LearningGPUMedical Diagnosis

Harnessing Manycore Processors with Distributed Memory for Accelerated Training of Sparse and Recurrent Models

2023-11-07 · Jan Finkbeiner, Thomas Gmeinder, Mark Pupilli, Alexander Titterton 외

Current AI training infrastructure is dominated by single instruction multiple data (SIMD) and systolic array architectures, such as Graphics Processing Units (GPUs) and Tensor Processing Units (TPUs), that excel at acce…

Efficient Neural Network