Engineer releases Jolt neural compressor for Apple M4 Pro

dnhkng.github.io13 min read

An engineer has developed Jolt, a 7 MB integer and Boolean neural network tailored for the Apple M4 Pro CPU that compresses Wikipedia text nearly as well as cmix while operating 38 times faster and using a fraction of the memory. By relying on XORs, popcounts, INT8 dot products, and hashed n-gram tables instead of online learning, the frozen model achieves a strong compression ratio on a megabyte of text while remaining entirely within the L2 cache. However, the author notes that while pretraining wins on speed for smaller texts, online learning compressors still outperform it on gigabyte-scale data. Open article →