|
FZGPUModules 2.0
GPU-accelerated modular compression pipelines
|
FZGPUModules builds on algorithms and GPU kernels from several open-source scientific compression projects. This page documents what we took from each, how we adapted it, and the associated licenses and citations.
For full verbatim copyright notices required by BSD-3-Clause binary redistribution, see Third-party notices.
| Project | License | Relationship | Stages |
|---|---|---|---|
| LC framework | BSD-3-Clause | Direct port / algorithm-faithful reimpl | RZEStage, RREStage, RAREStage, RAZEStage, CLOGStage, HCLOGStage, BitshuffleStage, TUPLStage, DifferenceStage, QuantizerStage |
| cuSZ | BSD-3-Clause | Algorithm follow / vendored Huffman sources | LorenzoQuantStage, HuffmanStage |
| FZ-GPU | BSD-3-Clause | Direct port of fused kernels | BitplaneRZEStage |
| cuSZ-Hi | BSD-3-Clause | Adapted spline kernels | GInterpStage |
| cuSZp / cuSZp2 / cuSZp3 | BSD-3-Clause | Direct kernel port (AdaptiveBitpackStage, TiledLorenzoStage) + algorithmic reimpl (LorenzoStage block, QuantizerStage linear) | AdaptiveBitpackStage, TiledLorenzoStage |
| dietGPU | MIT | Vendored headers | ANSStage |
| GPULZ | None declared upstream | Substantially rewritten derivative | GPULZStage |
| AIZ_VLDB26 | None declared upstream | Adapted optimization | GPULZStage all-zero-chunk fast path |
| FSZ | BSD-3-Clause | Algorithmic attribution only; no code used (written from the paper before FSZ 1.0.0 was released) | AdaptiveLorenzoStage, LorenzoStage centering / order-2, LorenzoQuantStage centering |
| Point-wise relative transform | n/a — paper only | Algorithmic attribution only; no code used | LogTransformStage |
| ROIBIN-SZ | SZ2 BSD-style license; no code copied | Algorithmic attribution only; independent GPU/DAG implementation | ROIBinSplitStage |
| SZp / fZ-light | MIT | GPU reimplementation; no source copied | szp_composed.toml |
Repository: https://github.com/burtscher/LC-framework
License: BSD-3-Clause
Authors: Noushin Azami, Alex Fallin, Brandon Burtchell, Andrew Rodriguez, Benila Jerald, Yiqian Liu, Anju Mongandampulath Akathoott, and Martin Burtscher (Texas State University)
Funding: U.S. Department of Energy, Office of Science, ASCR, contract DE-SC0022223
Stages:
Repository: https://github.com/szcompressor/cuSZ
License: BSD-3-Clause
Authors/Affiliations: cuSZ team — UChicago Argonne LLC, Washington State University, Indiana University, University of Kentucky, Oakland University (see copyright notices in THIRD_PARTY.md for year-by-year breakdown)
Stages:
Citation:
Jiannan Tian, Sheng Di, Xiaodong Yu, Cody Rivera, Kai Zhao, Shixun Wu, Algis Averbuch, Jon Calhoun, Dingwen Tao, Franck Cappello. pSZ/cuSZ: A GPU-Based Error-Bounded Lossy Compressor for Scientific Data. SC '21. https://doi.org/10.1145/3458817.3476173
Repository: https://github.com/szcompressor/cuSZ (vendored under modules/codec/fzg/)
License: BSD-3-Clause (same as cuSZ)
Original authors: Boyuan Zhang (kernel), Jiannan Tian (refactor)
Stages:
BitplaneRZEStage (modules/fused/bitplane_rze/) — the fused bitplane-transpose + zero-group encode/decode kernels (bitplane_rze_encode.inl, bitplane_rze_decode.inl) are adapted from KERNEL_CUHIP_fz_fused_encode / KERNEL_CUHIP_fz_fused_decode as vendored in origin/v1.1.0_dev of cuSZ.
Changes from original: namespace fzgpu → namespace fz::bitplane_rze; err.hh / CHECK_GPU stripped; fzgpu::Buf allocation replaced by FZGPUModules MemoryPool; the 128-byte fzg_header is reproduced as ArchiveHeader. Kernel bodies preserved verbatim. Host-side wrapper and memory-pool integration are FZGPUModules code.
Citation:
Boyuan Zhang, Jiannan Tian, Sheng Di, Xiaodong Yu, Yunhe Feng, Xin Liang, Dingwen Tao, Franck Cappello. FZ-GPU: A Fast and High-Ratio Lossy Compressor for Scientific Computing Applications on GPUs. HPDC '23. https://doi.org/10.1145/3588195.3592994
Repository: https://github.com/shixun404/cuSZ-Hi
License: BSD-3-Clause
Upstream copyright holder: UChicago Argonne, LLC and Washington State University
Stages:
GInterpStage (modules/fused/ginterp/) — the multi-level spline interpolation kernels are adapted from spline3.cu and spline3_md.inl.
Changes from original: namespace cusz → namespace fz::ginterp; err.hh / timer.hh includes stripped; pszmem_cxx<T> buffer abstraction replaced by raw device pointers via FZGPUModules MemoryPool; CompactDram outlier triplet replaced by separate outlier_vals / outlier_idxs / outlier_count output ports; minimal cusz_type_subset.h reproduces only INTERPOLATION_PARAMS and u4 from upstream cusz/type.h. Host-side wrapper, memory-pool integration, radius auto-tune, and all five auto-tune modes are FZGPUModules code.
Bug fix patched locally: pa_spline_infprecis_data's SPLINE_DIM==2 level==0 atomic offset corrected from errors + 15 + BIY (upstream) to errors + 16 + BIY to avoid a slot collision with the level==1 BIY=4 write. Full analysis is in GInterpStage documentation.
Citation:
Shixun Wu, Jinwen Pan, Jinyang Liu, Jiannan Tian, Ziwei Qiu, Jiajun Huang, Kai Zhao, Xin Liang, Sheng Di, Zizhong Chen, Franck Cappello. Boosting Scientific Error-Bounded Lossy Compression through Optimized Synergistic Lossy-Lossless Orchestration (cuSZ-Hi). SC '25. https://doi.org/10.1145/3712285.3759798
Repository: https://github.com/szcompressor/cuSZp
License: BSD-3-Clause (verbatim copyright reproduced in THIRD_PARTY.md)
Authors/Affiliations: Yafan Huang, Sheng Di, Guanpeng Li, Franck Cappello (Argonne National Laboratory / University of Iowa)
Mixed relationship: two stages contain direct ports of cuSZp kernel source (AdaptiveBitpackStage, TiledLorenzoStage); two are independent reimplementations with no source copied (LorenzoStage block mode, QuantizerStage linear mode).
Stages:
cuSZp3's memory-efficient compression and selective decompression features are not ported; they don't map cleanly onto the staged pipeline model.
Citations:
Yafan Huang, Sheng Di, Xiaodong Yu, Guanpeng Li, Franck Cappello. cuSZp: An Ultra-fast GPU Error-bounded Lossy Compression Framework with Optimized End-to-End Performance. SC '23. https://doi.org/10.1145/3581784.3607048
Yafan Huang, Sheng Di, Guanpeng Li, Franck Cappello. cuSZp2: A GPU Lossy Compressor with Extreme Throughput and Optimized Compression Ratio. SC '24.
Yafan Huang, Sheng Di, Guanpeng Li, Franck Cappello. GPU Lossy Compression for HPC Can Be Versatile and Ultra-Fast (cuSZp3 / VGC). SC '25. https://doi.org/10.1145/3712285.3759817
Repository: https://github.com/facebookresearch/dietgpu
License: MIT
Authors: Meta Platforms, Inc. and affiliates
Stages:
ANSStage (modules/coders/ans/) — the rANS kernel headers (GpuANSCodec.h, GpuANSEncode.h, GpuANSDecode.h, GpuANSStatistics.h, BatchPrefixSum.h, and utils/) are vendored copies placed under modules/coders/ans/dietgpu/.
Changes from original: histogramBatch/histogramSingle functions in GpuANSStatistics.h removed and replaced by the shared fz::module::GPU_histogram_generic<uint8_t> utility; namespace multibyte_ans adapted to fz::ans. All other kernel logic is unchanged from the original.
Repository: https://github.com/hpdps-group/ICS23-GPULZ License: none declared upstream — see the caveat below Copyright notice: (C) 2023 by Indiana University and Argonne National Laboratory. Authors: Boyuan Zhang, Jiannan Tian, Sheng Di, Xiaodong Yu, Martin Swany, Dingwen Tao, Franck Cappello Paper: "GPULZ: Optimizing LZSS Lossless Compression for Multi-byte Data on Modern GPUs", ICS '23
Stages:
GPULZStage (modules/coders/gpulz/) — a substantially rewritten derivative of upstream gpulz.cu. It retains compressKernelI's per-chunk flag-bitmap/token stream grammar and sequential literal/match parse. Its exact/hashed match search, block prefix sum, staged writes, and block-parallel decoder are FZGPUModules implementations; the decoder no longer follows upstream's single-thread decompressKernel.
The per-chunk container format (raw-fallback flag, CUB exclusive-scan packing offsets, deferred tail-size readback via postStreamSync()) is FZGPUModules' own, following the same pattern as RREStage/RZEStage. Upstream's separate flag/data pack-out step (compressKernelIII) is folded into FZGPUModules' gpulzPackKernel. Split mode (emitting literals, lengths, offsets, and metadata as separate output ports) has no upstream counterpart.
License caveat: the upstream repository publishes no LICENSE file and declares no license. Its README copyright notice does not grant redistribution permission. Anyone redistributing FZGPUModules with GPULZStage should obtain permission or licensing terms from the GPULZ copyright holders first.
Repository: https://github.com/boyuanzhang62/AIZ_VLDB26 License: none declared upstream — same situation as GPULZ above Author: Boyuan Zhang
Stages:
GPULZStage all-zero-chunk fast path (modules/coders/gpulz/) — skipping the match search and the flag/data encode entirely for chunks that are wholly zero, gated on a warp-vote check, is adapted from the notEmptyFlagArr optimization in the "sparse" GPULZ variant at test/gpulz.cuh upstream.
Changes from original: retargeted to GPULZStage's compile-time-templated kernel structure, using fz::backend::anySync32 for the warp vote and FZGPUModules' own container format — empty chunks are marked with a (flag_size=0, data_size=0) sentinel, distinct from the raw-fallback sentinel, and the corresponding output span is zero-filled on decode.
License: BSD-3-Clause (FSZ 1.0.0, released 2026-08). Repository: https://github.com/JiajunHuang1999/FSZ Author: Jiajun Huang (University of South Florida) Paper: "FSZ: Breaking the Prediction-Throughput Trade-off in GPU Lossy Compression", SC '26, arXiv:2607.15413
Relationship: algorithmic attribution only — no code was used. These stages were written from the paper's description alone, before any source release existed. FSZ 1.0.0 was published afterwards, on 2026-08; it has not been consulted for implementation, only used as a reference build for validation (see below).
Validated against the reference implementation (2026-08-07, H100, 20 cells). The reconstruction is faithful: PSNR is identical to the reference on every cell, and the bitpacked payload is byte-for-byte the same size (4,277,784 B on NYX/baryon_density), so the two make identical per-tile decisions. Compression ratio is 0.9928 of the reference (geomean), and 99.6% of that deficit is FZGPUModules' separate modes port: FSZ packs the same two flags free into spare bits of its per-block rate byte, which a predictor stage decoupled from its coder cannot do. See compression_benchmarking/docs/adapters/fsz.md.
Stages: AdaptiveLorenzoStage (modules/fused/adaptive_lorenzo/), LorenzoStage::setCentering() / setOrder(2) (modules/predictors/lorenzo/), LorenzoQuantStage::Config::centering (modules/fused/lorenzo_quant/).
The ideas taken from the paper are:
Differences from the paper: the reference fuses prediction, quantization and encoding into a single CUDA kernel with a decoupled-lookback prefix sum; FZGPUModules implements the prediction step alone as a DAG stage that composes with QuantizerStage and AdaptiveBitpackStage. Kernel structure, the cost model's coupling to AdaptiveBitpackStage's rate formula, port layout, side-channel compaction, serialization, and all host-side plumbing are FZGPUModules code.
License: not applicable — algorithmic attribution only; the stage was written from the paper's description, no reference implementation was used. Authors: Xin Liang, Sheng Di, Dingwen Tao, Zizhong Chen, Franck Cappello Paper: "An efficient transformation scheme for lossy data compression with point-wise relative error bound", IEEE CLUSTER 2018, pp. 179–189
Stages:
Paper: Robert Underwood, Chun Hong Yoon, Ali Murat Gok, Sheng Di, and Franck Cappello, “ROIBIN-SZ: Fast and Science-Preserving Compression for Serial Crystallography,” Synchrotron Radiation News 36(4), 17–22, 2023. https://doi.org/10.1080/08940886.2023.2245722
Public implementation: https://github.com/szcompressor/SZ2/tree/master/example/roibin_example
Relationship: ROIBinSplitStage is an independent GPU/DAG implementation of the published ROI/background separation design. No SZ2 or LibPressio source is copied. The kernels, FZROI1 peak-table format, fixed-output geometry, three-port layout, and inverse scatter are FZGPUModules code.
Repository: https://github.com/szcompressor/SZp
License: MIT
Relationship: szp_composed.toml are GPU adaptations of the published predict-quantize-pack structure. No upstream source is copied. FZGM uses different quantization and predictor-partition conventions, and its archive is not byte-compatible with the upstream container.
Jiajun Huang, Sheng Di, et al. hZCCL: Accelerating Collective Communication with Co-Designed Homomorphic Compression, SC '24.