Skip to main content

Quantization

Quantization allows models to run more efficiently with a relatively small loss of capability. This makes it possible to run models on resource-constrained hardware or reduce cloud costs. The quantization process compresses large language models by reducing precision (e.g. from 32-bit float to 4-bit integers). This enables inference on hardware that can't run full-precision models, such as laptops, edge devices, or limited-GPU servers. Ai2 provides quantized versions of Olmo, OlmoE, and Tülu models in formats designed for efficient runtime performance.

Many formats exist for quantized models. This guide focuses on the two best-supported and production-ready formats:

  • GGUF (GPT-Generated Unified Format) — ideal for CPU-only and edge deployments
  • GPTQ (GPT Quantization) — optimized for high-throughput GPU inference

Note: GPT stands for "Generative Pre-trained Transformer" in both GGUF and GPTQ formats.

GGUF​

GGUF is a lightweight format designed for fast, memory-efficient inference on CPUs and edge devices. A popular way of running GGUF models is with llama.cpp.

Hardware requirements​

Model SizeRAM NeededNotes
7B~6 GBRuns on M1 MacBooks, Raspberry Pi 5 (8 GB), Intel laptops
13B~12 GBSuitable for 16 GB systems

Advantages​

  • No GPU needed
  • Small minimum binary (~1GB with llama.cpp)
  • Relatively fast cold starts (<1 second on Apple Silicon)
  • Works on edge devices, like laptops and smart phones
  • Supports Metal, AVX2, NEON

GPTQ​

GPTQ is a pre-quantized format compatible with high-throughput GPU inference. A popular way of running GPTQ models is with vLLM.

Hardware requirements​

Model SizeGPU VRAM NeededNotes
7B8 GBRTX 3060, 3090, A10, A100, L4 OK
70B48 GB+Multi-GPU or large enterprise cards

Advantages​

  • Higher throughput for parallel requests
  • Better performance on GPU hardware
  • More efficient memory usage for large models

Comparison at a glance​

Use CaseFormatRuntimeHardwarePros
Offline appsGGUFllama.cppCPU (Mac/ARM/x86)Fast startup, no GPU, small memory use
Real-time APIsGPTQvLLMGPU (8–48 GB)Scalable, OpenAI API, high throughput

Where to find pre‑quantized Ai2 models​

Ai2 publishes official quantized models on Hugging Face.

ModelLink
Olmo‑2‑0425‑1B‑InstructOlmo-2-0425-1B-Instruct-GGUF
Olmo‑2‑0325‑32B‑InstructOlmo-2-0325-32B-Instruct-GGUF
Olmo‑2‑1124‑13B‑InstructOlmo-2-1124-13B-Instruct-GGUF
Olmo‑2‑1124‑7B‑InstructOlmo-2-1124-7B-Instruct-GGUF
Olmo‑2‑0425‑1BOlmo-2-0425-1B-GGUF
OlmoE‑1B‑7B‑0125‑InstructOlmoE-1B-7B-0125-Instruct-GGUF

Resources​

For more information about quantization formats and techniques, we recommend the following resources: