Stage barriers serialize CPU decoding, GPU inference, and I/O, leaving the GPU waiting for decoded batches.
Turn raw media into training-ready data.
Use native file, image, audio, and video types to prepare training data with SQL and Python. Add model labeling, embedding, quality filters, and deduplication, then write to files or lake formats and scale from local execution to Ray clusters.
Overlaps heterogeneous resources.
Traditional pipelines create stage barriers and pipeline bubbles. Vane overlaps CPU, GPU, and I/O workloads through streaming execution and dynamic batching.

Dynamic batching overlaps CPU decoding, GPU inference, and I/O streaming, completing the same pipeline earlier.
Faster pipelines, in far less code.
Performance — Overlap CPU, GPU, and I/O work
From data preparation to embedding, pipeline efficiency matters. Vane coordinates processing and data movement across heterogeneous resources.
- Efficient heterogeneous executionOverlap CPU processing, GPU inference, data movement, and I/O asynchronously, enabling heterogeneous resources to work concurrently instead of waiting on each other.
- Streaming execution with backpressure & dynamic batchingContinuously process large-scale media and sensor data with adaptive batching and flow control, with backpressure to manage memory usage.
- Ray-Native distributed scalingScale data preparation from a local runtime to a Ray cluster, with CPU, GPU, and memory requirements declared per processing stage.
Simplicity — Native types, familiar interfaces
Multimodal data workflows often require multiple systems and layers of orchestration. Vane unifies data processing, AI inference, and dataset preparation into a single execution graph.
- Native multimodal processingFILE, IMAGEFILE, AUDIOFILE, and VIDEOFILE carry file references. Built-in operations inspect metadata, decode and resize images, resample audio, and extract video frames.
- SQL and Python togetherCombine SQL quality filters and deduplication with your Python UDFs or AI functions for labeling and embedding, including GPU workloads.
- Connect training data storageRead and write Lance or Iceberg through separately installed providers, or export Parquet files as in the example below.
Prepare uniform image samples with native types.
Use the three sample images created in the quickstart. Inspect their dimensions, keep images at least 300 pixels wide, and export two 224 × 224 PNG samples as bytes in Parquet. No model credentials or GPU are needed.
Storage providers: Lance · Iceberg
from pathlib import Path import vane con = vane.connect() assets = Path("quickstart-images").resolve() files = vane.from_files( [str(assets / f"{name}.png") for name in ("large", "medium", "small")], connection=con, ) images = con.sql("SELECT image_file(file) AS source FROM files") metadata = con.sql(""" SELECT source, image_file_metadata(source) AS info FROM images """) samples = con.sql(""" SELECT source.url AS source_uri, info.width AS source_width, info.height AS source_height, encode_image( resize(decode_image_file(source, 'RGB'), 224, 224), 'PNG' ) AS image_bytes FROM metadata WHERE info.width >= 300 """) samples.write_parquet("training-image-samples.parquet")