question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to run mii-sd.py for txt2img benchmark

See original GitHub issue

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: Screenshot 2022-12-08 131428

Setup: deepspeed==0.7.6 deepspeed-mii==0.0.4 diffusers==0.9.0 Ubuntu 18.0.4.6 LTS py3.8.15

Issue Analytics

  • State:open
  • Created 9 months ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
aponte411commented, Dec 12, 2022

@mrwyattii works when installing from master 😃

1reaction
mrwyattiicommented, Dec 9, 2022

@aponte411 try this PR on the DeepSpeed side, should fix the config problem you are seeing: https://github.com/microsoft/DeepSpeed/pull/2589

Read more comments on GitHub >

github_iconTop Results From Across the Web

txt2img.py always get killed · Issue #21 - GitHub
Change 12GB to whatever you are able to allocate. 12GB seemed to be enough. Remember that windows require 4Gb ram to run. So...
Read more >
Diffusion Bee: Stable Diffusion GUI App for M1 Mac
I'm used to troubleshoot all kinds of stuff but I'm not a Python guy and wrangling with dependencies and virtual environments is not...
Read more >
How to Generate Images from Text with Stable Diffusion Models
In this article, I will show you how to get started with text-to-image generation with stable diffusion models using Hugging Face's ...
Read more >
How to Run Stable Diffusion Locally to Generate Images
This article will show you how to install and run Stable Diffusion, both on GPU and CPU, so you can get started generating...
Read more >
comments - Hacker News
Running txt2img.py from lstein's repo seems to run about 30% faster than OP's. ... I was able to run a custom Stable Diffusion...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found