Pith. sign in

REVIEW 2 cited by

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

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2311.02103 v2 pith:54TZC6SA submitted 2023-11-01 cs.LG cs.AIcs.PL

classification cs.LGcs.AIcs.PL
keywords dynamicrelaxmodelsshapeacrossemergingend-to-endlearning
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

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.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. ATiM: Autotuning Tensor Programs for Processing-in-DRAM

    cs.AR 2024-12 conditional novelty 7.0 of 10

    ATiM is a TVM-based autotuning compiler for UPMEM DRAM-PIM that jointly optimizes host data distribution and per-bank kernels, with PIM-aware boundary-check elimination, achieving up to 6.18x and 8.21x speedups over h...

  2. Local deployment of large-scale music AI models on commodity hardware

    cs.SD 2024-11 conditional novelty 5.0 of 10

    The authors port the Anticipatory Music Transformer to MLC and WebLLM, run it in a browser, and measure faster-than-real-time MIDI generation on Apple silicon.

Pith tools