Skip to content

[0.6 documentation] Fix Page Developer Tools: Bundled Program #10222

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

Merged
merged 1 commit into from
Apr 16, 2025

Conversation

pytorchbot
Copy link
Collaborator

This PR was created by the merge bot to help merge the original PR into the main branch.
ghstack PR number: #10194 by @zhenyan-zhang-meta
^ Please use this as the source of truth for the PR details, comments, and reviews
ghstack PR base: https://github.com/pytorch/executorch/tree/gh/zhenyan-zhang-meta/3/base
ghstack PR head: https://github.com/pytorch/executorch/tree/gh/zhenyan-zhang-meta/3/head
Merge bot PR base: https://github.com/pytorch/executorch/tree/main
Merge bot PR head: https://github.com/pytorch/executorch/tree/gh/zhenyan-zhang-meta/3/orig
@diff-train-skip-merge

Pull Request resolved: #10194

#10193

- Update the hyperlink of “Generate Sample ExecuTorch program”, as this part has been heavily revamped in v0.6:
  - Update to https://pytorch.org/executorch/0.6/getting-started.html#exporting
- Fixed the emit stage sample code:
  - Use `register_buffer` as warning suggests.
  - Update `to_edge` to be `to_edge_transform_and_lower`, as updated in https://pytorch.org/executorch/0.6/getting-started.html.
- Remove function blocks for `get_program_data`, `load_bundled_input` and `load_bundled_output`, as there are no other similar usage in the doc.
  - Changed to links of real-world examples.
- Remove hard-coded cpp code examples.
  - For APIs, provide links to real-world examples.
  - For runtime example, change to a ready-to-use snippet for people to quickly try out.
ghstack-source-id: 278385371
@exported-using-ghexport

Differential Revision: [D73027728](https://our.internmc.facebook.com/intern/diff/D73027728/)
Copy link

pytorch-bot bot commented Apr 16, 2025

🔗 Helpful Links

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

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

❌ 1 New Failure

As of commit 039eea8 with merge base 047bbc7 (image):

NEW FAILURE - The following job has failed:

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 Apr 16, 2025
@zhenyan-zhang-meta
Copy link
Contributor

@pytorchbot label "topic: not user facing"

@zhenyan-zhang-meta zhenyan-zhang-meta merged commit bb60c25 into main Apr 16, 2025
82 of 84 checks passed
@zhenyan-zhang-meta zhenyan-zhang-meta deleted the gh/zhenyan-zhang-meta/3/orig branch April 16, 2025 07:49
@zhenyan-zhang-meta
Copy link
Contributor

@pytorchbot cherry-pick --onto release/0.6 -c docs

pytorchbot added a commit that referenced this pull request Apr 16, 2025
@pytorchbot
Copy link
Collaborator Author

Cherry picking #10222

The cherry pick PR is at #10229 The following tracker issues are updated:

Details for Dev Infra team Raised by workflow job

keyprocedure pushed a commit to keyprocedure/executorch that referenced this pull request Apr 21, 2025
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. topic: not user facing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants