Skip to content

Commit 81ba4d4

Browse files
cccclaifacebook-github-bot
authored andcommitted
fix typo and add one more dependency
Summary: Went through https://www.internalfb.com/code/fbsource/xplat/executorch/docs/website/docs/contributors/build.md to export a model from github repo Reviewed By: angelayi Differential Revision: D47537992 fbshipit-source-id: edadc482f42574c86c05a71bb559b38d9cf42c4d
1 parent 0d0d77e commit 81ba4d4

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

docs/website/docs/contributors/build.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,23 +24,19 @@ Step 2: Set up Executorch. This will install an `executorch` pip package to you
2424
mkdir -p ~/src/
2525
cd ~/src/
2626

27-
# Do one of these, depending on how your auth is set up
28-
git clone https://github.com/pytorch/executorch.git
27+
# Do one of these, depending on how your auth is set up
28+
git clone https://github.com/pytorch/executorch.git
2929
git clone [email protected]:pytorch/executorch.git
3030

31-
(cd executorch && git checkout demo_2023_06)
32-
3331
./executorch/install.sh
3432

35-
# cd into a directory that doesn't contain a `./executorch/exir` directory, since
36-
# otherwise python will try using it for `import executorch.exir...` instead of using the
33+
# cd into a directory that doesn't contain a `./executorch/exir` directory, since
34+
# otherwise python will try using it for `import executorch.exir...` instead of using the
3735
# installed pip package.
38-
cd ~/
36+
cd ~/
3937
```
4038

4139
Step 3: Try it out!
4240
```
43-
python ~/src/executorch/examples/export/export_examples.py -m "add"
41+
python ~/src/executorch/examples/export/export_example.py -m "add"
4442
```
45-
46-

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ version = "0.1.0"
88
dependencies=[
99
"ruamel.yaml",
1010
"pyyaml",
11+
"sympy",
1112
]
1213

1314
[tool.setuptools.packages.find]

0 commit comments

Comments
 (0)