ROCm
ROCm (Radeon Open Compute): is AMD’s open-source software platform designed for GPU-accelerated computing. It provides the tools and libraries necessary for running high-performance applications on AMD GPUs. ROCm has obtained support from a number of important AI frameworks including PyTorch, TensorFlow, and MosaicML. ComfyUI uses PyTorch.
I’m running Manjaro which is not a distribution covered by the AMD tutorial. But installing ROCm under Manjaro is easy.
I’ll use Pamac (Manjaro’s package manager) to install ROCm. There’s a package available in the Arch User Repository which repackages the ROCm components from AMD’s Ubuntu releases. By default, Pamac doesn’t enable AUR support, so I need to enable that. Start Pamac. From the hamburger icon (three vertical dots), click Third Party and enable AUR support.
With Pamac I installed base-devel (basic tools to build packages), opencl-amd (which is in the AUR) and various ROCm packages which are in the Official Repositories. They are listed below.
Restart the machine.
The opencl-amd provides a variety of useful tools including rocminfo, which verifies the ROCm module is loaded. The output from rocminfo is long so I’ll just reproduce two extracts from its output.
The GPU is identified as gfx1150.
I can monitor GPU usage with ROCm System Management Interface (rocm-smi) (this is also installed by the opencl-amd package) in conjunction the watch command.
$ watch rocm-smi

Of course, there are many GUI open source tools that let you monitor GPU usage. A useful GUI tool is Resources.

Next page: Page 3 – Installing Miniconda and ComfyUI
Pages in this article:
Page 1 – Introduction
Page 2 – Installing ROCm under Manjaro
Page 3 – Installing Miniconda and ComfyUI
Page 4 – ComfyUI Performance
Complete list of articles in this series:
Minisforum AI X1 Pro | |
---|---|
Introduction | Introduction to the series and interrogation of the Minisforum AI X1 Pro |
Benchmarks | Benchmarking the Minisforum AI X1 Pro |
Power | Testing and comparing the power consumption under various workloads |
Jan | ChatGPT without privacy concerns |
ComfyUI | Generate video, images, 3D, audio with AI |