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
Unable to run mii-sd.py for txt2img benchmark #116
Comments
What's the version of protobuf you have in this environment? Also, you can avoid this by setting the following environment variable (but as the error message notes, it could add latency to the message passing): |
@mrwyattii when I install using I checked and I am using deepspeed==0.7.6 and deepspeed-mii==0.0.4. Am I missing something? |
I think you're doing things correct. Let me try to follow these steps in a fresh environment and see if I can reproduce. |
@aponte411 I'm not able to reproduce the protobuf error installing with a clean environment. |
Looks like the protobuf issue was due to my local setup. Creating a new venv with a fresh install fixes it! @mrwyattii I'm using |
@aponte411 try this PR on the DeepSpeed side, should fix the config problem you are seeing: |
@mrwyattii works when installing from master :) |
https://github.com/microsoft/DeepSpeed-MII/tree/main/examples/benchmark/txt2img
Ive run into some strange protobuf related errors. When I first ran into this, I was able to resolve by changing my protobuf version to >=3.20.0 but now it doesnt work anymore.
My hunch is that its related to how I am installing things? I wasnt sure what the correct way was to install deespeed and deepspeed-mii, so I have been trying to use the following:
pip install deepspeed[sd] deepspeed-mii
I am now seeing this error when trying to run
mii-sd.py:
Setup:
deepspeed==0.7.6
deepspeed-mii==0.0.4
diffusers==0.9.0
Ubuntu 18.0.4.6 LTS
py3.8.15
The text was updated successfully, but these errors were encountered: