Skip to content

Conversation

@kiukchung
Copy link
Contributor

Summary:
The torchx.schedulers.Scheduler interface was made overly generic to overload the concept of an "orchestration" scheduler in #1022.

DAG orchestration has never been something torchx should've supported natively. Instead torchx AppDefs can be adapted to an orchestrator framework's notion of a "NodeDefinition". This way users can use job definitions defined using torchx's AppDef as a node in a DAG to string together applications in a specific execution order.

This PR/Diff reverts the over-genericized torchx.schedulers.Scheduler back to supporting AppDef and AppDryRunInfo as the primitives.

Differential Revision: D87901987

@meta-codesync
Copy link

meta-codesync bot commented Nov 26, 2025

@kiukchung has exported this pull request. If you are a Meta employee, you can view the originating Diff in D87901987.

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 26, 2025
facebook-github-bot pushed a commit that referenced this pull request Nov 26, 2025
Summary:

The `torchx.schedulers.Scheduler` interface was made overly generic to overload the concept of an "orchestration" scheduler in #1022.

DAG orchestration has never been something torchx should've supported natively. Instead torchx AppDefs can be adapted to an orchestrator framework's notion of a "NodeDefinition". This way users can use job definitions defined using torchx's AppDef as a node in a DAG to string together applications in a specific execution order.

This PR/Diff reverts the over-genericized `torchx.schedulers.Scheduler` back to supporting `AppDef` and `AppDryRunInfo` as the primitives.

Differential Revision: D87901987
Summary:

The `torchx.schedulers.Scheduler` interface was made overly generic to overload the concept of an "orchestration" scheduler in #1022.

DAG orchestration has never been something torchx should've supported natively. Instead torchx AppDefs can be adapted to an orchestrator framework's notion of a "NodeDefinition". This way users can use job definitions defined using torchx's AppDef as a node in a DAG to string together applications in a specific execution order.

This PR/Diff reverts the over-genericized `torchx.schedulers.Scheduler` back to supporting `AppDef` and `AppDryRunInfo` as the primitives.

Reviewed By: AbishekS

Differential Revision: D87901987
@meta-codesync meta-codesync bot merged commit 8dcad29 into main Nov 26, 2025
5 of 6 checks passed
@meta-codesync meta-codesync bot deleted the export-D87901987 branch November 26, 2025 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants