-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot import name '_compare_version' from 'torchmetrics.utilities.imports #16
Comments
So after some digging, it's caused by some inter-package breakage that occurred within the past two weeks. I got it to work by manually fixing up some package versions.
Note: You can also move the model downloading part to your Dockerfile:
That gives a docker instance with a first-time launch of less than 30 seconds. Everything working a-ok now :) Thanks for putting this out there! |
BTW, the main stable-diffusion-webui branch now works with ROCM if you just make a one-line change: kstenerud/stable-diffusion-webui@a08711d Then you can get a fully-functional SD webui like so:
|
Describe the bug
Attempting to run the docker image results in:
To Reproduce
Steps to reproduce the behavior:
docker build . -t stable-diffusion-rocm
docker run -it -p 7860:7860 --device=/dev/kfd --device=/dev/dri --group-add=video --ipc=host --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -v /home/karl/stable-diffusion:/pwd -e HSA_OVERRIDE_GFX_VERSION=10.3.0 --name stable-diffusion stable-diffusion-rocm
Expected behavior
It should complete initialization.
** Container Output **
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: