ROCm/TheRock

The HIP Environment and ROCm Kit - A lightweight open source build system for HIP and ROCm

What it solves

TheRock simplifies the installation and build process for HIP and ROCm, removing the complexity of traditional package-based installations. It provides a lightweight build platform that allows developers and researchers to access the latest ROCm capabilities, including nightly releases of ROCm, PyTorch, and JAX.

How it works

It functions as a CMake super-project that manages the source builds of HIP and ROCm. It allows users to customize their build via feature flags (e.g., enabling specific math or ML libraries) and supports multiple Linux distributions and native Windows. The project also includes tools for developing individual ROCm components and comprehensive CI/CD pipelines for testing and releasing.

Who it’s for

  • ROCm contributors
  • Developers and researchers needing the latest ROCm features
  • Advanced users who want to avoid package-based installation complexity

Highlights

  • Nightly releases for ROCm, PyTorch, and JAX
  • Support for building PyTorch and JAX from source with ROCm
  • Cross-platform support for multiple Linux distributions and native Windows
  • Highly customizable build configuration via CMake flags
  • Integrated support for ccache to accelerate frequent rebuilds

Related

  • Project
  • Project
  • Dispatch
  • Project
  • Project