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

Got stuck in "Connecting to Dream Factory; please wait." #32

Open
GrennKren opened this issue Feb 21, 2023 · 1 comment
Open

Got stuck in "Connecting to Dream Factory; please wait." #32

GrennKren opened this issue Feb 21, 2023 · 1 comment

Comments

@GrennKren
Copy link

Because this is my first time using dream-factory, I'm not sure if I'm on the right track.
Trying to run it in Kaggle Notebook without using setup.py because I already had the dependencies installed before which I usually use it to run Automatic1111.
And then run dream-factory.py with python in a Mamba environment.

At first , I was stuck in 'Waiting for SD instance to be ready"

[controller] >>> reading configuration from config.txt...
[controller] >>> starting webserver (http://localhost:8080/) as a background process...
[controller] >>> webserver listening for external requests...
[controller] >>> detected 2 total GPU device(s)...
[controller] >>> initialized worker 'cuda:0': Tesla T4
[controller] >>> initialized worker 'cuda:1': Tesla T4
[cuda:0] >>> starting new SD instance via: /kaggle/working/stable-diffusion-webui/df-start-gpu-0.sh
[cuda:0] >>> waiting for SD instance to be ready...

As a result, I must manually run the automatic1111 webUI via threading.
So it works.

[controller] >>> reading configuration from config.txt...
[controller] >>> starting webserver (http://localhost:8080/) as a background process...
[controller] >>> webserver listening for external requests...
[controller] >>> detected 2 total GPU device(s)...
[controller] >>> initialized worker 'cuda:0': Tesla T4
[controller] >>> initialized worker 'cuda:1': Tesla T4
[cuda:0] >>> starting new SD instance via: /kaggle/working/stable-diffusion-webui/df-start-gpu-0.sh
[cuda:0] >>> waiting for SD instance to be ready...
[cuda:0] >>> SD instance finished initialization; ready for work!
[cuda:1] >>> starting new SD instance via: /kaggle/working/stable-diffusion-webui/df-start-gpu-1.sh
[cuda:0] >>> passing initial setup options to SD instance...
[cuda:1] >>> waiting for SD instance to be ready...
[cuda:0] >>> querying SD for available samplers...
[cuda:0] >>> querying SD for available models...
[cuda:0] >>> querying SD for available hypernetworks...
[cuda:0] >>> received sampler query response: SD indicates 19 samplers available for use...
[cuda:0] >>> received hypernetwork query response: SD indicates 0 hypernetworks available for use...
[cuda:0] >>> received model query response: SD indicates 1 models available for use...
[controller] >>> No more work in queue; waiting for all workers to finish...
[controller] >>> All work done; pausing server - add some more work via the control panel!

But now there was another issue
Untitled

@rbbrdckybk
Copy link
Owner

Hey - did you ever figure this out? The startup sequence shown on the console looks correct. You can try setting this in your config.txt:

WEBSERVER_CONSOLE_LOG = yes

and restart Dream Factory to see if the webserver is throwing any errors. Also, check the developer console in your browser (press ctrl+shift+J in Chrome) to see if you see any errors there.

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

No branches or pull requests

2 participants