Like NVIDIA, AMD also provides Docker usage. It can be installed through four simple steps:
- Clone the ROCm-docker repository from GitHub (assuming git is installed):
git clone https://github.com/RadeonOpenCompute/ROCm-docker
- Change the current directory to the newly downloaded ROCm-docker directory:
cd ROCm-docker
- Next, build rocm-terminal:
sudo docker build -t rocm/rocm-terminal rocm-terminal
- Finally, add it to the video group:
sudo docker run -it --device=/dev/kfd --device=/dev/dri --group-add video rocm/rocm-terminal
A Docker configuration can also be very easily set up on the PyCharm Professional Edition IDE.