Start here
Quantization & LoRA, in plain language
Low-Rank Adaptation (ΔW = B·A), rank selection, FP8/INT4 uniform quantization, and scale-zero point math. Quantization and low-rank adaptation reduce memory, compute, and training cost, but require careful calibration and task-specific quality evaluation.
For a small example, map four floating values to a tiny integer range. Choose scale and zero point, quantize and dequantize, then calculate the introduced error. This is the mechanism to keep in view as the lesson becomes more technical. Before moving on, identify the input, transformation, output, and one observation that would falsify your conclusion.
Key points
- Full fine-tuning vs adapters and the low-rank update idea.
- Numeric formats, range, scale, zero point, rounding, and saturation.
- Weight-only vs weight-activation quantization and PTQ vs QAT.