Skip to content

Local AI Inference Glossary

  • Active vs. Total Parameters (MoE): Total parameters determine memory capacity (VRAM/RAM/SSD needed to hold the model); active parameters per token determine compute and memory-bandwidth decode speed.
  • Looped MoE (e.g., Inkling 2 Mini): Passes tokens through middle transformer layers multiple times per step—boosting reasoning depth at small parameter footprints without expanding stored world knowledge.
  • Hybrid Linear Attention / Gated DeltaNet (e.g., Qwen3.5 / Qwen3.8): Replaces most quadratic full-attention layers with linear-recurrence layers, slashing KV-cache growth by 4x+ at 128K context.
  • MLA (Multi-Head Latent Attention): DeepSeek’s compressed KV-cache attention design; slashes memory footprint but has one shared KV head, making DP+EP preferable over high Tensor Parallelism.
  • Effective bpw (Bits Per Weight): True average storage per weight including block scales, zero-points, and unquantized layers (e.g., “4-bit” GGUF Q4_K_M is ~4.89 bpw; NVFP4 is ~4.50 bpw).
  • KLD (KL Divergence): Measures how much a quantized model’s output probability distribution drifts from FP16/BF16 (lower is better; EXL3 hits ~0.0066 at 4.05 bpw vs. plain 4-bit MLX affine at 0.1132).
  • K8V4 KV Cache: Asymmetric KV quantization storing Keys at 8-bit and Values at 4-bit—the local llama.cpp sweet spot above 32K context.
  • TurboQuant / TurboQuant+: Walsh-Hadamard rotated KV-cache compression preserving accuracy at 3–4 bits.
  • TP vs. PP vs. EP: Tensor Parallelism (shards every layer across GPUs; needs NVLink past TP=2), Pipeline Parallelism (splits layers sequentially across GPUs; works fine over PCIe), Expert Parallelism (shards MoE experts across GPUs).
  • SM120 vs. SM100 (Blackwell TMEM): Consumer/workstation Blackwell (RTX 50xx, RTX PRO 6000 = SM120) lacks datacenter Blackwell (B200/B300 = SM100) Tensor Memory (TMEM), so SM120 runs FlashAttention-2 rather than FlashAttention-4.
  • Native MTP / DFlash / XPress: Modern speculative decoding methods replacing sequential EAGLE-3 drafting—MTP uses co-trained multi-token prediction heads (+1.4–2.2x lossless), while DFlash/XPress draft parallel candidate blocks in a single GPU pass.