AMDGPU ROCm Deep dive
6th May, 2020 SAKURA Internet, Inc. Research Center SR / Naoto MATSUMOTO
(C) Copyright 1996-2020 SAKURA Internet Inc
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)

AMDGPU ROCm Deep dive

  • 1.
    AMDGPU ROCm Deepdive 6th May, 2020 SAKURA Internet, Inc. Research Center SR / Naoto MATSUMOTO (C) Copyright 1996-2020 SAKURA Internet Inc
  • 2.
    AMDGPU ROCm Deepdive (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)