Skip to content

Instantly share code, notes, and snippets.

View MarioIshac's full-sized avatar

Mario Ishac MarioIshac

View GitHub Profile
@MarioIshac
MarioIshac / build-llama-cpp.sh
Created December 21, 2024 09:41 — forked from cgmb/build-llama-cpp.sh
Build llama.cpp on Ubuntu 24.04
#!/bin/sh
# Build llama.cpp on Ubuntu 24.04 with AMD GPU support
sudo apt -y install git wget hipcc libhipblas-dev librocblas-dev cmake build-essential
# ensure you have the necessary permissions by adding yourself to the video and render groups
sudo usermod -aG video,render $USER
# reboot to apply the group changes
# run rocminfo to check everything is working thus far