Fedora Magazine walks through running local AI models with Ollama 0.24.0, including a Vulkan backend workaround
Fedora's Ollama package now pulls in ollama-base, ollama-rocm and ollama-vulkan, but the Vulkan path to Intel integrated graphics produced incorrect output on the tested ThinkPad, requiring a systemd drop-in to force CPU inference.
Summary
Fedora Magazine published a step-by-step guide by Hamza Tauqeer for running local AI chat models on Fedora Linux 45 using Ollama 0.24.0 from the Fedora repositories. The walkthrough covers installing the package, enabling the systemd service, pulling DeepSeek-R1 7B and Qwen3 8B, verifying answers, checking whether inference runs on CPU or GPU via ollama ps, and building a tuned model with a Modelfile that sets num_thread and num_ctx. It also introduces Pi, an agent framework from the Fedora repositories that gives a model tools for reading and writing files.
The most technically significant detail is a regression-style finding: on the test machine, a Lenovo ThinkPad T14 Gen 3 with an Intel Core i7-1265U and Iris Xe integrated graphics, Ollama reported 100% GPU through the Vulkan backend but returned nonsense answers. Setting OLLAMA_VULKAN=0 alone did not fix it; hiding the GPU with GGML_VK_VISIBLE_DEVICES=-1 in a systemd override restored correct CPU inference. The article frames this as a problem between Ollama's Vulkan backend and the graphics driver rather than user error, and notes results may differ on other hardware.
What the Fedora Ollama packaging and Vulkan path reveal
- Package split: On Fedora Linux 45, the small
ollamapackage pulls inollama-base,ollama-rocmandollama-vulkan, so ROCm and Vulkan acceleration backends are installed alongside the core runtime rather than as separate opt-ins. - Service model: The package installs a systemd unit but does not start it; users must run
systemctl enable --now ollama, and the server needs several seconds before clients can connect. - Vulkan backend defect: With Intel Iris Xe integrated graphics,
ollama psreported 100% GPU but the model's output was incorrect;OLLAMA_VULKAN=0did not help, whileEnvironment="GGML_VK_VISIBLE_DEVICES=-1"in a systemd drop-in forced correct CPU inference. - Memory footprint:
ollama psshowed 5.9 GB for Qwen3 8B at a 4096-token context and 6.5 GB at 8192 tokens, with model downloads of 4.7 GB for deepseek-r1:7b and 5.2 GB for qwen3:8b. - Modelfile tuning: A Modelfile with
FROM qwen3:8b,PARAMETER num_thread 10andPARAMETER num_ctx 8192creates a named variant viaollama create, letting users trade RAM and CPU threads without a second model download.
Why it matters
The guide confirms that Fedora now ships Ollama with ROCm and Vulkan backends in the default repositories, lowering the barrier to local inference on ordinary laptops without dedicated GPUs. The documented Vulkan failure on Intel integrated graphics is a concrete data point for Ollama and Mesa developers, and the systemd drop-in workaround gives Fedora users a reproducible way to fall back to CPU inference. For distributions packaging AI runtimes, it also illustrates the support burden of enabling GPU backends by default before they are reliable across integrated hardware.
Original reference: fedoramagazine.org →