Skip to main content

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.

Download files

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

Source Distribution

rayorch-0.0.1.tar.gz (42.8 kB view details)

Uploaded Source

Built Distribution

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

rayorch-0.0.1-py3-none-any.whl (32.1 kB view details)

Uploaded Python 3

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

Hashes for rayorch-0.0.1.tar.gz
Algorithm Hash digest
SHA256 5923f27d9ba84b6ab89e9b367ce2bf085a897cc6c047d3214c6c8b3ff74850a2
MD5 b907609770efc13393097edabc2fc519
BLAKE2b-256 0124ffd29e7fcba66b8ee2c30eea8cb93847c4c5f931c34885d1568d860d963d

See more details on using hashes here.

Provenance

The following attestation bundles were made for rayorch-0.0.1.tar.gz:

Publisher: python-publish.yml on OpenDCAI/RayOrch

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for rayorch-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a771e29817098dcf2b539d776c9da39db7d652c66ccb1721aca289de20b9bf22
MD5 3b61242d3279c55578994be7b2c293a4
BLAKE2b-256 e2b082ccee387a18497b145e04fe793f59d3e41c7ee6b28cf02b7c7227b20a61

See more details on using hashes here.

Provenance

The following attestation bundles were made for rayorch-0.0.1-py3-none-any.whl:

Publisher: python-publish.yml on OpenDCAI/RayOrch

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 files

Supported by

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