Skip to content

Conversation

@nicholsonjf
Copy link
Contributor

@nicholsonjf nicholsonjf commented Nov 10, 2025

Summary

Removes a redundant step in the New Contributor Guide

See the below comment for more detail.

#15712 (comment)

Test plan

N/A

@pytorch-bot
Copy link

pytorch-bot bot commented Nov 10, 2025

🔗 Helpful Links

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

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

❌ 1 New Failure, 4 Unrelated Failures

As of commit 4b0acf3 with merge base 6de1f4e (image):

NEW FAILURE - The following job has failed:

BROKEN TRUNK - The following jobs 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.

@meta-cla
Copy link

meta-cla bot commented Nov 10, 2025

Hi @nicholsonjf!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at cla@meta.com. Thanks!

@github-actions
Copy link

This PR needs a release notes: label

If your change should be included in the release notes (i.e. would users of this library care about this change?), please use a label starting with release notes:. This helps us keep track and include your important work in the next release notes.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "release notes: none"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

@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 10, 2025
```bash
git fetch --all --prune
```

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Curious - why remove this section?

Copy link
Contributor Author

@nicholsonjf nicholsonjf Nov 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apologies @lucylq I should have included notes in the PR description. Let me know your thoughts about my recommendation below and I can update the PR if needed.

tl;dr

I actually think this guide would be clearer if Step 4 (how to sync a branch from the GitHub UI) was removed (see the last paragraph below)

Background

When I was working through this guide setting up my dev env, it was a bit confusing why the reader is being instructed to sync their local fork at the end of Step 3, and then again at the beginning of Step 5.

End of Step 3:

Let's sync from both your fork and the main ExecuTorch branch, getting the latest changes from each of them. To do this, run:

git fetch --all --prune

Beginning of Step 5:

  1. Now you have the latest fork on your GitHub account, it's time to download it onto your dev machine. For this, you can run the following commands in your terminal:
git fetch --all --prune   # pull all branches from GitHub
...

It seems like the original intent of Steps 4 and 5 is to demonstrate the two ways you can sync your fork with the ExecuTorch upstream (from GitHub, or from your terminal).

IMO though, I think the part about syncing from the GitHub UI can be removed entirely. If someone is onboarding as a contributor, the more common workflow will be syncing from the terminal. I think it would be clearer to explain how to sync from the terminal, and then mention at the end that it's also possible to sync an individual branch from the GitHub UI, i.e. if you're comparing code in the browser.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the detailed explanation! I didn't realize it was duplicated in step 5, that makes sense.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Btw, feel free to publish and merge.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @lucylq. I published the PR, but some checks failed so I don't think I can merge? Let me know what you recommend to resolve those, or if it's not needed because this is just a documentation change. Also it looks like @mergennachin is marked as an approver so I'm assuming I need to to wait for their approval.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @nicholsonjf this is a docs change and shouldn't cause these test failures - I think they're all pre-existing. hud shows the current status of the executorch tests on main.

The 'approver/owner' tags are not merge-blocking, so the team can approve and unblock land. This PR meets merge requirements (you can click the 'squash and merge' button) but also feel free to wait for Mergen's review.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @lucylq just merged


## Environment Setup
Clone the ExecuTorch repository from GitHub and create a conda environment. Venv can be used in place on conda.
Clone the ExecuTorch repository from GitHub and create a conda environment. Venv can be used in place of conda.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks

@nicholsonjf nicholsonjf marked this pull request as ready for review November 10, 2025 23:56
@lucylq lucylq merged commit a43063d into pytorch:main Nov 19, 2025
138 of 143 checks passed
jirioc pushed a commit to nxp-upstream/executorch that referenced this pull request Dec 19, 2025
### Summary
Removes a redundant step in the New Contributor Guide

See the below comment for more detail.

pytorch#15712 (comment)

### Test plan
N/A
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants