Databricks发布UCDataset测试版
Databricks在AI Runtime上以测试版形式发布Unity Catalog Dataset(UCDataset),这是一款原生PyTorch数据加载器,可将Unity Catalog表直接流式传输至训练GPU,无需导出、复制数据或编写自定义加载代码。它在读取时应用行过滤和删除向量,将匹配行分配给各GPU及数据加载工作进程,并执行Unity Catalog权限控制。Databricks称,在一项模拟生产工作负载中,通过8块NVIDIA H100 GPU流式读取300 GB特征表时,训练时间比读取导出的Parquet副本快10倍。
UCDataset有望在保持Unity Catalog治理的同时,简化分布式PyTorch训练中常见的数据导出与复制流程,但其宣称的10倍提速尚未得到独立验证。
GPUs are usually the most expensive part of any training run, and most teams can't keep them busy. The bottleneck usually isn't the model. It's getting data from where it lives to the GPU fast enough - and every second those chips sit waiting, you're burning both time and money.
Today we're releasing the Unity Catalog Dataset (UCDataset) in Beta on AI Runtime. UCDataset is a native PyTorch data loader that streams Unity Catalog tables directly to every GPU in your training job, with no exports, no copies, and no custom loader code.
On simulated production workloads, UCDataset cut training time by 10x compared with reading an exported Parquet copy of the same data.
The problem: Your GPUs are waiting on your data
Most training data for your models already lives in Unity Catalog tables. Getting it into a distributed training job means picking one of three workarounds, and each one costs you time and money:
- **Slow, tedious exports before every run:**The most common pattern is to export the table to Parquet (or another shard format) in a volume before every run, then point a dataset at the files. You pay to store a second copy, it goes stale the moment new data lands, and it falls outside Unity Catalog lineage.
- **Pulling the whole table into memory doesn’t scale:**Reading the table into pandas with toPandas() works for small tables and fails on large ones. It also lands everything on one node, which doesn't help a job that trains on 32 GPUs.
- Streaming through a warehouse is slow: Warehouses weren't natively built to feed GPUs and without optimization will get throttled when many GPUs read at once.
#Databricks#UCDataset#Unity Catalog#PyTorch#Databricks AI Runtime