From d89383fcc97426bbd72cfc72ca7d568ea610a09c Mon Sep 17 00:00:00 2001 From: Jesse Cambon <31526206+jessecambon@users.noreply.github.com> Date: Tue, 6 Aug 2024 12:43:10 -0400 Subject: [PATCH] Add info on Docker usage to ROCm install instructions (#1242) * Added info on docker usage to rocm.md See comments here for more information https://gist.github.com/guilt/6c901f7ac0a726685b6334798da77c00?permalink_comment_id=5131866#gistcomment-5131866 * adjusted docker terminology in rocm.md * Add docker site link to rocm.md * Minor grammar corrections --------- Co-authored-by: Jacob Kauffmann --- content/rocm.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/content/rocm.md b/content/rocm.md index 572ae9fc8e..910e94f8f6 100644 --- a/content/rocm.md +++ b/content/rocm.md @@ -84,6 +84,17 @@ Agent 2 system76@pop-os:~$ ``` +### Using Docker + +Instructions from AMD for building and running a Docker image with Pytorch and ROCm are [here](https://rocm.docs.amd.com/projects/install-on-linux/en/latest/how-to/3rd-party/pytorch-install.html#using-docker-with-pytorch-pre-installed). Note that you will likely have to run the Docker commands as sudo (i.e. `sudo docker run -it ...`) for typical Docker setups. + +Also note that Docker Desktop runs in a virtual environment, so it's recommended to use Docker Engine instead to avoid permission issues. Instructions on installing the latest version of Docker Engine are [on Docker's website](https://docs.docker.com/engine/install/ubuntu/). You can alternatively install Docker Engine via the `docker.io` package, which is maintained by Ubuntu (and may not be up-to-date): + +```sh +sudo apt install docker.io +sudo usermod -aG docker $USER +``` + ### Blender Compatibility The default Blender `.deb` package in Pop!\_OS 22.04, which is provided by Ubuntu, does not support HIP workloads. The Blender flatpak package may be unable to properly detect the GPU(s) due to sandboxing restrictions. Therefore, for GPU rendering with HIP in Blender, it's recommended to [download Blender directly from blender.org](https://www.blender.org/). (After extracting the `.tar.xz` file, simply double-click the `blender` executable to run the program.)