QuanTaichi: a compiler for quantized simulations
Yuanming Hu, Jiafeng Liu, Xuanda Yang, Mingkuan Xu, Ye Kuang, Weiwei Xu, Qiang Dai, William T. Freeman, Frédo Durand
摘要
High-resolution simulations can deliver great visual quality, but they are often limited by available memory, especially on GPUs. We present a compiler for physical simulation that can achieve both high performance and significantly reduced memory costs, by enabling flexible and aggressive quantization. Low-precision ("quantized") numerical data types are used and packed to represent simulation states, leading to reduced memory space and bandwidth consumption. Quantized simulation allows higher resolution simulation with less memory, which is especially attractive on GPUs. Implementing a quantized simulator that has high performance and packs the data tightly for aggressive storage reduction would be extremely labor-intensive and error-prone using a traditional programming language. To make the creation of quantized simulation practical, we have developed a new set of language abstractions and a compilation system. A suite of tailored domain-specific optimizations ensure quantized simulators often run as fast as the full-precision simulators, despite the overhead of encoding-decoding the packed quantized data types. Our programming language and compiler, based on Taichi , allow developers to effortlessly switch between different full-precision and quantized simulators, to explore the full design space of quantization schemes, and ultimately to achieve a good balance between space and precision. The creation of quantized simulation with our system has large benefits in terms of memory consumption and performance, on a variety of hardware, from mobile devices to workstations with high-end GPUs. We can simulate with levels of resolution that were previously only achievable on systems with much more memory, such as multiple GPUs. For example, on a single GPU, we can simulate a Game of Life with 20 billion cells (8× compression per pixel), an Eulerian fluid system with 421 million active voxels (1.6× compression per voxel), and a hybrid Eulerian-Lagrangian elastic object simulation with 235 million particles (1.7× compression per particle). At the same time, quantized simulations create physically plausible results. Our quantization techniques are complementary to existing acceleration approaches of physical simulation: they can be used in combination with these existing approaches, such as sparse data structures, for even higher scalability and performance.
问问这篇 Paper
智能体会读完全文。
Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。
引用它的顶会 Paper8
- Seeing the Wind from a Falling LeafZhiyuan Gao, Jiageng Mao, Hong-Xing Yu, Haozhe Lou 等NeurIPS 2025 · 被引用 10 次
- Fast Instruction Selection for Fast Digital Signal ProcessingAlexander J. Root, Maaz Bin Safeer Ahmad, Dillon Sharlet, Andrew Adams 等ASPLOS 2023 · 被引用 7 次
- Unified many-worlds browsing of arbitrary physics-based animationsPurvi Goel, Doug L. JamesSIGGRAPH 2022 · 被引用 3 次
- Cross-Spectral Gaussian Splatting with Spatial Occupancy ConsistencyHaipeng Guo, Huanyu Liu, Jiazheng Wen, Junbao LiAAAI 2025 · 被引用 1 次
- Decoupling Data Layouts from Bounding Volume HierarchiesChristophe Gyurgyik, Alexander J. Root, Fredrik KjolstadPLDI 2026
它引用的顶会 Paper3
- DiffTaichi: Differentiable Programming for Physical SimulationYuanming Hu, Luke Anderson, Tzu-Mao Li, Qi Sun 等ICLR 2020 · 被引用 479 次
- PlasticineLab: A Soft-Body Manipulation Benchmark with Differentiable PhysicsZhiao Huang, Yuanming Hu, Tao Du, Siyuan Zhou 等ICLR 2021 · 被引用 164 次
- A massively parallel and scalable multi-CPU material point methodXinlei Wang, Yuxing Qiu, Stuart R. Slattery, Yu Fang 等SIGGRAPH 2020 · 被引用 82 次
相关 Paper
- Automatic quantization for physics-based simulationJiafeng Liu, Haoyang Shi, Siyuan Zhang, Yin Yang 等SIGGRAPH 2022
- GPU-based simulation of cloth wrinkles at submillimeter levelsHuamin WangSIGGRAPH 2021 · 被引用 115 次
- Tilus: A Tile-Level GPGPU Programming Language for Low-Precision ComputationYaoyao Ding, Bohan Hou, Xiao Zhang, Allan Lin 等ASPLOS 2026 · 被引用 1 次
- MISA-AKMC : Achieve Kinetic Monte Carlo Simulation of 20 Quadrillion Atoms on GPU ClustersShunde Li, Zhijie Pan, Ningming Nie, Jue Wang 等SC 2025 · 被引用 1 次
- PRISM: An Efficient GPU-Based Lossy Compression Framework for Progressive Data Retrieval with Multi-Level InterpolationBing Lu, Zedong Liu, Hairui Zhao, Dejun Luo 等PPoPP 2026 · 被引用 2 次
