Minisforum AI X1 Pro

Minisforum AI X1 Pro: ComfyUI – Generate video, images, 3D, audio with AI

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.

AUR

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.

ROCm in Manjaro

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.

Installation of ROCm

The GPU is identified as gfx1150.

Installation of ROCm

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

rocm-smi
Click image for full size

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

Resources
Click image for full size

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
IntroductionIntroduction to the series and interrogation of the Minisforum AI X1 Pro
BenchmarksBenchmarking the Minisforum AI X1 Pro
PowerTesting and comparing the power consumption under various workloads
JanChatGPT without privacy concerns
ComfyUIGenerate video, images, 3D, audio with AI
Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Read our Comment FAQ before commenting.

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments