AINewsnow

124M parameters, 17,054 MiB to train: I traced where GPT-2 training memory actually goes

This story is from 2026-10-28. It is preserved in the archive; the latest stories are on the live feed.

My new blog post started with a very wrong intuition: GPT-2 small has 124M parameters, so training it should be pretty cheap on memory. I traced step 2 on an A40, with fp32 AdamW and 8 sequences of 1,024 tokens. The peak was 17,054 MiB. At that moment, weights + Adam + masks and persistent overhead…

Read the full story at r/deeplearning ↗

Timeline · 1 report

  1. 2026-10-28 04:49 · r/deeplearning
    124M parameters, 17,054 MiB to train: I traced where GPT-2 training memory actually goes

More stories

  1. Anthropic reveals plans for blockbuster IPO — Sky News Technology
  2. Introducing GPT-6.1 Terra — OpenAI News
  3. ChatGPT can work with your iCloud Mail and Calendar thanks to new plugin support — Engadget
  4. Retell uses OpenAI models to help power 100M monthly calls — OpenAI News
  5. OpenAI expands partnership with Oracle to bring its apps to ChatGPT — OpenAI News
  6. Greptile takes bug detection beyond code review with GPT-6 Astra — OpenAI News
  7. Stack Overflow for Agents triples signups with ChatGPT plugin — OpenAI YouTube
  8. GPT-6.1 Sol helps CodeRabbit strengthen security across complex codebases — OpenAI News

Get the daily brief of stories like this at 6:30 every morning →