ray-data

Process large ML datasets with distributed streaming execution across CPU and GPU clusters.

5|2|Updated Aug 10, 2026
One-click install
npx skills add https://github.com/MedTiLab/Auto-meta-analysis --skill ray-data-medtilab
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: ray-data
Source: https://github.com/MedTiLab/Auto-meta-analysis/tree/main/skills/data-processing/ray-data
Command: npx skills add https://github.com/MedTiLab/Auto-meta-analysis --skill ray-data-medtilab

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires ray[data], pyarrow, pandas, and includes references (resource) components.

What problem does it solve? Processing datasets larger than memory or scaling data preprocessing and batch inference from a single machine to a cluster requires distributed infrastructure that is difficult to build manually. ## Core Features & Use Cases - Streaming Data Processing: Read and transform Parquet, CSV, JSON, and image data larger than memory with lazy, streaming execution. - GPU-Accelerated Transforms: Run vectorized map_batches operations on GPUs for image and multi-modal preprocessing. - ML Framework Integration: Feed data directly into Ray Train, PyTorch, and TensorFlow training loops with automatic dataset sharding. - Use Case: Run distributed batch inference by loading a model once per worker, applying it to millions of rows with map_batches, and writing predictions back to Parquet. ## Quick Start Use the ray-data skill to load a Parquet dataset from S3, apply a preprocessing transformation with map_batches, and write the results back to cloud storage.

Frequently Asked Questions about ray-data

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I process large datasets with Ray Data?▼

Load data with ray.data.read_parquet or read_csv, apply transformations with map_batches for vectorized operations, and consume results with iter_batches. Streaming execution lets you process data larger than available memory.

Ray Data vs Pandas vs Spark for data processing?▼

Use Pandas for small data under 1GB on a single machine, Spark for enterprise SQL-based ETL, and Ray Data for ML workloads over 100GB needing GPU acceleration and integration with training frameworks like PyTorch.

Does Ray Data support GPU-accelerated preprocessing?▼

Yes, pass num_gpus=1 to map_batches to run transforms on GPUs. This is commonly used for image and audio preprocessing, where benchmarks show roughly 5x throughput per GPU compared to CPU-only execution.

How do I use Ray Data with PyTorch training?▼

Convert the dataset with ds.to_torch specifying the label column and batch size, or use iter_torch_batches. With Ray Train, pass datasets to TorchTrainer and access shards via ray.train.get_dataset_shard inside the training function.

What data formats does Ray Data support?▼

Ray Data reads and writes Parquet, CSV, JSON, and NumPy, and reads images and pandas DataFrames. Parquet is the recommended format for ML data due to efficient columnar storage and streaming reads.

When should I not use Ray Data?▼

Avoid Ray Data for small datasets under 1GB where Pandas is simpler, or for SQL-heavy enterprise ETL where Spark fits better. Ray Data targets ML pipelines, batch inference, and multi-modal loading rather than general analytics queries.