paper-with-me

홈 › Papers

Relax: Composable Abstractions for End-to-End Dynamic Machine Learning

2023-11-01 · Ruihang Lai, Junru Shao, Siyuan Feng, Steven S. Lyubomirsky, Bohan Hou, Wuwei Lin, Zihao Ye, Hongyi Jin, Yuchen Jin, Jiawei Liu, Lesheng Jin, Yaxing Cai, Ziheng Jiang, Yong Wu, Sunghyun Park, Prakalp Srivastava, Jared G. Roesch, Todd C. Mowry, Tianqi Chen

Dynamic shape computations have become critical in modern machine learning workloads, especially in emerging large language models. The success of these models has driven the demand for their universal deployment across a diverse set of backend environments. In this paper, we present Relax, a compiler abstraction for optimizing end-to-end dynamic machine learning workloads. Relax introduces a cross-level abstraction that encapsulates computational graphs, loop-level tensor programs, and external library calls in a single representation. Relax also introduces first-class symbolic shape annotations to track dynamic shape computations globally across the program, enabling dynamic shape-aware cross-level optimizations. We build an end-to-end compilation framework using the proposed approach to optimize dynamic shape models. Experimental results on LLMs show that Relax delivers performance competitive with state-of-the-art systems across various GPUs and enables deployment of emerging models to a broader set of emerging environments, including mobile phones, embedded devices, and web browsers.

📄 PDF Abstract BibTeX arXiv:2311.02103

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically
Library 설명 없음

Similar Papers 제목 키워드 기반

Exactness of Approximate MAP Inference in Continuous MRFs

2015-12-01 · NeurIPS 2015 12 · Nicholas Ruozzi

Computing the MAP assignment in graphical models is generally intractable. As a result, for discrete graphical models, the MAP problem is often approximated using linear programming relaxations. Much research has focus…

SparseTIR: Composable Abstractions for Sparse Compilation in Deep Learning

2022-07-11 · Zihao Ye, Ruihang Lai, Junru Shao, Tianqi Chen 외

Sparse tensors are rapidly becoming critical components of modern deep learning workloads. However, developing high-performance sparse operators can be difficult and tedious, and existing vendor libraries cannot satisfy …

Deep Learning

Solving Reasoning Tasks with a Slot Transformer

2022-10-20 · Ryan Faulkner, Daniel Zoran

The ability to carve the world into useful abstractions in order to reason about time and space is a crucial component of intelligence. In order to successfully perceive and act effectively using senses we must parse and…

Representation LearningVariational Inference

From Abstractions to Grounded Languages for Robust Coordination of Task Planning Robots

2019-05-01 · Yu Zhang

In this paper, we consider a first step to bridge a gap in coordinating task planning robots. Specifically, we study the automatic construction of languages that are maximally flexible while being sufficiently explicativ…

Multi-Agent Path FindingTask Planning

FMTK: A Modular Toolkit for Composable Time Series Foundation Model Pipelines

2025-11-30 · Hetvi Shastri, Pragya Sharma, Walid A. Hanafy, Mani Srivastava 외 arxiv

Foundation models (FMs) have opened new avenues for machine learning applications due to their ability to adapt to new and unseen tasks with minimal or no further training. Time-series foundation models (TSFMs) -- FMs tr…