"torchvision/vscode:/vscode.git/clone" did not exist on "e212cc86b80baf1a46681442db1312ebce5a21bb"
Commit 2588cb2d authored by Daniel Hiltgen's avatar Daniel Hiltgen
Browse files

Add ollama user to render group for Radeon support

For the ROCm libraries to access the driver, we need to add the ollama user
to the render group.
parent c7ea8f23
...@@ -76,6 +76,10 @@ configure_systemd() { ...@@ -76,6 +76,10 @@ configure_systemd() {
status "Creating ollama user..." status "Creating ollama user..."
$SUDO useradd -r -s /bin/false -m -d /usr/share/ollama ollama $SUDO useradd -r -s /bin/false -m -d /usr/share/ollama ollama
fi fi
if getent group render >/dev/null 2>&1; then
status "Adding ollama user to render group..."
$SUDO usermod -a -G render ollama
fi
status "Adding current user to ollama group..." status "Adding current user to ollama group..."
$SUDO usermod -a -G ollama $(whoami) $SUDO usermod -a -G ollama $(whoami)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment