Although learning-based scientific lossy compression can achieve strong rate--distortion performance, the original GPU implementations deliver less than 1~GB/s, limiting their practical deployment. Closing this throughput gap requires accelerating the complete learned-compression pipeline. We present CAIEC, a framework that co-accelerates model inference and latent entropy coding, the two major stages of learned-compression pipelines. On the inference side, CAIEC uses component-wise sensitivity profiling and quality-controlled precision recovery to derive a mixed-precision configuration under a user-specified quality budget. On the coding side, it introduces GA-ANS, a granularity-adaptive GPU ANS coder that combines parallel state decomposition with arithmetic and memory-access optimizations. CAIEC selects coding granularity according to the inference time of the quality-constrained precision configuration and pipelines both stages on separate GPU streams. Across two learned compression backbones and six real-world datasets, CAIEC achieves average compression/decompression throughputs of 23.40/15.23~GB/s on an NVIDIA H100 and 16.90/11.43~GB/s on an RTX~5090, with up to 112.72$\times$/101.04$\times$ speedups over the corresponding original CompressAI implementations using PyTorch FP32 inference and CPU ANS on H100. On CRA5-compressed ERA5 data, CAIEC increases compression/decompression throughput from 2.1/1.4 to 20.4/13.7~GB/s, with only minor accuracy degradation in an 8-day MPTRAC particle-trajectory simulation.
翻译:暂无翻译