stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

rocm/pytorch:latest does not work

Open 49RpK5dY opened this issue 2 years ago • 2 comments

Since the recent update to rocm/pytorch:latest image the generation doesn't work. Stuck at 0% forever. Could be due to rocm update to 5.3. Maybe a change to wiki Running inside Docker is in order to rocm/pytorch:rocm5.2_ubuntu20.04_py3.7_pytorch_1.11.0_navi21 image witch works. Or any older image with rocm5.2. Unless there is an easy way to make stable diffusion work with newer rocm.

49RpK5dY avatar Oct 14 '22 20:10 49RpK5dY

rocm/pytorch:latest is currently working for me, with a vega56. It takes quite a while to generate the first image (stays at 0% for some time), but subsequent runs are normal (this is the usual behavior in my experience.)

TheFeshy avatar Oct 23 '22 13:10 TheFeshy

I retried rocm/pytorch again and decided to wait. It's been over an hour already since it started generation and still stuck at 0%| | 0/20 [00:00<?, ?it/s]. There is a small cpu usage so I guess it's still trying to compile miopen stuff. That is not what my experience was with rocm/pytorch:rocm5.2_ubuntu20.04_py3.7_pytorch_1.11.0_navi21 or pytorch:rocm5.2.3_ubuntu20.04_py3.7_pytorch_1.12.1 or rocm/pytorch before the rocm5.3 update. It used to take no more than a minute or two to start the first generation. So just to make sure. Are you using a freshly pulled rocm/pytorch image or did you have the older one since 14 days ago or so? I've got rx5700 it that makes any difference.

49RpK5dY avatar Oct 23 '22 16:10 49RpK5dY

It's freshly pulled as of 2022-10-22, but the creation date is two weeks ago: REPOSITORY TAG IMAGE ID CREATED SIZE docker.io/rocm/pytorch latest fb4cff0ade4a 2 weeks ago 31.9 GB

TheFeshy avatar Oct 24 '22 12:10 TheFeshy

Well I guess it's just me. No need to keep the issue open.

49RpK5dY avatar Oct 24 '22 12:10 49RpK5dY