Skip to content

Commit

Permalink
Add info on Docker usage to ROCm install instructions (#1242)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
jessecambon and jacobgkau authored Aug 6, 2024
1 parent e809cc9 commit d89383f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions content/rocm.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.)

0 comments on commit d89383f

Please sign in to comment.