hydrian / stable-diffusion-webui-rocm

A stable diffusion webui configuration for AMD ROCm
GNU General Public License v2.0
21 stars 4 forks source link

docker-compose syntax incorrect #11

Open brandonegbert opened 1 year ago

brandonegbert commented 1 year ago

Describe the bug Current code results in:

2 error(s) decoding:

* 'group_add[0]' expected type 'string', got unconvertible type 'int', value: '44'
* 'group_add[1]' expected type 'string', got unconvertible type 'int', value: '155'

Editing it from:

    group_add:
      # Video Group Id: 44
      - 44
      # Render Group Id: 155
      - 155

to:

    group_add:
      # Video Group Id: 44
      - '44'
      # Render Group Id: 155
      - '155'

Seems to resolve the issue

To Reproduce

  1. Use Docker Compose version 2.19.0
  2. Run sudo docker-compose up

Expected behavior Doesn't fail with that error.

winstonma commented 1 year ago

@brandonegbert After adding the following lines in Dockerfile (reference from ROCm-docker - quick-start.md). I could remove the whole group_add section.

See if that works for you.