Skip to content
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

Fix #9046 /sdapi/v1/txt2img endpoint not working #9319

Merged
merged 1 commit into from
Apr 29, 2023

Conversation

u7ko4
Copy link
Contributor

@u7ko4 u7ko4 commented Apr 3, 2023

Describe what this pull request is trying to achieve.

Fix #9046

Environment this was tested in

  • OS: Linux
  • Browser: chrome
  • Graphics card: RTX 3090

**Describe what this pull request is trying to achieve.**

Fix AUTOMATIC1111#9046

**Environment this was tested in**

* OS: Linux
* Browser: chrome
* Graphics card: RTX 3090
@joaoescribano
Copy link

Worked.

It fixed the issue i was getting using the text2image endpoint (There is no current event loop in thread 'AnyIO worker thread').

OS: Linux - Ubuntu 20.04 x64
Graphics card: RTX 3080ti

Thanks

Copy link

@jordan-barrett-jm jordan-barrett-jm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I reviewed and implemented this change and it fixed it for me

@herval
Copy link

herval commented Apr 13, 2023

I'm getting the same error on OSX - looking at the code, I'd imagine it doesn't fix it (since it's specific to win32)?

@herval
Copy link

herval commented Apr 13, 2023

update: just tested the patch and it DOES fix the issue on OSX as well

@jquesnelle
Copy link

Fixed for me as well

Ubuntu 20.04 with A100 80GB (suspect it's Python 3.8 that's the culprit)

@AUTOMATIC1111 AUTOMATIC1111 changed the base branch from master to dev April 29, 2023 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: /sdapi/v1/txt2img endpoint not working
7 participants