Running ComfyUI on AMD Ryzen AI Max 395 (Strix Halo)
How to install and run ComfyUI for AI image generation on AMD's newest Strix Halo APU with ROCm support.
SmartTechLabs
SmartTechLabs - Intelligent Solutions for IoT, Edge Computing & AI
Update, November 2026
The situation described below has changed.
- Official support: AMD’s ROCm Core SDK 10.2.0 release notes (2026-11-18) list gfx1151 (Ryzen AI Max 300 series) as supported hardware and PyTorch 2.15.0 for Python 3.11 to 3.14. ROCm 7.x numbering has been replaced by 10.x, and since 7.14 ROCm is built with TheRock. AMD also publishes ComfyUI-on-ROCm install guides. Try AMD’s own PyTorch wheels first; see AMD’s PyTorch install page for the index that matches your platform and ROCm release.
- The wheel used here is a community build from scottt’s rocm-TheRock fork, tagged
v6.5.0rc-pytorch, for Python 3.11 only. It is a fallback, not the recommended path anymore. - Kernel: AMD’s Strix Halo guide requires Ubuntu 24.04 HWE 6.17.0-19.19~24.04.2 or later (OEM kernel 6.14.0-1018 or later), or kernel 6.18.4 or later on other distributions. Older kernels are unstable or unsupported.
- Memory: by default the GPU can address about 50% of system RAM (GTT). AMD recommends a small BIOS reservation and raising the shared limit with
amd-ttm --set <GB>(reboot required). - Community reports for ComfyUI on gfx1151 recommend starting with
--disable-mmap(kyuz0 toolbox).
The Challenge
AMD’s Ryzen AI Max 395 (Strix Halo) represents a new era in APU computing with its powerful integrated RDNA 3.5 GPU. However, running AI workloads like ComfyUI on this architecture requires specific ROCm configurations that aren’t yet mainstream.
The main challenge at the time: the gfx1151 architecture was not included in the standard PyTorch ROCm wheels, which fail with HIP error: invalid device function.
Our Solution
We’ve created strix-halo-comfyui, an installation toolkit that gets ComfyUI running on Strix Halo APUs with minimal friction.
Key Features
| Feature | Description |
|---|---|
| gfx1151 Support | Uses scottt’s self-contained PyTorch wheel with native Strix Halo support |
| Automated Setup | Single-script installation with all dependencies |
| Virtual Environment | Python 3.11 virtual environment in ~/ComfyUI/venv |
| Launcher | run_comfy_amd_ryzen_ai.sh sets the HIP environment variables |
How It Works
The installation uses a specially compiled PyTorch wheel that includes gfx1151 support:
| |
The script handles:
- Checks: Python 3.11,
rocminfo,rocm-smiand GPU visibility - ComfyUI Clone: Downloads ComfyUI into
~/ComfyUI(override withCOMFY_DIR) - Environment Setup: Creates a Python 3.11 virtual environment
- PyTorch Installation: Installs the gfx1151 wheel, and reinstalls it at the end so that dependencies cannot replace it with a CUDA build
- Dependencies: Installs the remaining packages, some with
--no-deps
Start ComfyUI with ~/ComfyUI/run_comfy_amd_ryzen_ai.sh and open http://localhost:8188/.
Ubuntu 24.04 ships Python 3.12, so Python 3.11 has to be installed first (for example from the deadsnakes PPA). If imports fail after installation, the repository README lists the packages to add by hand (typing-inspection, kornia_rs, httpx).
Requirements
| Requirement | Details |
|---|---|
| Hardware | AMD Ryzen AI Max 395 or compatible Strix Halo APU |
| OS | Ubuntu 22.04/24.04 with ROCm installed (written against ROCm 6.x) |
| Python | Version 3.11 (required for PyTorch wheel compatibility) |
| Memory | 32GB+ unified memory recommended, 20GB+ free disk |
Why This Matters
Strix Halo APUs offer an interesting proposition for AI workloads:
- Unified Memory: CPU and GPU share system RAM (up to 128GB on the Ryzen AI Max+ 395). The share the GPU can address is set by the GTT limit, not the full amount
- Power Efficiency: Lower power draw than a high-end discrete GPU
- Cost: No discrete GPU needed for image generation, at lower speed than a large discrete card
With the installation script you can run ComfyUI workflows on this hardware without sorting out the wheel and dependency conflicts by hand.
Get Started
Check out the repository: smarttechlabs-projects/strix-halo-comfyui
We welcome contributions and feedback. If you encounter issues or have improvements, please open an issue or pull request.
Building AI solutions on AMD hardware? Contact us to discuss your project requirements.
SmartTechLabs
Building Intelligent Solutions: IoT, Edge Computing, AI & LLM Integration
Related Articles
Installing LM Studio with Vulkan Support on AMD Strix Halo
Update, November 2026 LM Studio has changed a lot since January (0.4.x, with 0.4.21 listed in July …
Read moreFixing ROCm Boot Issues: amdgpu Module Blacklisted
Update, November 2026 The blacklist problem and its fix are unchanged. What has changed around it: …
Read moreReal-Time ROCm GPU Monitoring with Web Dashboard
Update, November 2026 rocm_info collects its data by running rocm-smi, and the README lists Ubuntu …
Read more