File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
content/learning-paths/embedded-and-microcontrollers/rpi-llama3 Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,9 @@ cmake -DPYTHON_EXECUTABLE=python \
9090 -DEXECUTORCH_BUILD_KERNELS_CUSTOM=ON \
9191 -DEXECUTORCH_BUILD_EXTENSION_FLAT_TENSOR=ON \
9292 -DEXECUTORCH_BUILD_EXTENSION_LLM_RUNNER=ON \
93+ -DEXECUTORCH_BUILD_EXTENSION_TENSOR=ON \
9394 -DEXECUTORCH_BUILD_EXTENSION_LLM=ON \
95+ -DEXECUTORCH_BUILD_KERNELS_LLM=ON \
9496 -Bcmake-out .
9597cmake --build cmake-out -j16 --target install --config Release
9698```
@@ -101,10 +103,7 @@ Next, compile and build `llama_runner` and `llama_main`:
101103cmake -DPYTHON_EXECUTABLE=python \
102104 -DCMAKE_INSTALL_PREFIX=cmake-out \
103105 -DCMAKE_BUILD_TYPE=Release \
104- -DEXECUTORCH_BUILD_KERNELS_CUSTOM=ON \
105106 -DEXECUTORCH_BUILD_KERNELS_OPTIMIZED=ON \
106- -DEXECUTORCH_BUILD_XNNPACK=ON \
107- -DEXECUTORCH_BUILD_KERNELS_QUANTIZED=ON \
108107 -Bcmake-out/examples/models/llama \
109108 examples/models/llama
110109cmake --build cmake-out/examples/models/llama -j16 --config Release
You can’t perform that action at this time.
0 commit comments