1
0
Fork 0

fix(docs): add podman rocm command to admin guide

This commit is contained in:
Sean Sube 2023-01-22 16:17:12 -06:00
parent 5d0aa60f1b
commit fe9206c894
1 changed files with 13 additions and 6 deletions

View File

@ -56,11 +56,18 @@ Requires ROCm driver on the host.
Run with podman using: Run with podman using:
```shell ```shell
> TODO > podman run -it \
--device=/dev/dri \
--device=/dev/kfd \
--group-add video \
--security-opt seccomp=unconfined \
-e ONNX_WEB_MODEL_PATH=/data/models \
-e ONNX_WEB_OUTPUT_PATH=/data/outputs \
-v /var/lib/onnx-web/models:/data/models:rw \
-v /var/lib/onnx-web/outputs:/data/outputs:rw \
-p 5000:5000 \
docker.io/ssube/onnx-web-api:main-rocm-ubuntu
``` ```
Rootless podman does not appear to work: Rootless podman does not appear to work and will show a `root does not belong to group 'video'` error, which does
not make much sense on its own, but appears to refers to the user who launched the container.
```none
root is not video error
```