Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save richardanaya/e07b00a07661469f98cde3f4f25bcebb to your computer and use it in GitHub Desktop.

Select an option

Save richardanaya/e07b00a07661469f98cde3f4f25bcebb to your computer and use it in GitHub Desktop.
Installing llama.cpp on HP Zbook Ultra G1a on Bazzite Linux
git clone https://github.com/ggml-org/llama.cpp.git
sudo rpm-ostree install rcom-hip-devel gfortran hipblas-common-devel hipblas-devel rocblas-devel glslc curl-devel
cd llama.cpp
HIPCXX="$(hipconfig -l)/clang" HIP_PATH="$(hipconfig -R)" cmake -S . -B build -DGGML_HIP=ON -DAMDGPU_TARGETS=gfx1030 -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release -- -j 16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment