Skip to main content

Dagster integration library for Ray

Project description

dagster-ray

PyPI version License Python versions CI pre-commit basedpyright - checked Ruff


Ray integration for Dagster.

dagster-ray enables working with distributed Ray compute from Dagster pipelines, combining Dagster's excellent orchestration capabilities and Ray's distributed computing power together.

[!NOTE] This project is ready for production use, but some APIs may change between minor releases.

Learn more in the docs

🚀 Key Features

  • 🎯 Run Launchers & Executors: Submit Dagster runs or individual steps by submitting Ray jobs
  • 🔧 Ray Resources: Automatically create and destroy ephemeral Ray clusters and connect to them in client mode
  • 📡 Dagster Pipes Integration: Submit external scripts as Ray jobs, stream back logs and rich Dagster metadata
  • ☸️ KubeRay Support: Utilize RayJob and RayCluster custom resources in client or job submission mode (tutorial)
  • 🏭 Production Ready: Tested against a matrix of core dependencies, integrated with Dagster+
  • ⚡ Instant Startup: Leverage RayCluster with Cluster Sharing for lightning-fast development cycles with zero cold start times (intended for development environments)

Installation

pip install dagster-ray

📚 Docs

📖 Full Documentation

🤝 Contributing

Contributions are very welcome! To get started:

uv sync --all-extras --all-groups
uv run pre-commit install

🧪 Testing

uv run pytest

Running KubeRay tests requires the following tools to be present:

  • docker
  • kubectl
  • helm
  • minikube

❄️ Nix users will find them provided in the dev shell:

nix develop

Documentation

To build and serve the documentation locally:

# Serve documentation locally
uv run --group docs mkdocs serve

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dagster_ray-0.4.1.tar.gz (221.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dagster_ray-0.4.1-py3-none-any.whl (60.8 kB view details)

Uploaded Python 3

File details

Details for the file dagster_ray-0.4.1.tar.gz.

File metadata

  • Download URL: dagster_ray-0.4.1.tar.gz
  • Upload date:
  • Size: 221.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.2

File hashes

Hashes for dagster_ray-0.4.1.tar.gz
Algorithm Hash digest
SHA256 a3e272dc6d74119bad216c0a196eed3d080dd2fb07b05d95717d63f2d0c05c4b
MD5 d48731ad689ac9abb720e8dbbe2a2bf4
BLAKE2b-256 4a5cdaa8240aa1217e2eb91b54179d71bc7f08c1d8bf3510e139d2ad7a549345

See more details on using hashes here.

File details

Details for the file dagster_ray-0.4.1-py3-none-any.whl.

File metadata

File hashes

Hashes for dagster_ray-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 40b2aa2299b30f4f52db1d41780143815f688ffffdc24f84520a5ee4d1425501
MD5 114d58897b2c66c9f8478236f19fba80
BLAKE2b-256 baf2a36882cdf7849c3a2bffca30b04c7eda15bb6f996646c9d4eb77b767c9d0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page