paper-with-me

홈 › Papers

AutoChunk: Automated Activation Chunk for Memory-Efficient Long Sequence Inference

2024-01-19 · Xuanlei Zhao, Shenggan Cheng, Guangyang Lu, Jiarui Fang, Haotian Zhou, Bin Jia, Ziming Liu, Yang You

Large deep learning models have achieved impressive performance across a range of applications. However, their large memory requirements, including parameter memory and activation memory, have become a significant challenge for their practical serving. While existing methods mainly address parameter memory, the importance of activation memory has been overlooked. Especially for long input sequences, activation memory is expected to experience a significant exponential growth as the length of sequences increases. In this approach, we propose AutoChunk, an automatic and adaptive compiler system that efficiently reduces activation memory for long sequence inference by chunk strategies. The proposed system generates chunk plans by optimizing through multiple stages. In each stage, the chunk search pass explores all possible chunk candidates and the chunk selection pass identifies the optimal one. At runtime, AutoChunk employs code generation to automatically apply chunk strategies. The experiments demonstrate that AutoChunk can reduce over 80\% of activation memory while maintaining speed loss within 10%, extend max sequence length by 3.2x to 11.7x, and outperform state-of-the-art methods by a large margin.

📄 PDF Abstract BibTeX arXiv:2401.10652

Code (0)

등록된 구현이 없습니다.

Tasks

Code Generation

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 제목 키워드 기반

FastFold: Reducing AlphaFold Training Time from 11 Days to 67 Hours

2022-03-02 · Shenggan Cheng, Xuanlei Zhao, Guangyang Lu, Jiarui Fang 외

Protein structure prediction helps to understand gene translation and protein function, which is of growing interest and importance in structural biology. The AlphaFold model, which used transformer architecture to achie…

Protein Structure PredictionTranslation

Untied Ulysses: Memory-Efficient Context Parallelism via Headwise Chunking

2026-02-24 · Ravi Ghadia, Maksim Abraham, Sergei Vorobyov, Max Ryabinin arxiv

Efficiently processing long sequences with Transformer models usually requires splitting the computations across accelerators via context parallelism. The dominant approaches in this family of methods, such as Ring Atten…

Fast Spatial Memory with Elastic Test-Time Training

2026-04-08 · Ziqiao Ma, Xueyang Yu, Haoyu Zhen, Yuncong Yang 외 arxiv

Large Chunk Test-Time Training (LaCT) has shown strong performance on long-context 3D reconstruction, but its fully plastic inference-time updates remain vulnerable to catastrophic forgetting and overfitting. As a result…

3D Reconstruction

Training Long-Context LLMs Efficiently via Chunk-wise Optimization

2025-05-22 · Wenhao Li, Yuxin Zhang, Gen Luo, Daohai Yu 외

While long-context large language models (LLMs) exhibit remarkable document processing capabilities, their prohibitively high training costs often hinder customized applications. To mitigate this issue, we propose \texti…

16kGPU

VLM in a flash: I/O-Efficient Sparsification of Vision-Language Model via Neuron Chunking

2025-11-24 · Kichang Yang, Seonjun Kim, Minjae Kim, Nairan Zhang 외 arxiv

Edge deployment of large Vision-Language Models (VLMs) increasingly relies on flash-based weight offloading, where activation sparsification is used to reduce I/O overhead. However, conventional sparsification remains mo…