返回新闻
产品展示AI Understanding 简报

Databricks 概述了 AI Runtime 的容错 PyTorch 训练工具

Databricks 表示,分布式、异步检查点和缓存数据加载可以减少大规模 PyTorch 训练期间的恢复时间和 GPU 空闲时间,同时警告不完整的数据管道检查点可能会默默地扭曲恢复的作业。

5 min readRead the primary source
Primary-source image accompanying Databricks outlines fault-tolerant PyTorch training tools for AI Runtime
主要来源文件来源记录
出版商
databricks.com
来源链接
databricks.comhttps://www.databricks.com/blog/fast-fault-tolerant-pytorch-training-ai-runtime
来源类型
主要文件——我们直接阅读的官方公告、文件、文件或第一方页面。
背景60 秒内了解这一点

从这里开始

关键术语

基准测试
用于测量和比较模型性能的标准化测试或数据集。
参数
模型中学习到的权重会影响其输出。
管道
预处理、模型步骤和后处理阶段的有序工作流程。
测试一下自己AI 模型解释测验

发生了什么

In an August 28, 2026 engineering post, Databricks described AI Runtime APIs for making large PyTorch training jobs more resilient to GPU failures and slower input pipelines. The company recommends distributed checkpointing, asynchronous saves, automatic recovery, local caching and prefetching, and checkpointing the data and random-number-generator state alongside model weights.

The post then recommends PyTorch’s asynchronous save operation. In this design, training pays for a quick copy into a staging buffer while the upload continues in the background. Databricks says AI Runtime’s UCVolumeWriter and UCVolumeReader use local NVMe staging and mark a checkpoint complete only after all data has reached its destination. The approach therefore separates the point at which training can continue from the later completion of storage work, while still tying checkpoint completion to the destination rather than merely to the local copy. This distinction is central to the post’s description of fault-tolerant training and its recovery workflow.

In company-reported comparisons, a 2.8-billion- DDP language model on 32 H100 GPUs took 36 seconds with async_save versus 66 seconds with torch.save, or 1.8 times faster. For a 20-billion-parameter model on 32 H100 GPUs, the table reports 9 seconds versus 522 seconds, or 58 times faster. These figures describe the checkpoint-time comparison presented by Databricks for the stated models and hardware. They are offered as evidence for the value of asynchronous saving, while remaining tied to the configurations and measurement context described in the post.

The post says the comparison excludes torch.save’s network-storage time. That qualification defines what the reported timing comparison does and does not cover. The recommendation is consequently broader than a single speed figure: distributed checkpointing, background saving, automatic recovery, local staging, caching and prefetching are presented as related parts of the resilience design. Together, the details show how Databricks connects checkpoint mechanics with the practical problem of keeping a large training job moving after interruptions or slow input delivery, without changing the measurements reported in the source.

来源详情: databricks.com ↗

为什么这很重要

Large AI training runs can waste substantial accelerator time when a job fails, waits for data, or resumes from the wrong place in a dataset. Databricks presents specific measurements suggesting that its approach can improve checkpoint time and image-training throughput, although the figures are company-reported and depend on the tested hardware, workload and storage path.

Databricks also identifies a correctness risk that may not produce an obvious failure. If a job saves the model, optimizer and training step but not the data loader’s position, a restart can repeat examples already seen and skip examples that had not yet been processed. The post says that repeated restarts can consequently alter the effective data distribution without producing an error. The concern is therefore about what the resumed job processes, not only whether the job restarts successfully. A checkpoint can appear usable while the relationship between the saved training state and the data position is incomplete.

Its proposed remedies include recording sample or shard offsets, serializing dataset position, or checkpointing at epoch boundaries. These remedies address the missing position information described in the post by making the data part of the recoverable state. The choice among them remains within the implementation guidance Databricks presents, and the underlying requirement is that a resumed job retain the intended relationship between training progress and dataset progress. This is why the post treats data-pipeline checkpointing as part of recovery correctness rather than as an optional performance detail.

It further says shuffle and augmentation seeds and random-number-generator states must be saved so that the resumed data order remains reproducible. Saving those states extends the checkpoint beyond model weights, optimizer information and the training step. In the source’s framing, reproducibility depends on preserving the data loader’s position together with the state that governs ordering and augmentation. The practical implication is that recovery should be evaluated for both continuity and correctness: the job must return to a usable state, and the resumed processing must reflect the state that was intended to be saved.

Interactive Mechanism

互动机制:它实际上是如何运作的

以交互方式探索这一发展背后的基础技术。

Agent Lifecycle Stage:
1
User Intent & Planning: "Audit customer refund request #4092 and settle payment."
2
Tool Calling: Emits structured JSON call crm_get_transaction(id='4092').
3
Guardrail & Verification:🛡️ Paused: High-value action requires human operator sign-off.
4
Final Settlement: Refund recorded, email receipt dispatched, and audit log stored.
Core takeaway: An AI agent is not just a language model—it is a closed loop of planning, tool invocation, and environment feedback. Production systems require self-healing retries and strict human approval guardrails.
交互式概念检查+10 Points
AI Models Explained Quiz

Which component of an AI application is the machine-learning model itself?

接下来看什么

The important follow-up is whether these results hold outside Databricks’ stated configurations and whether the APIs are broadly available with clear compatibility, pricing and operational guidance. Users should also look for independent tests of recovery correctness, checkpoint durability, cluster resizing and data-order preservation, not just faster runs.

Databricks says its DataLoader records fetch_seconds in MLflow, giving operators a way to identify batches that leave GPUs waiting. That metric could make the system easier to diagnose, but it does not by itself establish lower total cost or better model quality. It provides an observation about fetch time and possible GPU waiting, while the larger outcome depends on the rest of the training and storage path. The metric is therefore useful as an operational signal within the proposed system, but it is not presented as a complete measure of the system’s value.

Users will need end-to-end accounting that includes local NVMe capacity, cache warm-up, network transfer, storage charges, failed-job frequency and the computational cost of any duplicated or altered training data. Those considerations connect the performance discussion with the correctness issue described above. Faster checkpoint activity or more visible input delays would not, by themselves, resolve the questions about resources, recovery behavior and data handling. The requested accounting should consequently cover the full workflow represented in the source, including the costs and effects that sit outside the individual timings.

The source provides a strong operational thesis and useful implementation guidance, while leaving those broader comparisons unknown. The important follow-up is therefore to examine the stated configurations, availability and operational conditions alongside the reported measurements. Users should look for independent tests of recovery correctness, checkpoint durability, cluster resizing and data-order preservation, not just faster runs. Those checks would help establish whether the described APIs deliver the same behavior beyond the configurations Databricks reports, while preserving the uncertainties identified in the source.

相关指南和测验

人工智能模型解释人工智能培训变形金刚AI 的未来测试你所知道的——尝试免费的人工智能测验在我们的词汇表中查找人工智能术语关注 AI 模型发布跟踪器
觉得这有用吗?