In this article
The manufacturer’s INT4 table describes a particular XPU stack; it does not guarantee total context headroom or the same speed in another four-bit runtime.
A graphics card with 12 GB memory can run language models locally, but headroom disappears quickly: weights, working data and conversation history all need space. Four-bit weight storage is one way to reduce requirements. On 3 September 2025, the Intel PyTorch team published Arc B580 results showing approximately 65–70% lower reported memory for three models and decoding speedups of 1.56–2.14 times against its stated FP16 comparison.
These are manufacturer results on a particular system, not universal application speeds for B580. They nevertheless show why a local-assistant developer should consider model representation and software together.
What Intel measured
The PyTorch article examines PyTorch 2.8 and TorchAO model optimization for Intel GPUs, identified as xpu devices. The 29 July 2025 test used a Core i5-13400, Arc B580 with 12 GB VRAM, Windows 11 Pro and Intel graphics driver 32.0.101.6972. Intel specifies GDDR6, a 192-bit memory interface and 456 GB/s bandwidth. Bandwidth is a device specification rather than measured language-model throughput.
Intel gives these weight-only INT4 values. Reductions below are calculated from its published before-and-after numbers:
| Model | Stated memory before → after | Reduction | Decode speedup |
|---|---|---|---|
| Llama-3.2-3B | 5.98 → 2.10 GB | approximately 64.9% | 1.62× |
| Phi-3-mini-4k-instruct | 7.11 → 2.13 GB | approximately 70.0% | 2.14× |
| Qwen3-4B | 7.49 → 2.49 GB | approximately 66.8% | 1.56× |
The values come from Intel’s PyTorch blog table. Rounding matters: Llama’s displayed values imply slightly less than 65%, although the publication describes savings above 65%.
Important limits remain. The publication supplies no absolute tokens/s, repetition counts, exact benchmark input lengths or memory-measurement method. It does not clarify whether the table describes loaded model size or peak generation VRAM. The values therefore cannot simply be subtracted from 12 GB to guarantee context headroom. Intel’s footnotes describe FP16, torch.compile and torch.compile with TorchAO WOQ for Phi-3-mini; exact baseline pairs and raw measurements for each row are not separately disclosed.
Why four-bit weights help
An FP16 weight occupies 16 bits. Idealized four-bit storage reduces weight bytes fourfold, but weight-only quantization, or WOQ, primarily changes weights rather than every tensor. In Intel’s described approach, activations remain FP16 or BF16, some layers may be unquantized, and weight groups require extra reconstruction parameters. Actual overall savings therefore fall below the ideal 75%.
Intel describes A16W4 linear-layer execution through oneDNN. Its Phi-3-mini example quantizes decoder linear layers, with groups of 128 weights and Int4XPULayout. This is a particular implementation, not proof that every four-bit file and algorithm works identically on XPU. Quantization is approximate, so important applications need answer and quality comparisons on their own data. The PyTorch publication provides implementation details and code.
Smaller weights can accelerate sequential token generation when memory reads are limiting: the card moves fewer bytes. The effect depends on model, request size and kernels. Prefill has a different balance of computation and data movement, so a decoding gain cannot automatically become the same reduction in first-token latency.
Activations, temporary buffers and KV cache also occupy memory. The cache retains intermediate generation data and grows with context. Four-bit weights do not guarantee a four-bit cache. A long document, concurrency or other GPU applications can exhaust headroom even when the model file fits.
Compilation is a separate change
Intel separately evaluates torch.compile, which optimizes the computation graph. For Qwen3-4B, it reports 2.68× prefill and 1.99× decoding acceleration; Llama-3.2-3B receives 2.42× and 1.58× respectively. The section describes comparison with ordinary eager execution. These are not the same factors as the INT4 table, and they cannot be multiplied to predict total acceleration because complete measurement pairs are unavailable. The article’s INT4 example itself also calls torch.compile. Intel results and code.
Preparation delays also matter in real use. Compilation and model loading can affect the first launch. Measure first-response time separately from subsequent token generation, preserving the model, input length, generation settings and software versions.
A separate observation in another stack
An external user example exists, but it does not reproduce Intel’s test. On 13 July 2026, a llama.cpp participant reported Arc B580 12 GB, Mesa ANV 25.0.7, Vulkan, llama.cpp 6eddde0 and official Qwen3-8B GGUF Q4_K_M at 4.68 GiB. With llama-bench -fa 1 -p 512 -n 128 -r 3, they obtained prompt processing of 504.72 ± 3.54 tokens/s and generation of 30.39 ± 0.35 tokens/s, stating there was no other GPU load.
The same user reported 14.03 ± 0.01 generation tokens/s for the 8.11 GiB Q8_0 variant. This illustrates a tradeoff in a separate build, while Q4_K_M and Q8_0 are llama.cpp formats rather than Intel’s TorchAO INT4. Model, driver and backend also differ. The two publications cannot establish a controlled PyTorch–llama.cpp efficiency comparison or guarantee these speeds elsewhere.
For B580 owners, INT4 can primarily help fit a model with working headroom and sometimes produce answers faster. PyTorch developers need compatible driver, XPU build, TorchAO and model versions. Users of packaged applications depend on that application’s supported formats and accelerators. A sound choice checks quality, actual peak memory and speed on the intended task rather than relying on bit width or a promotional ratio.
Sources
- Intel PyTorch Team: PyTorch 2.8 and TorchAO, 3 September 2025: manufacturer method and results.
- Intel Arc B580 specifications: hardware specifications.
- llama.cpp user Qwen3-8B measurements, 13 July 2026: a separate observation using another stack.
The quantization quality protocol helps evaluate answers. KV-cache economics treats conversation-history resources separately.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.