<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Gradient Checkpointing on Nalar</title>
    <link>https://nalar.dev/tags/gradient-checkpointing/</link>
    <description>Recent content in Gradient Checkpointing on Nalar</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Fri, 04 Sep 2026 00:00:00 +0700</lastBuildDate>
    <atom:link href="https://nalar.dev/tags/gradient-checkpointing/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Reduce Training Memory with Gradient Checkpointing</title>
      <link>https://nalar.dev/reduce-training-memory-with-gradient-checkpointing/</link>
      <pubDate>Fri, 04 Sep 2026 00:00:00 +0700</pubDate>
      <guid>https://nalar.dev/reduce-training-memory-with-gradient-checkpointing/</guid>
      <description>&lt;p&gt;Training a neural network can run out of accelerator memory even when the model parameters fit comfortably. The missing piece is often &lt;strong&gt;activations&lt;/strong&gt;: intermediate values produced during the forward pass and retained because backpropagation needs them later.&lt;/p&gt;&#xA;&lt;p&gt;Gradient checkpointing, also called activation checkpointing, trades extra computation for lower activation memory. Instead of keeping every intermediate activation until the backward pass, training keeps selected checkpoints and recomputes missing forward values when their gradients are needed.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
