paper-with-me

Papers

Kraken: Inherently Parallel Transformers For Efficient Multi-Device Inference

2024-08-14 · Rohan Baskar Prabhakar, Hengrui Zhang, David Wentzlaff

Large Transformer networks are increasingly used in settings where low inference latency can improve the end-user experience and enable new applications. However, autoregressive inference is resource intensive and requires parallelism for efficiency. Parallelism introduces collective communication that is both expensive and represents a phase when hardware resources are underutilized. Towards mitigating this, Kraken is an evolution of the standard Transformer architecture that is designed to complement existing tensor parallelism schemes for efficient inference on multi-device systems. By introducing a fixed degree of intra-layer model parallelism, the architecture allows collective operations to be overlapped with compute, decreasing latency and increasing hardware utilization. When trained on OpenWebText, Kraken models reach a similar perplexity as standard Transformers while also preserving their language modeling capabilities when evaluated on the SuperGLUE benchmark. Importantly, when tested on multi-GPU systems using TensorRT-LLM engines, Kraken speeds up Time To First Token by a mean of 35.6% across a range of model sizes, context lengths, and degrees of tensor parallelism.

📄 PDF Abstract BibTeX arXiv:2408.07802

Code (0)

등록된 구현이 없습니다.

Tasks

GPULanguage ModelingLanguage Modelling

Methods 이 논문이 사용한 방법론

Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Multi-Head Attention 설명 없음
Attention 설명 없음
Position-Wise Feed-Forward Layer 설명 없음
Adam 설명 없음
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
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 제목 키워드 기반

TeamFormer: Shallow Parallel Transformers with Progressive Approximation

2025-10-17 · Wei Wang, Xiao-Yong Wei, Qing Li arxiv

The widespread 'deeper is better' philosophy has driven the creation of architectures like ResNet and Transformer, which achieve high performance by stacking numerous layers. However, increasing model depth comes with ch…

Model Compression

SOLAS: Superpositioning an Optical Lens in Automotive Simulation

2025-01-16 · Daniel Jakab, Julian Barthel, Alexander Braun, Reenu Mohandas 외

Automotive Simulation is a potentially cost-effective strategy to identify and test corner case scenarios in automotive perception. Recent work has shown a significant shift in creating realistic synthetic data for road …

Kraken: enabling joint trajectory prediction by utilizing Mode Transformer and Greedy Mode Processing

2023-12-08 · Daniil S. Antonenko, Stepan Konev, Yuriy Biktairov, Boris Yangel

Accurate and reliable motion prediction is essential for safe urban autonomy. The most prominent motion prediction approaches are based on modeling the distribution of possible future trajectories of each actor in autono…

Diversitymotion predictionPredictionTrajectory Prediction

KrakeN: N-ary Facts in Open Information Extraction

2012-06-01 · WS 2012 6 · Alan Akbik, Alex L{\"o}ser, er
Open Information ExtractionSemantic Role Labeling

On the Reasoning Abilities of Masked Diffusion Language Models

2025-10-15 · Anej Svete, Ashish Sabharwal arxiv

Masked diffusion models (MDMs) for text offer a compelling alternative to traditional autoregressive language models. Parallel generation makes them efficient, but their computational capabilities and the limitations inh…