Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_llm-mixed-precision-and-loss-scaling

Mixed precision and loss scaling

7 COMPONENTS · 6 FLOWS · UPDATED 2026-11-23
GITHUB README / PR PREVIEW CARD
[![Mixed precision and loss scaling — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_llm-mixed-precision-and-loss-scaling/opengraph-image)](https://archos.sageideas.dev/d/dgm_llm-mixed-precision-and-loss-scaling)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_llm-mixed-precision-and-loss-scaling)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_llm-mixed-precision-and-loss-scaling" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Mixed precision and loss scaling — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  src_0[("Client application")]
  n0_1[("Storage")]
  n1_2["Inference server"]
  n2_3["Data quality check"]
  n3_4[("Model registry")]
  ctrl_5["OpenTelemetry Collector"]
  sink_6[("Client application")]
  src_0 -->|"1. Casts BF16 · TCP"| n0_1
  n0_1 -->|"2. Fwd + Bwd · TCP"| n1_2
  n1_2 -->|"3. Clips grad · TCP"| n2_3
  n2_3 -->|"4. FP32 step · TCP"| n3_4
  n3_4 -->|"5. Converged · HTTPS"| sink_6
  n1_2 -->|"Loss curve · OTLP"| ctrl_5

COMPONENT STACK (7)

  • Client applicationSTATEFUL
    Training micro-batch
  • StorageSTATEFUL
    FP32 master weights
  • Inference serverSTATELESS
    BF16/FP8 Tensor Core
  • Data quality checkSTATELESS
    Grad norm + NaN guard
  • Model registrySTATEFUL
    AdamW FP32 step + ckpt
  • OpenTelemetry CollectorSTATELESS
    Grad norm & spikes
  • Client applicationSTATEFUL
    Stable fast convergence

REQUEST & DATA FLOW (6)

  1. Client application → Storage (Casts BF16)[TCP]
  2. Storage → Inference server (Fwd + Bwd)[TCP]
  3. Inference server → Data quality check (Clips grad)[TCP]
  4. Data quality check → Model registry (FP32 step)[TCP]
  5. Model registry → Client application (Converged)[HTTPS]
  6. Inference server → OpenTelemetry Collector (Loss curve)[OTLP]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →