Embed presentation

![AMDGPU ROCm Deep dive (2018)
2
# lscpi
17:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 67ef (rev cf)
# apt update; apt dist-upgrade
# apt install -y libnuma-dev wget python3-pip
# sync; sync; sync; reboot
# wget -qO - http://repo.radeon.com/rocm/apt/debian/rocm.gpg.key | apt-key add -
# vi /etc/apt/sources.list.d/rocm.list
deb [arch=amd64] http://repo.radeon.com/rocm/apt/debian/ xenial main
# apt update; apt install -y rocm-dkms
# usermod -a -G video $LOGNAME
# sync; sync; sync; reboot
# apt install -y rocm-libs miopen-hip cxlactivitylogger
# sync; sync; sync; reboot
# wget http://repo.radeon.com/rocm/misc/tensorflow/tensorflow-1.8.0-cp35-cp35m-manylinux1_x86_64.whl
# pip3 install ./tensorflow-1.8.0-cp35-cp35m-manylinux1_x86_64.whl
# git clone https://github.com/tensorflow/models.git
# cd tensorflow/
# python3 classify_image.py
# git clone https://github.com/tensorflow/tensorflow.git
# cd tensorflow/
# python3 tensorflow/examples/speech_commands/train.py
SOURCE: SAKURA Internet Research Center (2020/05)](https://image.slidesharecdn.com/src20200506-tv1-200506141228/85/AMDGPU-ROCm-Deep-dive-2-320.jpg)

The document details the installation and setup process for AMD's ROCm platform on Linux, including necessary commands and packages like rocm-dkms and rocm-libs. It provides instructions for installing TensorFlow and running example scripts related to image classification and speech command training. The material is intended for users setting up ROCm for machine learning applications.

![AMDGPU ROCm Deep dive (2018)
2
# lscpi
17:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 67ef (rev cf)
# apt update; apt dist-upgrade
# apt install -y libnuma-dev wget python3-pip
# sync; sync; sync; reboot
# wget -qO - http://repo.radeon.com/rocm/apt/debian/rocm.gpg.key | apt-key add -
# vi /etc/apt/sources.list.d/rocm.list
deb [arch=amd64] http://repo.radeon.com/rocm/apt/debian/ xenial main
# apt update; apt install -y rocm-dkms
# usermod -a -G video $LOGNAME
# sync; sync; sync; reboot
# apt install -y rocm-libs miopen-hip cxlactivitylogger
# sync; sync; sync; reboot
# wget http://repo.radeon.com/rocm/misc/tensorflow/tensorflow-1.8.0-cp35-cp35m-manylinux1_x86_64.whl
# pip3 install ./tensorflow-1.8.0-cp35-cp35m-manylinux1_x86_64.whl
# git clone https://github.com/tensorflow/models.git
# cd tensorflow/
# python3 classify_image.py
# git clone https://github.com/tensorflow/tensorflow.git
# cd tensorflow/
# python3 tensorflow/examples/speech_commands/train.py
SOURCE: SAKURA Internet Research Center (2020/05)](https://image.slidesharecdn.com/src20200506-tv1-200506141228/85/AMDGPU-ROCm-Deep-dive-2-320.jpg)