Same LoRA recipe on H100 vs A100: what precision should each team default to?
Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
Both A100 and H100 default to bf16; it hits tensor cores, matches fp32 dynamic range, and needs no loss scaler. fp8 is an opt-in only after numerics are validated.
Picture two photocopiers, an older one and a newer one. Both can copy at the same reliable mid-quality setting that almost never jams. The newer one also has an experimental ultra-fast mode that sometimes smudges if the paper is unusual. The safe default for both is the reliable mid-quality setting, and the experimental mode on the new copier is something you only enable after you have run a stack through cleanly and checked every page. Picking the experimental mode just because the new copier supports it would mean troubleshooting jams instead of getting work done. The same logic holds for precision on training hardware: pick what works on both, switch up only after you have a stable baseline.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
5 min: name bf16 as the default on both chips, contrast with fp16 loss scaling and fp8 numerics, then sketch when fp8 is worth the upgrade and what validation it requires.
| Precision | A100 support | H100 support | Operational notes |
|---|---|---|---|
| fp32 | Yes (no tensor cores) | Yes (no tensor cores) | Stable but ~2x slower; only for debugging |
| fp16 | Tensor cores | Tensor cores | Needs dynamic loss scaling; narrow dynamic range |
| bf16 | Tensor cores | Tensor cores | Matches fp32 range; no loss scaler; safe default |
| fp8 (E4M3 / E5M2) | No native support | Tensor cores | Per-tensor scaling, outlier handling; opt-in only |
Real products, models, and research that use this idea.
What an interviewer would ask next. Try answering before peeking at the approach.
Red flags and common mistakes that signal junior thinking. Click to expand.
Reaching for fp16 on A100 or fp8 on H100 as the obvious default. fp16 needs loss scaling and fp8 needs per-tensor calibration; bf16 sidesteps both on either chip.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.