{
  "id": 1009,
  "kind": "idea",
  "title": "Why are models trained in FP16 and not lower precision? (LocalLLaMA thread)",
  "summary": "Hudson flagged a LocalLLaMA Reddit thread on why training at low precision does not work / why FP16 is used rather than lower formats. Cataloged as a durable research-discussion pointer (idea). Reddit HTML blocked to bots on 2026-09-17 (403); URL and Discord paraphrase retained.",
  "body": "",
  "notes": "Reddit 403 to automated clients 2026-09-17; title/summary from Discord text + URL slug. item_type=idea.",
  "url": "https://www.reddit.com/r/LocalLLaMA/comments/15nmrat/why_are_models_trained_in_fp16_and_not/",
  "links": [],
  "authors": [
    "LocalLLaMA community (Reddit)"
  ],
  "tags": [
    "fp16",
    "mixed-precision",
    "training",
    "reddit",
    "localllama",
    "idea"
  ],
  "topics": "training numerics; FP16; mixed precision; quantization",
  "venue": "reddit.com/r/LocalLLaMA",
  "publisher": "reddit.com/r/LocalLLaMA",
  "source": "web",
  "language": "en",
  "access": "public Reddit URL (bot fetch 403 at check)",
  "license": "Reddit user content / site ToS",
  "published_year": null,
  "added_at": "2026-09-17T15:57:00.000Z",
  "verified_at": "2026-09-17T15:57:00.000Z",
  "attrs": {
    "scale": "Reddit discussion thread",
    "domain": "training numerics; FP16; mixed precision; quantization",
    "purpose": "Community discussion on why low-precision training often fails / FP16 defaults",
    "used_for": "training-numerics idea backlog",
    "author_type": "community discussion",
    "time_period": "Discord 2024-10-31; Reddit post id 15nmrat (2023-era slug)"
  },
  "enrichment": {},
  "enriched_at": "2026-10-03T14:33:48.347Z",
  "license_class": "other",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "channel": "random-papers",
    "legacy_paper_id": "1423",
    "needs_deep_eval": "no",
    "pipeline_status": "done",
    "research_status": "done"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-10-03T12:29:06.561Z",
  "updated_at": "2026-10-03T12:29:06.561Z",
  "page": "https://papers.projxon.ai/entries/1009",
  "markdown": "https://papers.projxon.ai/entries/1009.md",
  "api": "https://papers.projxon.ai/api/entries/1009",
  "relations": [],
  "duplicates": [],
  "similar": [
    {
      "id": 565,
      "kind": "paper",
      "title": "Optimizing Large Language Model Training Using FP4 Quantization",
      "summary": "First from-scratch FP4 LLM pretraining: Differentiable Gradient Estimator (DGE, k=5) corrects E2M1 weight grads vs STE, and Outlier Clamping and Compensation (OCC, α=0.99 plus a ~2% sparse residual) keeps activations from collapsing. Mixed-precision W4A4 GeMM simulated on H100 FP8 cores with token-wise activation and channel-wise weight scaling. LLaMA-2 1.3B/7B/13B on 100B DCLM tokens: train loss 2.55/2.17/1.97 vs BF16 2.49/2.07/1.88; zero-shot avg 53.13/54.42/54.95 vs 53.23/53.87/54.44. Direct W4A4 diverges. ICML 2025. Framework https://aka.ms/MS.AMP (Azure/MS-AMP).",
      "url": "https://arxiv.org/abs/2501.17116",
      "authors": [
        "Ruizhe Wang",
        "Yeyun Gong",
        "Xiao Liu",
        "Guoshuai Zhao",
        "Ziyue Yang",
        "Baining Guo",
        "Zhengjun Zha",
        "Peng Cheng"
      ],
      "tags": [
        "fp4",
        "quantization",
        "dge",
        "occ",
        "mixed-precision",
        "llama2",
        "dclm",
        "icml",
        "microsoft",
        "e2m1"
      ],
      "venue": "arXiv / Microsoft Research Asia / University of Science and Technology of China",
      "source": "",
      "license": "",
      "published_year": 2025,
      "added_at": "2026-10-01T16:45:06.278Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 62,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/565",
      "markdown": "https://papers.projxon.ai/entries/565.md",
      "api": "https://papers.projxon.ai/api/entries/565"
    },
    {
      "id": 1066,
      "kind": "idea",
      "title": "KV cache as GPU-memory bottleneck in Transformer serving (GQA/MQA, quantization, sliding window)",
      "summary": "Single long X note_tweet + diagram (2026-09-25) by @techNmak explaining that during inference model weights are mostly fixed while per-request KV state grows with every cached token across attention layers. Frames context length and concurrency as GPU-memory costs; notes GQA/MQA (fewer KV heads), KV quantization (fewer bytes), and sliding-window attention (bounded history) as levers; stresses caching avoids recomputing old K/V projections but full attention still reads the cache each decode step. Diagram gives KV bytes = 2×B×T×L×H_kv×d_k×s (example: 8K tokens ≈ 1 GiB at L=32, H_kv=8, d_k=128, FP16). Pure original explainer — no primary paper; one reply promo-linked github.com/kvcachestore/kvcdn-cli.",
      "url": "https://x.com/techNmak/status/2103488645642793165",
      "authors": [
        "Tech with Mak (@techNmak)"
      ],
      "tags": [
        "kv-cache",
        "llm-serving",
        "gpu-memory",
        "gqa",
        "mqa",
        "kv-quantization",
        "sliding-window",
        "attention",
        "prefill-decode",
        "technmak",
        "x-thread",
        "idea"
      ],
      "venue": "X / Tech with Mak",
      "source": "x",
      "license": "n/a (X post / educational graphic)",
      "published_year": 2026,
      "added_at": "2026-09-26T12:56:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1066",
      "markdown": "https://papers.projxon.ai/entries/1066.md",
      "api": "https://papers.projxon.ai/api/entries/1066"
    },
    {
      "id": 1217,
      "kind": "code",
      "title": "KohakuFA: Attention Kernel with Fixed Backward-Pass Precision",
      "summary": "New attention kernel claiming severe backward-pass precision bugs in cuDNN SDPA, FlashAttention-4, and flex attention: when attention logits get huge (DINOv3 reportedly hits ~1e5 out of the box), backward gradients can be wrong by 10-1000x or become inf, while forward and loss look completely normal — so instability surfaces only late in training when reruns are expensive. Implication: some reported fp16 instability, QKNorm benefits, or 'failed runs' may be kernel artifacts, not model-design flaws. KohakuFA fixes 3 precision bugs, keeping gradients at the fp16 error floor for ~5% extra cost; fast for ViT/DiT/video. Figures: DINOv3 ViT-B/16 fine-tuning backward error over training — FA4 highest error (~0.05-0.6), KohakuFA tracks the fp64 correct-kernel floor; whole-model fp16 gradient vs fp64 across 50k-200k steps — cuDNN SDPA gradients collapse after ~100k-125k steps (cosine→0, relative error >10x), KohakuFA stays near-correct. Blackwell (SM100) only for now; sm120 support planned (flex attention reportedly has the same issue on sm120). Directly relevant to user's training-run debugging (CUDA OOMs aside, kernel-precision bugs are the same class of hard-to-diagnose training instability).",
      "url": "https://github.com/KohakuBlueleaf/KohakuFA",
      "authors": [
        "Kohaku Blueleaf (KohakuLab / ComfyOrg)"
      ],
      "tags": [
        "kohakufa",
        "attention-kernel",
        "backward-precision",
        "flashattention",
        "cudnn",
        "fp16-instability",
        "qknorm",
        "training-stability"
      ],
      "venue": "GitHub release, announced 3 Oct 2026",
      "source": "github",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-03T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1217",
      "markdown": "https://papers.projxon.ai/entries/1217.md",
      "api": "https://papers.projxon.ai/api/entries/1217"
    },
    {
      "id": 1225,
      "kind": "thread",
      "title": "MOPD's Place in a Frontier Training Portfolio (X discussion)",
      "summary": "Brian Huang argues MOPD — a training objective that lets many independently-trained models be automatically 'casseroled' (merged) into a single model — still deserves a place in frontier training portfolios even if RL generalizes strongly. Two reasons: (1) speculative stability — at very large RL step counts (~5k-10k steps), MOPD objective updates may be more stable and accumulate less 'rot' than REINFORCE-style RL objectives, so MOPD could keep climbing where RL plateaus; (2) organizational — MOPD permits many research teams to pursue overlapping research bets in parallel, with their resulting models automatically combined into one final checkpoint, effectively pushing the scaling curve on frontier-lab researcher labor vs usable yield from that labor. Replies: will brown agrees parallelization of research effort is one of the strongest reasons; Lucas Beyer (giffmana) jokes that RL people calling 5-10k steps 'very far' is funny; Patch finds the organizational argument compelling. MOPD acronym was not expanded anywhere on the page. No paper, code, or external artifact attached — captured as a discussion.",
      "url": "https://x.com/brianryhuang/status/2106652326127694000",
      "authors": [
        "Brian Huang (mid-training @GoogleDeepMind)",
        "responding to @willcb",
        "replies from @giffmana",
        "@patchwanders"
      ],
      "tags": [
        "mopd",
        "model-merging",
        "training-portfolio",
        "rl-scaling",
        "research-organization",
        "mid-training"
      ],
      "venue": "X discussion thread, 4 Oct 2026",
      "source": "other",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-04T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1225",
      "markdown": "https://papers.projxon.ai/entries/1225.md",
      "api": "https://papers.projxon.ai/api/entries/1225"
    },
    {
      "id": 1239,
      "kind": "paper",
      "title": "Closing the Loop: Practical Training Recipes for Looped Language Models",
      "summary": "Practical training recipes that make looped LMs cheap. Three results: (1) a compute-efficient from-scratch pipeline cuts the training budget from 7.7T tokens (Ouro) to 310B tokens while retaining strong reasoning — pretraining followed by high-quality mid-training, plus strong LR warmup and exit-gate regularization, enables stable recurrent training without prior multi-stage schedules; (2) under controlled comparisons, the 1.4B LoopLM beats a parameter-matched dense model trained on the same data and token budget on all 12 benchmarks (+14 GSM8K, +10 MATH, +22 DROP), and at matched inference compute approaches a 3.9B dense model on math/reasoning with only 36% of the parameters; (3) a minimal recipe converts pretrained dense models into looped ones — a single learned input-mixing scalar plus a smoothed exit loss, no step-specific parameters — applied to Qwen3-1.7B-Base, Looped Qwen improves over an identically continued dense baseline on every benchmark, with clear gains on GSM8K, MATH, MMLU-Pro. Relevant to the user's LLM training-run work and the looped-models cluster (670, 952, 1545).",
      "url": "https://arxiv.org/abs/2610.00673",
      "authors": [
        "Andrei Marchenko",
        "Viacheslav Bezrukov",
        "Oleg Kashurin",
        "Inessa Fedorova",
        "Dmitry Bocharov",
        "Yuliana Shakhvalieva",
        "Maria Tikhonova",
        "Valerii Ternovskii"
      ],
      "tags": [
        "looped-models",
        "recurrent-transformers",
        "training-recipes",
        "ouro",
        "looplm",
        "looped-qwen",
        "iclr-2027"
      ],
      "venue": "arXiv:2610.00673 (cs.CL), submitted 30 Sep 2026; under review ICLR 2027",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-04T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1239",
      "markdown": "https://papers.projxon.ai/entries/1239.md",
      "api": "https://papers.projxon.ai/api/entries/1239"
    },
    {
      "id": 962,
      "kind": "paper",
      "title": "GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers",
      "summary": "Generative Pre-trained Transformer models, known as GPT or OPT, set themselves apart through breakthrough performance across complex language modelling tasks, but also by their extremely high computational and storage costs. Specifically, due to their massive size, even inference for large, highly-accurate GPT models m…",
      "url": "https://arxiv.org/abs/2210.17323",
      "authors": [
        "Frantar",
        "Elias",
        "Ashkboos",
        "Saleh",
        "Hoefler",
        "Torsten",
        "Alistarh",
        "Dan"
      ],
      "tags": [
        "arxiv",
        "2210-17323",
        "quantization-efficiency",
        "linkedin-thread"
      ],
      "venue": "arXiv 2210.17323",
      "source": "arxiv",
      "license": "",
      "published_year": 2022,
      "added_at": "2026-09-15T00:46:23.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 2668,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/962",
      "markdown": "https://papers.projxon.ai/entries/962.md",
      "api": "https://papers.projxon.ai/api/entries/962"
    }
  ]
}
