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.2.tar.gz (224.4 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.2-py3-none-any.whl (61.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dagster_ray-0.4.2.tar.gz
  • Upload date:
  • Size: 224.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.27 {"installer":{"name":"uv","version":"0.9.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for dagster_ray-0.4.2.tar.gz
Algorithm Hash digest
SHA256 959dbce1936bc5b552b49e9b3d55ad2c30cc4ea15f0de209acbdbbefec1af149
MD5 9416d4005326c2790a1550821a002814
BLAKE2b-256 8582681dfe5e46554983175277dd5f49b96cd5c231f8177b19c5656e8cfe66c4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dagster_ray-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 61.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.27 {"installer":{"name":"uv","version":"0.9.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for dagster_ray-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6dc85552a6f943189fb0eae2334438927536605db6fd227ccf85ebd580882f19
MD5 bfe24d3e344a823d9a35d00b995a6dc9
BLAKE2b-256 eb409861e284adb6e3ed7c1c80a493b7e8e15276ca1733b8141ab6a7b143136f

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