Coder Social home page Coder Social logo

rocm-build's Introduction

Build ROCm Software Stack from Source

This repository contains the automatic scripts to build AMD ROCm software stack for heterogenous computing.

Change the install directory and ROCm version in common.sh. Run the shell script one by one as the prefix numbers follow the dependency order. We use environment modules to activate the required environment variables.

# run with root to install amdgpu driver
./driver.sh

# ROCm will be installed at $HOME/opt/rocm/x.y.z, change the version and install prefix in `common.sh`
python3 envm_generator.py install_destination > modulefile_path/rocm/rocm_version

source module_install_path/init/bash
module load rocm/rocm_version

./00.radeontop.sh
./01.llvm.sh
# ...

Caution

Patch is required for PyTorch building with ROCm 6.0. Check ubuntu/amd-gpu/patches/pytorch.$PYTORCH_BRANCH.patch for details.

Test

Tested in:

  • AMD Instinct MI100 (gfx908) with ROCm 6.0.2
  • AMD Radeon 6900XT (gfx1030) with ROCm 5.6.0

rocm-build's People

Contributors

huangxt57 avatar

Stargazers

Maxime Roussin-Bélanger avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.