RET Save

ROCm Machine Learning and HPC Stack installer

Project README

Welcome to RET (ROCm Enablement Tool) Status

RET is a comprehensive checking, set up, installation, testing and benchmarking tool which does carry out the installation of ROCm suite ranging from dependencies, drivers and toolchain to framework and benchmark. RET makes the process of carrying out automated ROCm installation incredibly simple and provides a more user friendly and faster installation experience.

  • Install Linux OS
  • Run ret
  • Run your TensorFlow benchmark OR Train your own model with TensorFlow

Hardware Support and supported GPU

please refer to ROCm main repository at ROCmInstall.

Getting started

Supported OS

  • Ubuntu:
    • 16.04
    • 18.04
  • CentOS 7.6 (TensorFlow run on Docker)

Prerequisites

Note: it is required to start with a clean system

Formatting a hard drive along with the install of a new OS is the best option after the installation you will need git to download the RET source

  sudo apt -y install git
  git clone https://github.com/rocmsys/RET.git

Usage

sudo ./ret  <command> [<option>]
e.g.
sudo ./ret install rocm or sudo ./ret install tensorflow

Command options

Command:
              [install]   <Package>              : Install ROCm or ML Framework TF/PT
              [remove]    <Package>              : Remove ROCm or ML Framework TF/PT
              [benchmark] <Packages> <Model>     : Run benchmark for specific ML Framework
              [build] <Container> <ImageName>    : Build ROCm Container either with Docker or Singularity

   Packages:
              [rocm]                             : ROCm-dkms packages
              [tensorflow]                       : TensorFlow framework

   Model:
              [resnet56]                         : ResNet-56 model. Default Model
   Container:
              [docker]                           : Build Docker Container
              [singularity]                      : Build Singularity Container
              [ImageName]                        : Choosing an OS Base Image. Default is [ubuntu:18.04]
    
Options:
              [-py2|-py3]                        : Python version. Default is Python3
              [-h|--help]                        : Show this help message
              [-v|--version]                     : Show version of this package
              [-V|--verbose]                     : Be verbose
              [-d|--debug]                       : Enable Debug Mode
              [-y|--yes]                         : Skip confirmation message
              [-ns|--nsc]                        : Skip system check steps
              [-nv|--nov]                        : Skip verification steps
              [-ic|--incontainer]                : Run RET on top of Container

RUN RET

   cd RET
   sudo ./ret install rocm         # install ROCm stack
   sudo reboot
   sudo ./ret install tensorflow   # install TensorFlow

TensorFlow's benchmarks

Details on the benchmarks can be found at this Link.

Here are the basic instructions to run ResNet-56 benchmark:

sudo ./ret benchmark tensorflow resnet56

You can also use the TensorFlow benchmarks:

Download tensorflow benchmark

git clone https://github.com/reger-men/tensorflow_benchmark.git

Run the training benchmark (e.g. ResNet-56)

python3 train.py

Note: You may need to add your GPU number --num_gpus=YOUR_GPU_NUMBER

ToDo Checklist

  • Support Ubuntu 16.04
  • Support Ubuntu 18.04
  • Support CentOS 7.6
  • Support RHEL 7.6
  • tensorflow on Ubuntu
  • tensorflow on CentOS
  • tensorflow on RHEL
  • pytorch on Ubuntu
  • pytorch on CentOS
  • pytorch on RHEL
  • Check System Compatibility
  • Check HW Compatibility
  • Adapt RET on top of Docker Container
  • Cloud Support

Project Stats

Open Source Agenda is not affiliated with "RET" Project. README Source: rocmsys/RET
Stars
29
Open Issues
9
Last Commit
3 years ago
Repository

Open Source Agenda Badge

Open Source Agenda Rating