Google
Google logoGoogle · Feature trail

High-Performance Data Pipelines

2 posts · Aug 2024 – Oct 2025

What this trail covers

This thread tracks the evolution of building high-performance data pipelines for machine learning, focusing on efficient data loading, storage formats, and embedding generation. It introduces Grain, a data loading library for JAX, and ArrayRecord, a highly efficient file format. The thread also covers methods for converting existing datasets (like TFRecord) to ArrayRecord using tools like TensorFlow Datasets CLI and Apache Beam. The Gemini API now offers an experimental text embedding model, which has been generally available since July 2025, supporting over 100 languages with a 2048 maximum input token length and utilizing Matryoshka Representation Learning (MRL) for scalable output dimensions. Pricing is $0.15 per 1M input tokens, with free and paid tiers available. Support for the Batch API is also planned.

All Google trails