LLM/Intel Pro Arc B70/2026-06-20: Difference between revisions

From Fundamental Ramen
Jump to navigation Jump to search
Line 23: Line 23:
== Test OpenVINO version ==
== Test OpenVINO version ==
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
# clean previous build
cmake --build build --target clean
#
cmake -B build -DGGML_NATIVE=ON
cmake -B build -DGGML_NATIVE=ON
cmake --build build --config Release
cmake --build build --config Release

Revision as of 07:53, 20 June 2026

Setup ssh key for github.com

Host         github.com
IdentityFile ~/.ssh/xxx.pem

Download source

sudo apt install git cmake
sudo apt install libssl-dev openssl
mkdir -p ~/llama.cpp/src
git clone https://github.com/ggerganov/llama.cpp ~/llama.cpp/src

Build

Test CPU version

cmake -B build -DGGML_NATIVE=ON
cmake --build build --config Release

Test OpenVINO version

# clean previous build
cmake --build build --target clean

# 
cmake -B build -DGGML_NATIVE=ON
cmake --build build --config Release

Test SYCL version

cmake -B build -DGGML_NATIVE=ON
cmake --build build --config Release