Tool

Auto-configure AMD GPUs for local AI workloads

Single-file Python tool that detects your AMD GPU, applies the right ROCm override, diagnoses drivers and benchmarks Vulkan against HIP.

Works with ollamalm studiopytorchvulkanrocm

93
Spark score
out of 100
Status Verified
Updated last month
Source checked Oct 11, 2026
Version 0.1.7
Models
llama 3

Add to Favorites

Why it matters

Eliminate cryptic ROCm errors and CPU fallbacks when running local AI models on AMD GPUs by auto-detecting hardware, applying correct environment overrides, and benchmarking backends to ensure optimal performance.

Outcomes

What it gets done

01

Detect AMD GPU model and apply HSA_OVERRIDE_GFX_VERSION to shell configs

02

Run health diagnostics on drivers, HIP SDK, and Vulkan API

03

Benchmark Vulkan vs HIP backends to identify fastest inference path

04

Generate troubleshooting reports and manage GPU database updates

Source

Get it from source

Spark does not host a copy of it.

Open source

Reports

Agent outcome reports

No reports yet

Overview

A single-file Python tool that detects your AMD GPU, checks a community database and applies the HSA override for you. It also runs health diagnostics and a Vulkan versus HIP benchmark. Use it when llama.cpp, Ollama, LM Studio or PyTorch misbehave on an AMD GPU or you need to choose between Vulkan and HIP. It targets AMD RDNA cards on Windows and Linux.

What it does

ROCmFix is a single-file Python tool for people running local AI on AMD GPUs. Local runtimes such as llama.cpp, Ollama, LM Studio and PyTorch often fail on AMD cards with cryptic errors like HSA_STATUS_ERROR_INVALID_ISA, or silently fall back to the CPU. In many cases the missing piece is the HSA_OVERRIDE_GFX_VERSION environment variable. ROCmFix detects your exact AMD GPU, checks a live community database, applies the matching shell environment override and runs health diagnostics so the setup is ready.

Its main features are:

  • Auto-apply and undo: it edits CMD, PowerShell, Bash, Zsh or Fish configuration to set the override, and can safely revert the last change.
  • A doctor command that scans the hardware, Adrenalin drivers, HIP SDK and Vulkan API to diagnose problems.
  • A 10-second backend race that temporarily isolates Ollama or LM Studio, runs a generation test with Vulkan and then HIP, and reports which is faster on your machine.
  • An install-hip command for Windows that downloads and launches the official AMD installer when the HIP SDK is missing.
  • A live database and self-updater: new GPUs are fetched from the cloud daily, and the tool updates itself from GitHub.
  • A Markdown system report you can paste into Reddit or Discord help posts.

Supported hardware covers RDNA4 (RX 9070 and 9060 series), RDNA3 (RX 7000 series), RDNA2 (RX 6000 series) and integrated graphics, with 17 or more GPUs listed in the database. If your card is missing, running the tool generates a pre-filled GitHub issue link so you can contribute it.

The project's own guidance for consumer AMD cards is to try Vulkan first when running LLMs on Windows and to verify with the bench command. In its comparison, Vulkan needs no configuration and is often faster on consumer RDNA3, while HIP or ROCm needs the HIP SDK plus overrides, is better on Linux and has full PyTorch support. For PyTorch or Stable Diffusion, run install-hip and then apply the override that ROCmFix suggests. It is aimed at AMD RDNA hardware on Windows and Linux.

Inputs and outputs

There is no configuration to write. The tool detects the GPU itself. Commands include the default detect and apply flow, doctor, bench, install-hip, export, update, sync, test (a smoke test to see whether ROCm or HIP detects the override), undo, list, telemetry and install (to register rocmfix as a global command). Outputs are the applied override, diagnostics, benchmark results and an exportable report.

Telemetry is opt-in. If enabled, it sends the GPU model, driver version, OS and benchmark results to a private collector. The project states it never collects usernames, IPs, file paths or AI prompts, and points to PRIVACY.md for details.

Integrations

It targets Ollama, LM Studio, llama.cpp and PyTorch setups, and works with the AMD HIP SDK and Vulkan. It needs Python 3.10 or later, has no pip or venv step, and is MIT licensed. After downloading rocmfix.py, run it directly:

python rocmfix.py

Who it's for

It is for hobbyists and developers running local LLMs or image models on AMD Radeon cards who want a quick, reversible fix and a measured answer to which backend to use, instead of searching forums for the right override value.

Source README

๐Ÿ”ง ROCmFix

Auto-detect your AMD GPU, fix ROCm overrides, and benchmark your AI backends in seconds.

Python License: MIT Platform GPU

One file. Zero installs. No pip. No venv. Just run it.


โ“ What is this?

Running local AI (llama.cpp, Ollama, LM Studio, PyTorch) on AMD GPUs often leads to cryptic errors like HSA_STATUS_ERROR_INVALID_ISA or silent fallbacks to CPU. Usually, you just need to set the HSA_OVERRIDE_GFX_VERSION environment variable.

ROCmFix detects your exact AMD GPU, checks a live community database, automatically applies the correct shell environment override, and runs health diagnostics to ensure your setup is ready.

โœจ Features
  • Auto-Apply & Undo: Automatically modifies CMD, PowerShell, Bash, Zsh, or Fish configs to apply overrides safely.
  • rocmfix doctor: Scans your hardware, Adrenalin drivers, HIP SDK, and Vulkan API to diagnose issues.
  • rocmfix bench: A 10-second backend race! Temporarily isolates Ollama or LM Studio, runs a generation test using Vulkan, then HIP, and tells you which is faster on your PC.
  • rocmfix install-hip: Missing the HIP SDK on Windows? This safely downloads and launches the official AMD installer for you.
  • Live Database & Self-Updater: Fetches new GPUs from the cloud daily, and updates itself via rocmfix update.
  • Export System Report: Generate a Markdown file of your setup for Reddit/Discord help posts.

๐Ÿš€ Quick Start

Download (One Command)

Windows PowerShell:

Invoke-WebRequest -Uri "https://raw.githubusercontent.com/xanpavle/rocmfix/main/rocmfix.py" -OutFile "rocmfix.py"

Linux / macOS:

curl -O https://raw.githubusercontent.com/xanpavle/rocmfix/main/rocmfix.py
Run
python rocmfix.py

๐Ÿ“‹ Commands

Command What it does
rocmfix Detect GPU, suggest override, and auto-apply
rocmfix doctor Full health check of drivers, HIP, and Vulkan
rocmfix bench Benchmark Vulkan vs HIP/ROCm in LM Studio or Ollama
rocmfix install-hip Download and install the AMD HIP SDK (Windows)
rocmfix export Generate a Markdown system report for troubleshooting
rocmfix update Update ROCmFix to the latest version from GitHub
rocmfix sync Force-fetch the latest GPU database from the community server
rocmfix test Smoke test current override to see if ROCm/HIP detects it
rocmfix undo Safely revert the last auto-applied override
rocmfix list Show all 17+ GPUs currently supported in the database
rocmfix telemetry Manage your anonymous benchmark sharing settings
rocmfix install Install rocmfix as a global command on your system

๐ŸŽฎ Supported GPUs

ROCmFix supports RDNA4 (RX 9070/9060 series), RDNA3 (RX 7000 series), RDNA2 (RX 6000 series), and Integrated Graphics.

New GPUs are synced automatically from our live database without needing to update the app!

Don't see your card? Run python rocmfix.py - it will generate a pre-filled GitHub issue link so you can contribute your GPU!


๐Ÿ”ฅ HIP vs Vulkan - Which should I use?

If you're running llama.cpp / LM Studio / Ollama on a consumer AMD card (especially on Windows):

Vulkan HIP / ROCm
Setup โœ… Zero config โš ๏ธ Needs HIP SDK + overrides
Windows โœ… Works out of the box โš ๏ธ HIP SDK still maturing
Linux โœ… Good โœ… Better
Consumer RDNA3 perf โœ… Often faster โš ๏ธ Sometimes slower
PyTorch support โŒ Limited โœ… Full support
TL;DR
  • Running LLMs on Windows? โ†’ Try Vulkan first. Run rocmfix bench to verify.
  • PyTorch / Stable Diffusion? โ†’ Run rocmfix install-hip, then apply the override ROCmFix gives you.

๐Ÿ“Š Privacy & Telemetry

ROCmFix includes an opt-in telemetry system to help grow the community database. If enabled, ROCmFix securely sends your GPU model, driver version, OS, and benchmark results to a private collector. We never collect usernames, IPs, file paths, or AI prompts. Read the full details in PRIVACY.md.


๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

FAQ

Common questions

Trust

How it checks out

Official By maintainer
Downloads 8

Discussion

Questions & comments ยท 0

Sign In Sign in to leave a comment.