Streaming Tensor Programs: A Streaming Abstraction for Dynamic Parallelism | Proceedings of the 31st ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 2
Open Access
- 22 March 2026
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 1912-1932
Abstract
Dynamic behaviors are becoming prevalent in tensor applications, like machine learning, where many widely used models contain data-dependent tensor shapes and control flow. However, the limited expressiveness of prior programming abstractions for spatial dataflow accelerators (SDAs) forces these dynamic behaviors to be implemented statically and/or unoptimized. To address these challenges, we present Streaming Tensor Programs (STeP), a streaming abstraction that enables dynamic tensor workloads to run efficiently on SDAs. STeP introduces flexible routing operators, an explicit memory hierarchy, and symbolic-shape semantics that expose dynamic data rates and tensor dimensions. These capabilities unlock new optimizations, like dynamic tiling, dynamic parallelization, and configuration time-multiplexing, that adapt SDA execution to dynamic behaviors while preserving dataflow efficiency. Using a cycle-approximate simulator on representative LLM layers and a full model with real-world traces, STeP enables: dynamic tiling that breaks the Pareto-optimal frontier from prior work, dynamic parallelization that improves latency by ~2.72x, and configuration time-multiplexing that increases compute utilization by ~2.64x over prior SDA abstractions and their implementations.Keywords
All Related Versions
Funding Information
- NSF (National Science Foundation) (NSF Graduate Research Fellowship Program (NSF GRFP))
- Stanford University (Stanford Graduate Fellowship (SGF))
- Defense Advanced Research Projects Agency (HR00112520038)
- Naval Surface Warfare Center (N00164-23-9-G057-01)
- Stanford University (Stanford Data Analytics for What’s Next (DAWN) Affiliate Program)
This publication has 24 references indexed in Scilit:
- DynamoLLM: Designing LLM Inference Clusters for Performance and Energy Efficiency2025
- SambaNova SN40L RDU: Breaking the Barrier of Trillion+ Parameter Scale Gen AI Computing2024
- The Dataflow Abstract Machine Simulator Framework2024
- Splitwise: Efficient Generative LLM Inference Using Phase Splitting2024
- Revet: A Language and Compiler for Dataflow Threads2024
- SambaNova SN10 RDU: A 7nm Dataflow Architecture to Accelerate Software 2.02022
- Aurochs: An Architecture for Dataflow Threads2021
- SARA: Scaling a Reconfigurable Dataflow Accelerator2021
- Gorgon: Accelerating Machine Learning from Relational Data2020
- FIST: A Feature-Importance Sampling and Tree-Based Method for Automatic Design Flow Parameter Tuning2020