On a 4 GB Jetson Nano, the LazyWeights authors had to leave some Mistral-7B weights on external storage and read them again during generation. On an 8 GB Jetson Orin Nano Super, their study examines a different limit. Even when the weights fit in memory, fetching them from DRAM can slow down generation. The same model can pay for those reads at two different points in the system. LazyWeights, sections III and VI.

The preprint, first posted on November 12, 2026 UTC and revised the following day, proposes decoding weights at the last possible moment. Following the weights from the model file to the GPU explains why a smaller download, a smaller memory footprint and faster generation are three separate outcomes. arXiv submission history.

Quantization and coding save bytes at different stages

A weight is a number used in the model’s computation. Quantization approximates it with one of a small set of codes. The runtime can recover an approximate weight from the code and its block’s scale. Within a fixed-width block, every code occupies the same number of bits, even if some occur far more frequently.

LazyWeights adjusts the quantization grid so that the codes concentrate around fewer values. GPTQ accounts for how quantization errors affect layer computation when choosing those codes. That step can change model outputs. Once the codes are fixed, Huffman assigns shorter bit strings to common symbols. The decoder restores the quantized codes and the information needed to interpret them. The compressed stream is split into parallel lanes so one serial decoder does not set the rate for every read. LazyWeights, section IV.

DRAM store compressed weights Huffman codes
Decoder reconstruct fixed-width codes parallel lanes
L2 cache receive codes and scales on chip
GPU dequantize and compute kernel
In the proposed architecture, weights cross the memory bus in coded form and return to fixed width before entering L2.

If the runtime expands the entire file into a permanent DRAM buffer on load, subsequent reads move fixed-width data. Placing the decoder after the memory controller keeps the stream compact on that first leg. By the time it reaches L2, the data is back in fixed-width form and the kernel can apply the scales and compute as usual.

Parallel streams let the decoder keep up with memory

Consider eight quantized codes, A A A A B B C D. At two bits per code they take 16 bits. One possible Huffman code assigns 0 to A, 10 to B, 110 to C and 111 to D. The sequence now takes 14 bits before table and alignment overhead. The decoder recognizes each symbol from its prefix, but the length of that symbol determines where the next one starts. A single long stream creates that dependency at every symbol.

LazyWeights divides a matrix into tiles of 64 rows by 256 codes. Each pair of rows feeds one lane, giving the tile 32 independent streams. The format interleaves their 32-bit words so the memory port can fetch the next words for several lanes together. Starting offsets let the decoder jump directly to the tile it needs. LazyWeights, figure 3.

In the decoder, each lane queues a few words ahead. It looks at the first 11 bits, determines the length of the current symbol and advances by that amount while the other lanes process their own streams. In the 4-bit formats, each symbol represents a pair of quantized codes. A lane can therefore emit two weights per cycle in that mode. An arbiter shares the read port among the lanes that need more data. LazyWeights, section IV-D.

This layout addresses a throughput requirement. A bus carrying 100 GB/s of coded data at an average of 4 bits per weight delivers the equivalent of 200 billion weights per second. This illustrative calculation gives the whole bus to weight traffic. The decoder must keep up at the input, and the port to L2 must accept the expanded fixed-width codes. If either stage saturates, cutting DRAM traffic may simply move the wait to the decoder or the cache. Decoder sizing, section IV-D.

The 31% reduction comes from two steps

The authors compare against the smallest tested llama.cpp format that meets a ceiling on perplexity increase on WikiText-2. Perplexity measures how well a model predicts the text in that test. They also report separate task scores because two versions that satisfy the same ceiling can perform differently on a given task. The table shows all three models under the 1% ceiling and a second Mistral point to illustrate how the baseline changes the comparison. LazyWeights, table III.

Model and ceilingllama.cpp baselineFixed widthCodedReduction
Phi-3-mini, 1%4.3114.3114.0466.2%
Mistral-7B, 1%5.6684.3163.88631.4%
SmolLM-1.7B, 1%5.7215.7215.1629.8%
Mistral-7B, 3.5%3.6284.3163.4225.7%
Sizes are in bits per weight. Reductions are relative to the llama.cpp baseline. Perplexity ceilings are relative to FP16.

In the first Mistral comparison, the move from 5.668 to 4.316 bits per weight comes from quantization. Huffman then brings 4.316 down to 3.886, about 10% smaller than that fixed-width representation. At the 3.5% ceiling, the tested llama.cpp baseline already uses 3.628 bits per weight. Compression first has to make up for starting from a wider fixed-width format, leaving a 5.7% reduction overall. That Mistral point also scores 3.2 percentage points lower than its baseline on GSM8K, a math word problem benchmark. A shared perplexity ceiling leaves room for task accuracy to differ. LazyWeights, sections VI-A and VII.

Jetson and FPGA tests cover different parts of the design

The authors provide fixed-width GGUF files for llama.cpp and coded bundles for their own runtime. On existing Jetson devices, the coded software path decodes the weights inside its GPU kernels. The runtime also has a fixed-width twin with the same codes and scales. It represents the data available after decoding and lets the authors check that both paths produce the same outputs. Code and logs.

EvidenceHardware or methodWhat it establishes
Software measurementsJetson Nano and Orin Nano SuperRuntime behavior on the tested devices, using coded and fixed-width paths.
Decoder validationPrototype on AMD ZCU102 FPGAExact decoding of the tested matrices and circuit throughput at FPGA test conditions.
Integration projectionJetson measurements and decoder synthesisEstimated latency and energy with a decoder between DRAM and L2.
The FPGA experiments test the decoder separately from the Jetson inference runs.

On the Orin, generation with the coded bundle takes 2.5 to 3.2 times as long as with the fixed-width twin on the same GPU in the reported cases. The software kernel spends instructions reconstructing the codes before it can compute with them. On the FPGA, the authors measure 14.3 billion decoded weights per second with four engines at 112.5 MHz. The test feeds the circuit from the FPGA’s internal memory and checks reconstruction and throughput in that setup. Running at GPU memory bandwidth still needs to be measured after integration. Preprint, figure 5 and FPGA test.

The 4 GB Nano exposes another cost. The authors keep some weights resident and stream the rest from storage on each pass. Replacing their SD card with a faster USB drive cuts time per token by a factor of 2.1 to 2.7 in their coded runtime. That result depends on the storage device and the fraction of weights it has to supply. The paper leaves the speed of an integrated decoder in that streaming scenario unquantified. LazyWeights, sections VI-C and VIII.

The attention cache takes up more traffic as context grows

The KV cache The stored key and value vectors an LLM has already computed for every token it has processed. It avoids recomputing attention over the whole history, at the cost of a memory footprint that grows with the context length. holds intermediate attention data that depends on context. In the proposed design it uses the ordinary memory path. Suppose one decoding pass for a single sequence reads 3.50 GB of weights, with Huffman saving 350 MB. Add 0.54 GB of KV reads, the paper’s approximate figure at 4,096 positions, and those 350 MB account for about 8.7% of the simplified traffic. At eight times as many positions, that drops to about 4.5% if the cache grows linearly and the pass reads all of K and V. The calculation assumes sufficient memory and leaves out other transfers. It estimates traffic savings. Execution time also depends on decoding and contention. Preprint limitations.

The test to look for on a future chip is measured generation time at comparable quality, alongside the number of bytes actually transferred. On current Jetson hardware, the authors’ models, scripts and logs already allow readers to examine the trade-offs among capacity, software decoding cost and storage speed.

Sources and method

  • Architecture and model sizes. The reductions refer to the paper’s normalized size accounting. Downloadable bundles can contain additional runtime data. LazyWeights v2, sections IV and VI, table III.
  • Measurements and projections. The experiments and artifacts come from the authors. LeCompute did not run an independent replication. FPGA prototype, code and logs.
  • Illustrative traffic calculation. Saving 0.35 GB out of 3.50 + 0.54 GB cuts approximately 8.7%. With 4.30 GB of KV reads at longer context, it cuts approximately 4.5%. Preprint, section VIII.