Skip to content

Commit d19c6b4

Browse files
committed
Emscripten automatically installs node.js
1 parent 43561d7 commit d19c6b4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

examples/wasm/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,10 @@ examples/wasm
1212
## Prerequisites
1313

1414
- [emscripten](https://emscripten.org/docs/getting_started/Tutorial.html)
15-
- [Node.js](https://nodejs.org/en/) (Optional)
1615

1716
## Generate Models
1817

19-
JavaScript does not have access to the filesystem. To load a model, it needs to be preloaded or embedded into the virtual filesystem. In this example, models in the `./models/` directory are embedded by default. We will then build `executorch_runner` in Wasm.
18+
JavaScript does not have direct access to the host file system. To load a model, it needs to be preloaded or embedded into the virtual file system. In this example, models in the `./models/` directory are embedded by default. We will then build `executorch_runner` in Wasm.
2019

2120
1. Following the setup guide in [Setting up ExecuTorch](https://pytorch.org/executorch/main/getting-started-setup)
2221
you should be able to get the basic development environment for ExecuTorch working.
@@ -56,7 +55,7 @@ If you need to rebuild `executor_runner` after modifying the contents of `./mode
5655
cmake --build cmake-out-wasm -j32 --target executor_runner --clean-first
5756
```
5857

59-
4. Run the model with Node.js.
58+
4. Run the model with Node.js (automatically installed with Emscripten).
6059

6160
```bash
6261
# Run the tool on the generated model.

0 commit comments

Comments
 (0)