https://github.com/5310/oci-rocm-base
A relatively "stock" image with just enough dependencies to setup PyTorch-based "AI" apps on AMD ROCm compatible hosts in comfort.
https://github.com/5310/oci-rocm-base
containerfile oci-image podman rocm steam-deck
Last synced: 2 months ago
JSON representation
A relatively "stock" image with just enough dependencies to setup PyTorch-based "AI" apps on AMD ROCm compatible hosts in comfort.
- Host: GitHub
- URL: https://github.com/5310/oci-rocm-base
- Owner: 5310
- Created: 2024-02-26T18:41:47.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-28T14:15:42.000Z (4 months ago)
- Last Synced: 2025-01-28T14:21:31.957Z (4 months ago)
- Topics: containerfile, oci-image, podman, rocm, steam-deck
- Language: Dockerfile
- Homepage: https://ghcr.io/5310/rocm-base
- Size: 96.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rocm-base
> A relatively stock image with just enough dependencies to setup PyTorch-based apps on AMD ROCm compatible hosts in comfort
---
Built from the [rocm/dev-ubuntu:22.04](https://hub.docker.com/r/rocm/dev-ubuntu-22.04) image.
Built for and tested with rootless [Podman](https://podman.io/); versions 4.5.1 (Steam Deck 3.5) and 4.9.2 (EndeavourOS).
You might need to override the `HSA_OVERRIDE_GFX_VERSION` environment variable if you're on older or slightly obscure hardware.
---
To do a test run using the minimum required parameters, do:
```sh
podman container runlabel test ghcr.io/5310/rocm-base
```To run a functional container with an exposed port and interactive shell, do:
```sh
podman container runlabel run ghcr.io/5310/rocm-base
```To see what the required parameters are in order to write your own run command, print out a runlabel like so:
```sh
podman container runlabel --display run ghcr.io/5310/rocm-base
```For a more elaborate example that can install and run Automatic1111's WebUI or ComfyUI from a persistent sibling directory, see [`run.sh`](run.sh)
---
Quit the container with `ctrl+q` from its console.
Or, you know, kill it, because instability is the name of the game!