Building llama.cpp with rocm on Fedora 41
llama.cpp rocm fedora41
Building llama.cpp with rocm on Fedora 41 Introduction This article explains how to build llama.cpp with rocm support.
Dependencies Start with build deps:
sudo dnf install make gcc cmake lld clang clang-devel compiler-rt You will then need to create a couple of symlinks:
ln -s /usr/bin/clang-offload-bundler-17 ~/bin/clang-offload-bundler ln -s /usr/bin/llvm-objcopy-17 ~/bin/llvm-objcopy Now you can install the rocm packages:
sudo dnf install rocminfo 'rocm-*' 'rocblas-*' 'hipblas' 'hipblas-*' Verify rocminfo works:
rocminfo You should be able to see your GPU:
Read more...