Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
C

cuSZ

> DevOps
Open source

A GPU accelerated error-bounded lossy compression for scientific data.

100 stars0 likes1 views
WebsiteGitHub

About

A GPU accelerated error-bounded lossy compression for scientific data.

pSZ/cuSZ: A GPU-Based Error-Bounded Lossy Compressor for Scientific Data

pSZ/cuSZ is a GPU implementation of the seminal SZ algorithm. It is the first GPU-practical framework of error-bounded lossy compression on GPU for scientific data (c. 2020), aiming to improve SZ's throughput on heterogeneous HPC systems. pSZ/cuSZ primarily focuses on CUDA backend support, with other GPU-parallel backends in development. pSZ/cuSZ is formerly known as cuSZ, which is also the short form of its current name.

(c) 2025 by Argonne National Laboratory and Oakland University. See COPYRIGHT in the top-level directory.

  • Developers: (primary/PI) Jiannan Tian, (deployment) Robert Underwood, (cuSZ-i/Hi) Jinyang Liu, Shixun Wu, Jinwen Pan, (Huffman coding) Cody Rivera, (administrative PIs) Sheng Di, Franck Cappello.
  • Contributors (alphabetic): Jon Calhoun, Wenyu Gai, Megan Hickman Fulp, Xin Liang, Kai Zhao.
  • Special thanks to Dingwen Tao for advising this project from 2020 to 2024.
  • Special thanks to Dominique LaSalle (NVIDIA) for serving as a Mentor in the Argonne GPU Hackathon 2021.

build from source code    |    use as a command-line tool    |    API reference

Kindly note: If you mention pSZ/cuSZ in your paper, please refer to the detail below.

FAQ

There are technical differences between CPU-SZ and pSZ/cuSZ, please refer to our academic papers for more information.

How do SZ and pSZ/cuSZ work?

The prediction-based SZ algorithm comprises four major parts,

  1. User specifies error-mode (e.g., absolute value (abs), or relative to data value magnitude (r2r) and error-bound.
  2. Prediction errors are quantized in units of input error-bound (quant-code). Range-limited quant-codes are stored, whereas the out-of-range codes are otherwise gathered as outlier.
  3. The in-range quant-codes are fed into a Huffman encoder. A Huffman symbol may be represented in multiple bytes.
  4. (CPU-only) An additional DEFLATE method is applied to exploit repeated patterns. As of CLUSTER '21 cuSZ+ work, an RLE method performs a similar pattern-exploiting.

How does cuSZ evolve over the years?

cuSZ and its variants use variable techniques to balance the need for data-reconstruction quality, compression ratio, and data-processing speed. A quick comparison is given below.

Notably, cuSZ (Tian et al., '20, '21) as the basic framework provides a balanced compression ratio and quality, while FZ-GPU (Zhang, Tian et al., '23) and SZp-CUDA/GSZ (Huang et al., '23, '24) prioritize data processing speed. cuSZ+ (hi-ratio) is an outcome of data compressibility research to demonstrate that certain methods (e.g., RLE) can work better in highly compressible cases (Tian et al., '21). The latest art, cuSZ-i (Liu, Tian, Wu et al., '24), attempts to utilize the QoZ-like methods (Liu et al., '22) to significantly enhance the data-reconstruction quality and the compression ratio.

…

What datasets are used?

We tested cuSZ using datasets from Scientific Data Reduction Benchmarks (SDRBench).

dataset dim. description
EXAALT 1D molecular dynamics simulation
HACC 1D cosmology: particle simulation
CESM-ATM 2D climate simulation
EXAFEL 2D images from the LCLS instrument
Hurricane ISABEL 3D weather simulation
NYX 3D adaptive mesh hydrodynamics + N-body cosmological simulation

We provide three small sample data in data by executing the script there. To download more SDRBench datasets, please use script/sh.download-sdrb-data.

Cite pSZ/cuSZ

Our published papers cover the essential design and implementation. If you mention cuSZ in your paper, please kindly cite using \cite{tian2020cusz,tian2021cuszplus,liu_tian_wu2024cuszi,wu_pan2025cuszhi} and the BibTeX entries below (or standalone .bib file).

  1. The PACT '20: cuSZ paper ( local copy | ACM | arXiv ) covers
    • Basic framework: (fine-grained) N-D prediction-based error-controling "construction" + (coarse-grained) lossless encoding
  2. The CLUSTER '21: cuSZ+ paper ( local copy | IEEE | arXiv ) covers
    • Optimization in throughput, featuring fine-grained N-D "reconstruction"
    • Optimization in compression ratio, when data is deemed as "smooth"
  3. The SC '24: cuSZ-i paper ( local copy | IEEE | arXiv ) covers
    • Spline-interpolation-based high-ratio data compression and high-quality data reconstruction
    • Compresion-ratio boost from incorporating the synergetic lossless encoding
  4. The SC '25: cuSZ-Hi work (ACM | arxiv covers)
    • The improved compression ratio by utilizing the LC framework, a lossless codec composer authored by the research team led by Dr. Martin Burtscher.
    • HiTP and HiCR modes are provided to further push the boundary of achievable rate-distortion on top of cuSZ-i.
…

Acknowledgements

This R&D is supported by the Exascale Computing Project (ECP), Project Number: 17-SC-20-SC, a collaborative effort of two DOE organizations – the Office of Science and the National Nuclear Security Administration, responsible for the planning and preparation of a capable exascale ecosystem. This repository is based upon work supported by the U.S. Department of Energy, Office of Science, under contract DE-AC02-06CH11357, and also supported by the National Science Foundation under Grants CSSI/OAC #2104023/#2247080, OAC #2247060, and CSSI/OAC #2311875/#2311876.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C++cudadata-reductiongpulossy-compression

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
CategoryDevOps
PricingOpen source

> Related tools

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理