-
Notifications
You must be signed in to change notification settings - Fork 230
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
Skip standalone git submodule calls and the commit history for ExecuT… #690
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think you need the README update here? Also, tests are failing...?
@@ -43,7 +43,7 @@ The following steps require that you have [Python 3.10](https://www.python.org/d | |||
[skip default]: begin | |||
```bash | |||
# get the code | |||
git clone https://github.com/pytorch/torchchat.git | |||
git clone https://github.com/pytorch/torchchat.git --recurse-submodules --shallow-submodules |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we have any submodules for torchchat, so likely don't need this? Instead, we're using pins to checkout with the shell script?
@@ -25,12 +25,9 @@ clone_executorch() { | |||
rm -rf ${TORCHCHAT_ROOT}/${ET_BUILD_DIR} | |||
mkdir -p ${TORCHCHAT_ROOT}/${ET_BUILD_DIR}/src | |||
pushd ${TORCHCHAT_ROOT}/${ET_BUILD_DIR}/src | |||
git clone https://github.com/pytorch/executorch.git | |||
git clone https://github.com/pytorch/executorch.git --recurse-submodules |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Definitely like this one!
I like this idea, but might also be mostly fixed by @mergennachin removing PyTorch as a submodule for ExecuTroch? |
We have a build script for executorch -- can we just use that? Something like
|
In any event, this is a net improvement over the status quo, and let's not let the perfect be the enemy of better. Thanks for the improvements and all your work to build this amazing app as a proof point for ExecuTorch and torchchat capabilities |
Closing old PRs to increase attention of new PRs |
…orch submodules