User Tools

Site Tools


tips:rocm

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tips:rocm [2026/02/03 18:29] โ€“ [Comfy] sscipionitips:rocm [2026/02/15 08:33] (current) โ€“ [1\. Kernel and Firmware] sscipioni
Line 1: Line 1:
 References: References:
 - https://community.frame.work/t/amd-strix-halo-llama-cpp-installation-guide-for-fedora-42/75856 - https://community.frame.work/t/amd-strix-halo-llama-cpp-installation-guide-for-fedora-42/75856
 +- https://strix-halo-toolboxes.com/ย 
 +- https://github.com/kyuz0/amd-strix-halo-toolboxes
  
 This report outlines the deployment of the **Ollama LLM runtime** on **Arch Linux** specifically tailored for the **AMD Ryzen AI Max+ 395 APU**. The primary focus is optimizing performance by leveraging the integrated **Radeon 8060S iGPU** through the **Vulkan** backend, and considering the potential of the **XDNA 2 NPU** for heterogeneous acceleration. This report outlines the deployment of the **Ollama LLM runtime** on **Arch Linux** specifically tailored for the **AMD Ryzen AI Max+ 395 APU**. The primary focus is optimizing performance by leveraging the integrated **Radeon 8060S iGPU** through the **Vulkan** backend, and considering the potential of the **XDNA 2 NPU** for heterogeneous acceleration.
Line 19: Line 20:
 Before deploying Ollama, the base Arch Linux installation must have the correct drivers and utilities to fully expose the APU's capabilities, especially for Vulkan and unified memory management. Before deploying Ollama, the base Arch Linux installation must have the correct drivers and utilities to fully expose the APU's capabilities, especially for Vulkan and unified memory management.
 ### 1\. Kernel and Firmware ### 1\. Kernel and Firmware
 +
 +Set in bios UMA buffer size to 8G or lower.
 +
  
 Ensure the system is running a recent kernel (e.g., $6.10+$ or later) for optimal Zen 5 and RDNA 3.5 support. Ensure the system is running a recent kernel (e.g., $6.10+$ or later) for optimal Zen 5 and RDNA 3.5 support.
Line 29: Line 33:
 sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
 ``` ```
 +
 +add to kernel parameters
 +```
 +iommu=pt amdgpu.gttsize=126976 ttm.pages_limit=32505856
 +```
 +
 ### 2\. Graphics and Compute Drivers (Vulkan) ### 2\. Graphics and Compute Drivers (Vulkan)
  
Line 37: Line 47:
 sudo pacman -S mesa vulkan-radeon lib32-vulkan-radeon vulkan-headers sudo pacman -S mesa vulkan-radeon lib32-vulkan-radeon vulkan-headers
 ``` ```
 +`
 ### 3\. ROCm (Optional but Recommended) ### 3\. ROCm (Optional but Recommended)
  
tips/rocm.1770139743.txt.gz ยท Last modified: by sscipioni