ray

Automate scalable data processing tasks with Ray across clusters.

3|2|Updated Jan 29, 2026
One-click install
npx skills add https://github.com/zilliztech/milvus-marketplace --skill ray-zilliztech
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ray
Source: https://github.com/zilliztech/milvus-marketplace/tree/main/plugins/core/skills/ray
Command: npx skills add https://github.com/zilliztech/milvus-marketplace --skill ray-zilliztech

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables scalable, fault-tolerant orchestration for data processing tasks using Ray, enabling parallel execution and efficient resource management across CPU and GPU clusters.

Core Features & Use Cases

  • Ray Task - Parallel Functions: Convert regular functions into parallelizable tasks via ray.remote for concurrent processing.
  • Ray Actor - Stateful Services: Maintain loaded models and state across requests to avoid repeated initializations.
  • Ray Data - Large-scale Pipelines: Build end-to-end pipelines with map, map_batches, and batch writes to storage.
  • Common Patterns: Batch processing, multi-step pipelines, and GPU-accelerated workloads.
  • Use Case: Process thousands of files (PDFs, videos) in parallel, orchestrate ETL-like steps, and scale out on a cluster.

Quick Start

Install Ray and run a minimal example to parallelize a function across items.

Frequently Asked Questions about ray

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

FAQPage Schema
How do I parallelize data processing tasks across multiple machines?

Distributed processing with Ray converts functions into parallelizable tasks using ray.remote, enabling concurrent execution across CPU and GPU clusters. Ray handles resource management and fault tolerance automatically, scaling from single machines to large clusters without code changes.

Can I process large batches of files like PDFs and videos in parallel?

Ray Data pipelines enable batch processing of thousands of files concurrently. Use map, map_batches, and batch writes to orchestrate end-to-end ETL workflows, with built-in parallelization across available resources for video processing, PDF parsing, and multi-step data operations.

What's the difference between Ray Tasks and Ray Actors for data processing?

Ray Tasks parallelize stateless functions for concurrent execution, while Ray Actors maintain loaded models and state across requests, avoiding repeated initializations. Choose Tasks for one-off parallel work and Actors for services requiring persistent state or resource reuse.

Do I need GPU support for Ray data pipelines?

GPU support is optional in Ray. The core library runs on CPU for standard batch processing and ETL tasks. GPU acceleration is available for compute-intensive workloads like video processing when optional GPU components are configured in your cluster.

How does Ray handle failures in multi-step data pipelines?

Ray provides fault-tolerant orchestration through distributed task scheduling and automatic recovery. Failed tasks can be retried, and Ray's lineage tracking enables recovery without reprocessing completed steps in multi-step pipelines across clusters.