ROCm SDK builder for AMD GPU ML development
Top 77.5% on sourcepulse
This project provides a comprehensive build system for AMD's ROCm machine learning stack and related AI tools, targeting consumer-grade GPUs on Linux. It simplifies the setup of a development environment by compiling ROCm from source, applying necessary patches, and integrating popular ML frameworks and applications like PyTorch, Stable Diffusion, and Llama.cpp, making advanced GPU computing accessible to a wider audience.
How It Works
The system utilizes a bash-scripting framework (babs.sh
) to manage the entire build process. It downloads source code for ROCm libraries and AI tools, applies project-specific patches, and compiles them into an isolated directory structure (/opt/rocm_sdk_612
). This approach allows for customization and fine-grained control over the build, ensuring compatibility with a wide range of AMD GPUs and Linux distributions.
Quick Start & Requirements
./install_deps.sh
followed by ./babs.sh -i
and ./babs.sh -b
.Highlighted Details
Maintenance & Community
The project is actively maintained by Mika Laitio. Community testing and contributions are tracked via GitHub issues.
Licensing & Compatibility
Some components are licensed under LGPL 2.1, while others use the COFFEEWARE license. This may impose restrictions on commercial use or linking with closed-source applications.
Limitations & Caveats
The build process is time-intensive and resource-heavy. Experimental support for newer hardware (e.g., XDNA/XDNA2 NPU) requires manual kernel and firmware patching, which may be complex. Older GPUs with limited memory might not run all benchmarks.
4 months ago
1 day