MODULE 03 // 24:00

Quantization Mechanics: GGUF, AWQ & FP8

Calculate VRAM budgets, KV-cache overhead, and perplexity tradeoffs across 4-bit, 8-bit, and mixed-precision weights.

// KEY ARCHITECTURAL TAKEAWAYS

  • Formula for estimating model footprint: Parameters x Bits / 8 + KV Cache.
  • When to choose Q4_K_M vs Q8_0 for coding and tool-calling accuracy.
  • Offloading layers across multi-GPU and unified memory topologies.
REFERENCE IMPLEMENTATION // SNIPPET
# Inspect local Ollama models and memory allocation
ollama list
ollama ps
curl -s http://127.0.0.1:11434/api/tags | jq '.models[].name'