Skip to content

Commit 5192049

Browse files
committed
Move submodule handling to before install requirements
Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags:
1 parent 614ced3 commit 5192049

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install_executorch.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,6 @@ def main(args):
179179
# latest PT commit otherwise
180180
use_pytorch_nightly = False
181181

182-
install_requirements(use_pytorch_nightly)
183-
184182
# If --pybind is not set explicitly for backends (e.g., --pybind xnnpack)
185183
# or is not turned off explicitly (--pybind off)
186184
# then install XNNPACK by default.
@@ -207,6 +205,8 @@ def main(args):
207205
# Check if the required submodules are present and update them if not
208206
check_and_update_submodules()
209207

208+
install_requirements(use_pytorch_nightly)
209+
210210
# Run the pip install command
211211
subprocess.run(
212212
[

0 commit comments

Comments
 (0)