• About Us
  • Disclaimer
  • Contact Us
  • Privacy Policy
Wednesday, April 1, 2026
mGrowTech
No Result
View All Result
  • Technology And Software
    • Account Based Marketing
    • Channel Marketing
    • Marketing Automation
      • Al, Analytics and Automation
      • Ad Management
  • Digital Marketing
    • Social Media Management
    • Google Marketing
  • Direct Marketing
    • Brand Management
    • Marketing Attribution and Consulting
  • Mobile Marketing
  • Event Management
  • PR Solutions
  • Technology And Software
    • Account Based Marketing
    • Channel Marketing
    • Marketing Automation
      • Al, Analytics and Automation
      • Ad Management
  • Digital Marketing
    • Social Media Management
    • Google Marketing
  • Direct Marketing
    • Brand Management
    • Marketing Attribution and Consulting
  • Mobile Marketing
  • Event Management
  • PR Solutions
No Result
View All Result
mGrowTech
No Result
View All Result
Home Google Marketing

Boost Training Goodput: How Continuous Checkpointing Optimizes Reliability in Orbax and MaxText

Josh by Josh
March 31, 2026
in Google Marketing
0
Boost Training Goodput: How Continuous Checkpointing Optimizes Reliability in Orbax and MaxText


ADK + Gemini CLI: Supercharge Your Agent Building Vibe

The newly introduced continuous checkpointing feature in Orbax and MaxText is engineered to help your training job strike the optimal balance between reliability and performance.

GfD blog sketch

The periodicity of checkpoint generation during model training is conventionally fixed – be it every X training step or every Y minutes. Selecting an appropriate checkpoint frequency is far from trivial, as an incorrect setting often leads to one of two critical scenarios:

  • Infrequent Checkpointing: Reliability is compromised. A low frequency can result in substantial resource wastage, especially considering that hardware failures or preemption events are common occurrences during extended training runs.
  • Frequent Checkpointing: Performance becomes the primary constraint. Although the resource-intensive process of checkpointing is typically executed asynchronously, overly frequent initiation can cause training to be blocked or bottlenecked especially with unstable networks.

Continuous checkpointing, conversely, maximizes the exploitation of the host machine and I/O bandwidth and minimizes the risk associated with hardware failures. This capability is achieved with minimal performance degradation, as Orbax intelligently initiates an asynchronous checkpoint save only upon the successful completion of the preceding save operation.

Get Started

Take MaxText as an example, it takes only one step to enable continuous checkpointing. You will simply need to configure the following flags for the training task:

# Enable asynchronous checkpointing 
enable_checkpointing: True
async_checkpointing: True
...

# Enable continuous checkpointing
enable_continuous_checkpointing: True

# Keep the lastest 10 checkpoint to avoid excessive amount of storage consumption
max_num_checkpoints_to_keep: 10
...

Kotlin

Note: continuous checkpointing will override checkpoint_period, which was previously used to control the checkpointing frequency.

MaxText will attempt to save the checkpoint once the previous saving request is fulfilled in the background. Take the llama-3.1-70B model continuous pre-training (CPT) task as an example – on two slices of v5p-128 cluster, we pick two different configurations: (a) continuous checkpointing enabled. (b) checkpointing every 100 steps.

GfD Blog - Continuous Checkpointing (2)

Checkpoint frequency and average training step time with different checkpointing strategies.

As demonstrated by the benchmark findings, the P50 checkpoint intervals are markedly smaller when continuous checkpointing is activated. This is accompanied by an anticipated increase in the average training step time, primarily attributed to the more frequent device-to-host data transfer operations.

To accurately quantify the tangible benefits associated with more frequent checkpointing, we can reasonably assume a mean-time-between-failure (MTBF), where failure encompasses any event that terminates the job, such as hardware malfunctions or preemption events.

GfD Blog - Continuous Checkpointing (1)

Estimate resource preservation with continuous checkpointing, as a function of MTBF.

The benchmark was conducted on a relatively modest cluster configuration, specifically featuring 64 chips per slice; yet, it demonstrates substantial resource conservation. Moreover, the efficiency gains realized through continuous checkpointing are amplified during large-scale training initiatives for the following compelling reasons:

  1. The model files are segmented into smaller fragments, which inherently leads to a notable reduction in the device-to-host blocking time.
  2. The mean time between failures (MTBF) scales inversely and linearly with the magnitude of the scaling operation.

More Comprehensive Use Cases

Orbax also offers more flexible options in terms of saving and preserving checkpoints beyond what MaxText offers today. These options can be defined as highly customizable policies for more complicated use cases:

continuous_checkpointing_policy_with_minimum_interval = save_decision_policy.ContinuousCheckpointingPolicy(minimum_interval_secs = 30)

Python

Each training step might be very small when working with lightweight models, checkpointing too frequently might create some unwanted I/O overhead. A minimum_interval_secs could be set to allow a cool down period between checkpoints.

every_n_seconds_preservation_policy =
preservation_policy.EveryNSeconds(180)

Python

In the above example, Orbax will attempt to save at least one checkpoint every 180 seconds, unless there is nothing within this period. This could be used to prune checkpoints, while maintaining the ability to evaluate or restore to a previous checkpoint.

@dataclasses.dataclass
class CustomizedPreservationPolicy(PreservationPolicy):
  """Implement your own policy for reserving checkpoints. """

  def should_preserve(
      self,
      checkpoints: Sequence[PolicyCheckpointInfo],
      *,
      context: PreservationContext,
  ) -> Sequence[bool]:
    result = [is_checkpoint_preservable(checkpoint) for checkpoint in checkpoints]
    _log_preservation_decision(
        "Customized Preservation Policy",
        checkpoints,
        result
    )
    return result

Python

The above example could be used to preserve checkpoint based on evaluation results.

Things to note

Why cannot we just increase the checkpoint frequency?

Reduction of the checkpoint interval could not achieve the expected result, for the following reasons:

  1. The conventional checkpoint interval maintains a constant value, despite the inherently non-constant nature of the operating environment. Implementing an overly aggressive checkpointing strategy risks blocking the entire training process, leading to idle TPUs and significantly greater resource wastage.
  2. The selection of an appropriate checkpoint interval is non-trivial, as precise prediction is often impossible. Therefore, continuous checkpointing serves as an accessible and reliable methodology to guarantee optimal utilization of both I/O and TPU resources.

Multi-slices I/O concern

A prevalent concern arises when conducting training jobs across multiple slices: the potential bottleneck imposed by the Data Center Network (DCN) bandwidth. When utilizing a multi-slice configuration, DCN bandwidth is leveraged for both model weight updates and checkpointing operations. However, within the Orbax framework, the substantial component of checkpointing remains asynchronous and is confined to communication between the storage server and a single slice (typically slice 0). Crucially, this design ensures that the inter-slice communication remains unblocked and unaffected by the checkpointing process. In our benchmark over multiple slices, we don’t see significant slow down due to the enablement of continuous checkpointing.

Prefer Co-Located Training and Storage Cluster

It is strongly recommended that you ensure the storage bucket is co-located with your training cluster. The efficacy of continuous checkpointing is heavily reliant on network bandwidth. Utilizing a cross-metro network can significantly degrade checkpointing speed, which, in turn, introduces substantial reliability risks to the overall process.



Source_link

READ ALSO

Google now sells refurbished Pixel 8a on the Google Store

You can finally replace your embarrassing Gmail username

Related Posts

Google now sells refurbished Pixel 8a on the Google Store
Google Marketing

Google now sells refurbished Pixel 8a on the Google Store

March 31, 2026
You can finally replace your embarrassing Gmail username
Google Marketing

You can finally replace your embarrassing Gmail username

March 31, 2026
Explore Benjamin Franklin’s science on NotebookLM
Google Marketing

Explore Benjamin Franklin’s science on NotebookLM

March 31, 2026
The latest Pixel 11 leak shows slimmer bezels and an all-black camera bar
Google Marketing

The latest Pixel 11 leak shows slimmer bezels and an all-black camera bar

March 31, 2026
Google’s ‘AI Works for Britain’ aims to help stuck Brits unlock progression
Google Marketing

Google’s ‘AI Works for Britain’ aims to help stuck Brits unlock progression

March 31, 2026
A new RCS update could connect iPhone and Android video calls, someday
Google Marketing

A new RCS update could connect iPhone and Android video calls, someday

March 30, 2026
Next Post
AI-Powered Cross-Channel Personalization for Marketers

AI-Powered Cross-Channel Personalization for Marketers

POPULAR NEWS

Trump ends trade talks with Canada over a digital services tax

Trump ends trade talks with Canada over a digital services tax

June 28, 2025
Communication Effectiveness Skills For Business Leaders

Communication Effectiveness Skills For Business Leaders

June 10, 2025
15 Trending Songs on TikTok in 2025 (+ How to Use Them)

15 Trending Songs on TikTok in 2025 (+ How to Use Them)

June 18, 2025
App Development Cost in Singapore: Pricing Breakdown & Insights

App Development Cost in Singapore: Pricing Breakdown & Insights

June 22, 2025
Comparing the Top 7 Large Language Models LLMs/Systems for Coding in 2025

Comparing the Top 7 Large Language Models LLMs/Systems for Coding in 2025

November 4, 2025

EDITOR'S PICK

SoulSpark Chatbot Review: Key Features & Pricing

SoulSpark Chatbot Review: Key Features & Pricing

March 15, 2026
Expert Guide: Setting Up a Quiet and Secure NAS

Expert Guide: Setting Up a Quiet and Secure NAS

November 8, 2025
Brookline amplifies ATCO Energy’s Unlock Your Savings campaign – Brookline PR

Brookline amplifies ATCO Energy’s Unlock Your Savings campaign – Brookline PR

December 3, 2025
Why the SEO Game Just Went Into Overdrive

Why the SEO Game Just Went Into Overdrive

November 25, 2025

About

We bring you the best Premium WordPress Themes that perfect for news, magazine, personal blog, etc. Check our landing page for details.

Follow us

Categories

  • Account Based Marketing
  • Ad Management
  • Al, Analytics and Automation
  • Brand Management
  • Channel Marketing
  • Digital Marketing
  • Direct Marketing
  • Event Management
  • Google Marketing
  • Marketing Attribution and Consulting
  • Marketing Automation
  • Mobile Marketing
  • PR Solutions
  • Social Media Management
  • Technology And Software
  • Uncategorized

Recent Posts

  • What CIO and CISO Should Prioritize
  • Why Agents Fail: The Role of Seed Values and Temperature in Agentic Loops
  • Goofy, playful and knowingly a bit silly
  • AI-Powered Cross-Channel Personalization for Marketers
  • About Us
  • Disclaimer
  • Contact Us
  • Privacy Policy
No Result
View All Result
  • Technology And Software
    • Account Based Marketing
    • Channel Marketing
    • Marketing Automation
      • Al, Analytics and Automation
      • Ad Management
  • Digital Marketing
    • Social Media Management
    • Google Marketing
  • Direct Marketing
    • Brand Management
    • Marketing Attribution and Consulting
  • Mobile Marketing
  • Event Management
  • PR Solutions