LCT: Losslessly Compressed Tensors with GPU friendly execution for Training
TL;DR - LCT is a GPU-oriented framework that losslessly compresses weights, activations, and optimizer states during training. It cuts peak memory by roughly 24% with modest runtime overhead, enabling substantially longer training contexts on the same hardware.
- Uses optimized Huffman-coding kernels and precomputed codebooks to support repeated compression and decompression on GPUs.
- Achieves compression ratios of up to 1.455Ă— by exploiting redundancy in floating-point tensors.
- Reduces NanoGPT-162M memory usage by 24.6% while increasing step time by 7.2%.
- Saves up to 23.8% peak memory in Qwen3-4B fine-tuning, enabling a 3.5Ă— longer context length on the same GPU.