Lightweight Ray orchestration for overlapped and DAG pipelines
Project description
RayOrch
Lightweight orchestration utilities for building asynchronous Ray pipelines with
RayModule, overlapped microbatch execution, and DAG-style scheduling.
Install
pip install rayorch
For development:
pip install -r requirements-dev.txt
Core Concepts
RayModule: wraps an operator class into Ray actors with optional replica dispatch and collect.OverlappedPipeline: graphless microbatch overlap with backpressure.DagPipeline/DagPipelineExecutor: explicit dependency DAG scheduling.
Minimal Example
from rayorch import OverlappedPipeline, RayModule
class AddOne:
def run(self, x):
return x + 1
class Pipe(OverlappedPipeline):
def __init__(self):
self.a = RayModule(AddOne, replicas=1).pre_init()
self.b = RayModule(AddOne, replicas=1).pre_init()
super().__init__(max_inflight=4)
def forward(self, x):
return self.b(self.a(x))
pipe = Pipe()
print(pipe([1, 2, 3])) # [3, 4, 5]
License
Apache-2.0. See LICENSE.
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 rayorch-0.0.1.tar.gz.
File metadata
- Download URL: rayorch-0.0.1.tar.gz
- Upload date:
- Size: 42.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5923f27d9ba84b6ab89e9b367ce2bf085a897cc6c047d3214c6c8b3ff74850a2
|
|
| MD5 |
b907609770efc13393097edabc2fc519
|
|
| BLAKE2b-256 |
0124ffd29e7fcba66b8ee2c30eea8cb93847c4c5f931c34885d1568d860d963d
|
Provenance
The following attestation bundles were made for rayorch-0.0.1.tar.gz:
Publisher:
python-publish.yml on OpenDCAI/RayOrch
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rayorch-0.0.1.tar.gz -
Subject digest:
5923f27d9ba84b6ab89e9b367ce2bf085a897cc6c047d3214c6c8b3ff74850a2 - Sigstore transparency entry: 1238717169
- Sigstore integration time:
-
Permalink:
OpenDCAI/RayOrch@3c0c7be4ce11a0306dea78efb27b5e93ab16931f -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/OpenDCAI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@3c0c7be4ce11a0306dea78efb27b5e93ab16931f -
Trigger Event:
release
-
Statement type:
File details
Details for the file rayorch-0.0.1-py3-none-any.whl.
File metadata
- Download URL: rayorch-0.0.1-py3-none-any.whl
- Upload date:
- Size: 32.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a771e29817098dcf2b539d776c9da39db7d652c66ccb1721aca289de20b9bf22
|
|
| MD5 |
3b61242d3279c55578994be7b2c293a4
|
|
| BLAKE2b-256 |
e2b082ccee387a18497b145e04fe793f59d3e41c7ee6b28cf02b7c7227b20a61
|
Provenance
The following attestation bundles were made for rayorch-0.0.1-py3-none-any.whl:
Publisher:
python-publish.yml on OpenDCAI/RayOrch
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rayorch-0.0.1-py3-none-any.whl -
Subject digest:
a771e29817098dcf2b539d776c9da39db7d652c66ccb1721aca289de20b9bf22 - Sigstore transparency entry: 1238717170
- Sigstore integration time:
-
Permalink:
OpenDCAI/RayOrch@3c0c7be4ce11a0306dea78efb27b5e93ab16931f -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/OpenDCAI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@3c0c7be4ce11a0306dea78efb27b5e93ab16931f -
Trigger Event:
release
-
Statement type: