Fireworks AI · GLM 5.2 · Frontier Training Infrastructure
From Fine-Tuning to Frontier Intelligence
A learning path to the breakthrough: zero-KLD training infrastructure, now available as a managed service
1
Fine-Tuning: Teaching a Model Your Domain
You start with a pre-trained model and continue training it on your data. Three main methods: SFT (learn from examples), DPO (learn from preferences), and RL (learn from rewards).
RL on an LLM is a cycle: the model generates answers, a reward function scores them, and the trainer updates the weights. It only works if the trainer's view of the model matches what actually generated the text.
Addition isn't associative in floating-point: (a+b)+c ≠ a+(b+c) at the bit level. On busy GPUs, the summation order shifts with batch composition — so the same prompt returns subtly different numbers from moment to moment.
Your request must return the same result no matter what other traffic shares its batch. Without it, an "on-policy" RL run is secretly off-policy — the rollout came from a subtly different model than the one you're updating.
KLD (Kullback-Leibler Divergence) measures the gap between two probability distributions. Zero KLD means the trainer and serving engine produce bit-for-bit identical numbers — erasing the gap instead of patching it with importance sampling and clipping.
The Breakthrough: Frontier Infrastructure as a Service
Fireworks delivers batch-invariant serving + zero-KLD alignment on GLM 5.2 — without the usual 35–60% speed penalty. The toolkit once locked inside top frontier labs is now a managed service for everyone.