You can invoke it directly via `HSA_OVERRIDE_GFX_VERSION=10.3.0 ollama serve`, but I added this line to the systemd unit at /etc/systemd/system/ollama.service:
Environment="HSA_OVERRIDE_GFX_VERSION=10.3.0"