LLM/Intel Pro Arc B70/2026-06-20: Difference between revisions
< LLM | Intel Pro Arc B70
Jump to navigation
Jump to search
| Line 39: | Line 39: | ||
cmake -B build-openvino -DGGML_OPENVINO=ON | cmake -B build-openvino -DGGML_OPENVINO=ON | ||
cmake --build build-openvino --config Release | cmake --build build-openvino --config Release | ||
# clean | |||
cmake --build build-openvino --target clean | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 08:02, 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
# build
cmake -B build -DGGML_NATIVE=ON
cmake --build build --config Release
# clean
cmake --build build --target clean
Test OpenVINO version
# install OpenVINO
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
sudo gpg --output /etc/apt/trusted.gpg.d/intel.gpg --dearmor GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
echo "deb https://apt.repos.intel.com/openvino ubuntu24 main" | sudo tee /etc/apt/sources.list.d/intel-openvino.list
sudo apt update
sudo apt install openvino-2026.2.0
sudo apt install -y libtbb-dev
sudo apt install -y opencl-c-headers ocl-icd-opencl-dev
# build
cmake -B build-openvino -DGGML_OPENVINO=ON
cmake --build build-openvino --config Release
# clean
cmake --build build-openvino --target clean
Test SYCL version
cmake -B build -DGGML_SYCL=ON
cmake --build build --config Release