Skip to content

Commit

Permalink
fix: duplicate Apple Silicon Model part for llama.cpp Backend
Browse files Browse the repository at this point in the history
Signed-off-by: PeterD1524 <[email protected]>
  • Loading branch information
PeterD1524 authored and hydai committed Jul 10, 2024
1 parent e632c90 commit 44689fe
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions docs/contribute/source/plugin/wasi_nn.md
Original file line number Diff line number Diff line change
Expand Up @@ -277,23 +277,6 @@ cmake --build build
cmake --install build
```

#### Apple Silicon Model

You can build and install WasmEdge from source directly on the macOS arm64 platform. It will use the built-in GPU by default.

```bash
cd <path/to/your/wasmedge/source/folder>
# Enable METAL on arm64 macOS.
cmake -GNinja -Bbuild -DCMAKE_BUILD_TYPE=Release \
-DWASMEDGE_PLUGIN_WASI_NN_BACKEND="GGML" \
-DWASMEDGE_PLUGIN_WASI_NN_GGML_LLAMA_METAL=ON \
-DWASMEDGE_PLUGIN_WASI_NN_GGML_LLAMA_BLAS=OFF \
.
cmake --build build
# For the WASI-NN plugin, you should install this project.
cmake --install build
```

### Appendix

<!-- prettier-ignore -->
Expand Down

0 comments on commit 44689fe

Please sign in to comment.