From 44689fe07588f45383ea2807e56d114b3a2c6ca4 Mon Sep 17 00:00:00 2001 From: PeterD1524 Date: Sat, 29 Jun 2024 07:11:43 +0800 Subject: [PATCH] fix: duplicate Apple Silicon Model part for llama.cpp Backend Signed-off-by: PeterD1524 --- docs/contribute/source/plugin/wasi_nn.md | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/docs/contribute/source/plugin/wasi_nn.md b/docs/contribute/source/plugin/wasi_nn.md index 059dc361..6417a0b9 100644 --- a/docs/contribute/source/plugin/wasi_nn.md +++ b/docs/contribute/source/plugin/wasi_nn.md @@ -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 -# 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