-
Notifications
You must be signed in to change notification settings - Fork 174
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
Example "text2img-example.py" not working #78
Comments
Note : This issue still occurs when using the updated code from this PR. |
Hi @Thytu, I just tested the example and it's working for me. It looks like you have DeepSpeed v0.7.3 installed. Stable Diffusion injection policies were only recently added, and you will need to install Let me know if that resolves the error. @jeffra thanks for the correction |
Thanks for trying this @Thytu. Small clarification here, the min version for SD is 0.7.4 which is the latest released to PyPI (https://pypi.org/project/deepspeed/0.7.4/). I'll update the min requirements for MII in an upcoming PR. |
Still encountering error with the requirement updated. To avoid further errors related to any dependencies, I suggested this feature request. |
@Thytu what error are you seeing after updating DeepSpeed? Also, are you providing the |
When running text2img-example.py I encounter the following error message :
raise ValueError(f"model must be a torch.nn.Module, got {type(self.module)}"
It's raised from
Is
"CompVis/stable-diffusion-v1-4"
still handled?Installed packages
The text was updated successfully, but these errors were encountered: