Dagster integration library for Ray
Project description
dagster-ray
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
RayJobandRayClustercustom resources in client or job submission mode (tutorial) - 🏭 Production Ready: Tested against a matrix of core dependencies, integrated with Dagster+
- ⚡ Instant Startup: Leverage
RayClusterwith Cluster Sharing for lightning-fast development cycles with zero cold start times (intended for development environments)
Installation
pip install dagster-ray
📚 Docs
- Tutorial: Step-by-step guide with examples
- API Reference: Complete API reference
🤝 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:
dockerkubectlhelmminikube
❄️ 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a3e272dc6d74119bad216c0a196eed3d080dd2fb07b05d95717d63f2d0c05c4b
|
|
| MD5 |
d48731ad689ac9abb720e8dbbe2a2bf4
|
|
| BLAKE2b-256 |
4a5cdaa8240aa1217e2eb91b54179d71bc7f08c1d8bf3510e139d2ad7a549345
|
File details
Details for the file dagster_ray-0.4.1-py3-none-any.whl.
File metadata
- Download URL: dagster_ray-0.4.1-py3-none-any.whl
- Upload date:
- Size: 60.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
40b2aa2299b30f4f52db1d41780143815f688ffffdc24f84520a5ee4d1425501
|
|
| MD5 |
114d58897b2c66c9f8478236f19fba80
|
|
| BLAKE2b-256 |
baf2a36882cdf7849c3a2bffca30b04c7eda15bb6f996646c9d4eb77b767c9d0
|