Skip to content

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

Merged
AUTOMATIC1111 merged 1 commit into
AUTOMATIC1111:devfrom
u7ko4:patch-1
Apr 29, 2023
Merged

Fix #9046 /sdapi/v1/txt2img endpoint not working#9319
AUTOMATIC1111 merged 1 commit into
AUTOMATIC1111:devfrom
u7ko4:patch-1

Conversation

@u7ko4

@u7ko4 u7ko4 commented Apr 3, 2023

Copy link
Copy Markdown
Contributor

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
Copy Markdown

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

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

Copy link
Copy Markdown

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

herval commented Apr 13, 2023

Copy link
Copy Markdown

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

herval commented Apr 13, 2023

Copy link
Copy Markdown

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

@jquesnelle

Copy link
Copy Markdown

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