hn.today

Compress any LLM 3x in one click,near-lossless,in under 50 MB RAM

neuracryption.com34 points31 comments
Screenshot of Compress any LLM 3x in one click,near-lossless,in under 50 MB RAM

SPECTRA is presented as a model-compression and inference system for running large language models on memory-limited consumer GPUs. Its central argument is that token generation is constrained less by raw computing power than by the rate at which model weights can be read from memory; models that exceed GPU capacity incur slow transfers over PCIe. Conventional quantization, the research says, can require lengthy calibration and may fail on unfamiliar data or non-Transformer architectures. SPECTRA instead estimates parameter sensitivity from normalization scales in a model’s syntax tree, avoiding calibration passes, then applies group-of-32 4-bit quantization with selective higher-precision treatment of outliers.

The system pairs this compression method with custom Triton kernels that unpack and compute on quantized weights, aiming to reduce memory traffic while preserving model quality. Its theoretical rationale distinguishes bit-exact lossless compression, which it says cannot achieve the desired reduction, from rate-distortion compression that permits limited numerical error. Reported results include 2.80-3.31× compression across several model families and 82.53 tokens per second for DeepSeek-R1-Distill-1.5B on a laptop GPU with 4 GB of VRAM. The page also claims full GPU residency without host-memory swapping, no calibration wait, and preserved task accuracy and reasoning fidelity. It describes an open-source release and benchmark materials, while the supplied text does not include the detailed benchmark tables or the remainder of the technical argument.

Read on neuracryption.com31 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in AI

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.