Skip to content

Pass in correct backend id into data load from runtime #4218

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from

Conversation

jackzhxng
Copy link
Contributor

@jackzhxng jackzhxng commented Jul 11, 2024

Summary

The runtime now passes in the backend id into the SegmentInfo for its load() call.

Diff stack:

  • ( ) [1/n][executorch] Introduce new DataLoader::load() with segment info
  • ( ) [2/n][executorch] Switch to DataLoader::load in runtime
  • (x) [3/n][executorch] Pass in correct backend id into data load from runtime

Differential Revision: D59606243

Copy link

pytorch-bot bot commented Jul 11, 2024

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/4218

Note: Links to docs will display an error until the docs builds have been completed.

✅ You can merge normally! (1 Unrelated Failure)

As of commit 5edbae8 with merge base d159de2 (image):

BROKEN TRUNK - The following job failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot facebook-github-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 Jul 11, 2024
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

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

Jack Zhang added 2 commits July 12, 2024 17:20
Summary: Adds a new DataLoader::load() function with an additonal parameter, SegmentInfo.

Differential Revision: D59399538
Summary: Makes the appropriate changes in runtime code to deprecate DataLoader::Load in favor of DataLoader::load with the next SegmentInfo.

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

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

jackzhxng added a commit to jackzhxng/executorch that referenced this pull request Jul 13, 2024
Summary:
Pull Request resolved: pytorch#4218

The runtime now passes in the backend id into the SegmentInfo for its load() call.

Diff stack:
- (  ) [[1/n][executorch] Introduce new DataLoader::load() with segment info](https://www.internalfb.com/diff/D59399538?dst_version_fbid=2979141262226992)
- (  ) [[2/n][executorch] Switch to DataLoader::load in runtime](https://www.internalfb.com/diff/D59594142)
- (**x**) [[3/n][executorch] Pass in correct backend id into data load from runtime](https://www.internalfb.com/diff/D59606243)

Reviewed By: dbort

Differential Revision: D59606243
jackzhxng added a commit to jackzhxng/executorch that referenced this pull request Jul 13, 2024
Summary:
Pull Request resolved: pytorch#4218

The runtime now passes in the backend id into the SegmentInfo for its load() call.

Diff stack:
- (  ) [[1/n][executorch] Introduce new DataLoader::load() with segment info](https://www.internalfb.com/diff/D59399538?dst_version_fbid=2979141262226992)
- (  ) [[2/n][executorch] Switch to DataLoader::load in runtime](https://www.internalfb.com/diff/D59594142)
- (**x**) [[3/n][executorch] Pass in correct backend id into data load from runtime](https://www.internalfb.com/diff/D59606243)

Reviewed By: dbort

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

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

Summary:
Pull Request resolved: pytorch#4218

The runtime now passes in the backend id into the SegmentInfo for its load() call.

Diff stack:
- (  ) [[1/n][executorch] Introduce new DataLoader::load() with segment info](https://www.internalfb.com/diff/D59399538?dst_version_fbid=2979141262226992)
- (  ) [[2/n][executorch] Switch to DataLoader::load in runtime](https://www.internalfb.com/diff/D59594142)
- (**x**) [[3/n][executorch] Pass in correct backend id into data load from runtime](https://www.internalfb.com/diff/D59606243)

Reviewed By: dbort

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

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 93a7725.

@jackzhxng jackzhxng deleted the export-D59606243 branch July 18, 2024 23:56
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 Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants