Skip to content

Conversation

@ishachirimar
Copy link
Contributor

Summary:
OrchestratorRunner was not being correctly initialized for JSON cases since the JSON input was parsed after Runner initialized.

This diff moves some of the logic around to make sure:

  • in FB version, the correct scheduler is logged
  • JSON parsing isn't repeated unnecessarily
  • if JSON mode is used, the scheduler is parsed before getting the runner to account for single_orchestrator_runner scheduler usage

Differential Revision: D81705462

@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 Sep 4, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D81705462

ishachirimar added a commit to ishachirimar/torchx that referenced this pull request Sep 4, 2025
Summary:

`OrchestratorRunner` was not being correctly initialized for JSON cases since the JSON input was parsed after Runner initialized.

This diff moves some of the logic around to make sure:
- in FB version, the correct scheduler is logged
- JSON parsing isn't repeated unnecessarily
- if JSON mode is used, the scheduler is parsed before getting the runner to account for `single_orchestrator_runner` scheduler usage

Differential Revision: D81705462
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D81705462

ishachirimar added a commit to ishachirimar/torchx that referenced this pull request Sep 4, 2025
Summary:

`OrchestratorRunner` was not being correctly initialized for JSON cases since the JSON input was parsed after Runner initialized.

This diff moves some of the logic around to make sure:
- in FB version, the correct scheduler is logged
- JSON parsing isn't repeated unnecessarily
- if JSON mode is used, the scheduler is parsed before getting the runner to account for `single_orchestrator_runner` scheduler usage

Differential Revision: D81705462
ishachirimar added a commit to ishachirimar/torchx that referenced this pull request Sep 4, 2025
Summary:

`OrchestratorRunner` was not being correctly initialized for JSON cases since the JSON input was parsed after Runner initialized.

This diff moves some of the logic around to make sure:
- in FB version, the correct scheduler is logged
- JSON parsing isn't repeated unnecessarily
- if JSON mode is used, the scheduler is parsed before getting the runner to account for `single_orchestrator_runner` scheduler usage

Differential Revision: D81705462
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D81705462

1 similar comment
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D81705462

ishachirimar added a commit to ishachirimar/torchx that referenced this pull request Sep 4, 2025
Summary:
Pull Request resolved: meta-pytorch#1108

`OrchestratorRunner` was not being correctly initialized for JSON cases since the JSON input was parsed after Runner initialized.

This diff moves some of the logic around to make sure:
- in FB version, the correct scheduler is logged
- JSON parsing isn't repeated unnecessarily
- if JSON mode is used, the scheduler is parsed before getting the runner to account for `single_orchestrator_runner` scheduler usage

Differential Revision: D81705462
Summary:

`OrchestratorRunner` was not being correctly initialized for JSON cases since the JSON input was parsed after Runner initialized.

This diff moves some of the logic around to make sure:
- in FB version, the correct scheduler is logged
- JSON parsing isn't repeated unnecessarily
- if JSON mode is used, the scheduler is parsed before getting the runner to account for `single_orchestrator_runner` scheduler usage

Reviewed By: daniel-ohayon

Differential Revision: D81705462
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D81705462

@facebook-github-bot facebook-github-bot merged commit 2eb5d14 into meta-pytorch:main Sep 5, 2025
23 of 24 checks passed
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants