Skip to content

Commit 0e6a9dd

Browse files
tarun292facebook-github-bot
authored andcommitted
Fix typos and formatting in setting_up_executorch.md
Summary: ^ Created from CodeHub with https://fburl.com/edit-in-codehub Reviewed By: larryliu0820 Differential Revision: D47805507 fbshipit-source-id: 2905836f459fee15f4659f7544d04970dac3c050
1 parent e2eb212 commit 0e6a9dd

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/website/docs/tutorials/setting_up_executorch.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ conda activate executorch
1414
conda install -c conda-forge flatbuffers
1515

1616
# Install the nightly builds
17-
# Note that ff you are behind firewall,
18-
# appropriate proxy server must be setup for all subsequent steps
17+
# Note that if you are behind a firewall an appropriate proxy server must
18+
# be setup for all subsequent steps
1919
pip install --pre torch -i https://download.pytorch.org/whl/nightly/cpu
2020
```
2121

@@ -40,13 +40,13 @@ cd executorch
4040
**Step 3: Try it out**
4141

4242
Via python script:
43-
```
43+
```bash
4444
# Creates the file `add.ff`
4545
python ~/src/executorch/examples/export/export_example.py -m "add"
4646
```
4747

4848
Or via python interpreter:
49-
```
49+
```python
5050
(executorch) ~/ $ python
5151
>>> import executorch.exir as exir
5252
>>> from executorch.exir.tests.models import Mul
@@ -73,21 +73,21 @@ You may want to copy the `buck2` binary into your `$PATH` so you can run it as `
7373

7474
`size_test_all_ops` is a binary including all the operators and backends
7575

76-
```
76+
```bash
7777
/tmp/buck2 build //test:size_test_all_ops --show-output
7878
```
7979

8080
The `--show-output` flag will print the path to the executable if you want to run it directly.
8181

8282
**Step 3: Run a binary**
8383

84-
```
84+
```bash
8585
# add.ff is the program generated from export_example.py during AOT Setup Step 3
8686
/tmp/buck2 run //test:size_test_all_ops -- add.ff
8787
```
8888

8989
or execute the binary directly from the `--show-output` path shown when building.
9090

91-
```
91+
```bash
9292
./buck-out/.../size_test_all_ops add.ff
9393
```

0 commit comments

Comments
 (0)