lllyasviel / lllyasviel/stable-diffusion-webui-forge

just install a fresh forge....

Open
#878 16 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
13k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

just install a fresh forge....

what are all this error? how do i resolve this?

UNet ADM Dimension 2816
2024-07-28 15:30:04,425 - ControlNet - INFO - ControlNet UI callback registered.
Using pytorch attention in VAE
Working with z of shape (1, 4, 32, 32) = 4096 dimensions.
Using pytorch attention in VAE
Running on local URL: http://127.0.0.1:7860
Exception in thread Thread-26 (webui_worker):
Traceback (most recent call last):
File "D:\AI\Forge\system\python\lib\site-packages\httpcore\_exceptions.py", line 8, in map_exceptions
yield
File "D:\AI\Forge\system\python\lib\site-packages\httpcore\backends\sync.py", line 26, in read
return self._sock.recv(max_bytes)
TimeoutError: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "D:\AI\Forge\system\python\lib\site-packages\httpx\_transports\default.py", line 60, in map_httpcore_exceptions
yield
File "D:\AI\Forge\system\python\lib\site-packages\httpx\_transports\default.py", line 218, in handle_request
resp = self._pool.handle_request(req)
File "D:\AI\Forge\system\python\lib\site-packages\httpcore\_sync\connection_pool.py", line 253, in handle_request
raise exc
File "D:\AI\Forge\system\python\lib\site-packages\httpcore\_sync\connection_pool.py", line 237, in handle_request
response = connection.handle_request(request)
File "D:\AI\Forge\system\python\lib\site-packages\httpcore\_sync\connection.py", line 90, in handle_request
return self._connection.handle_request(request)
File "D:\AI\Forge\system\python\lib\site-packages\httpcore\_sync\http11.py", line 105, in handle_request
raise exc
File "D:\AI\Forge\system\python\lib\site-packages\httpcore\_sync\http11.py", line 84, in handle_request
) = self._receive_response_headers(**kwargs)
File "D:\AI\Forge\system\python\lib\site-packages\httpcore\_sync\http11.py", line 148, in _receive_response_headers
event = self._receive_event(timeout=timeout)
File "D:\AI\Forge\system\python\lib\site-packages\httpcore\_sync\http11.py", line 177, in _receive_event
data = self._network_stream.read(
File "D:\AI\Forge\system\python\lib\site-packages\httpcore\backends\sync.py", line 24, in read
with map_exceptions(exc_map):
File "contextlib.py", line 153, in __exit__
File "D:\AI\Forge\system\python\lib\site-packages\httpcore\_exceptions.py", line 12, in map_exceptions
raise to_exc(exc)
httpcore.ReadTimeout: timed out

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "threading.py", line 1016, in _bootstrap_inner
File "threading.py", line 953, in run
File "D:\AI\Forge\webui\webui.py", line 86, in webui_worker
app, local_url, share_url = shared.demo.launch(
File "D:\AI\Forge\system\python\lib\site-packages\gradio\blocks.py", line 2443, in launch
and not networking.url_ok(self.local_url)
File "D:\AI\Forge\system\python\lib\site-packages\gradio\networking.py", line 54, in url_ok
r = httpx.head(url, timeout=3, verify=False)
File "D:\AI\Forge\system\python\lib\site-packages\httpx\_api.py", line 265, in head
return request(
File "D:\AI\Forge\system\python\lib\site-packages\httpx\_api.py", line 100, in request
return client.request(
File "D:\AI\Forge\system\python\lib\site-packages\httpx\_client.py", line 814, in request
return self.send(request, auth=auth, follow_redirects=follow_redirects)
File "D:\AI\Forge\system\python\lib\site-packages\httpx\_client.py", line 901, in send
response = self._send_handling_auth(
File "D:\AI\Forge\system\python\lib\site-packages\httpx\_client.py", line 929, in _send_handling_auth
response = self._send_handling_redirects(
File "D:\AI\Forge\system\python\lib\site-packages\httpx\_client.py", line 966, in _send_handling_redirects
response = self._send_single_request(request)
File "D:\AI\Forge\system\python\lib\site-packages\httpx\_client.py", line 1002, in _send_single_request
response = transport.handle_request(request)
File "D:\AI\Forge\system\python\lib\site-packages\httpx\_transports\default.py", line 217, in handle_request
with map_httpcore_exceptions():
File "contextlib.py", line 153, in __exit__
File "D:\AI\Forge\system\python\lib\site-packages\httpx\_transports\default.py", line 77, in map_httpcore_exceptions
raise mapped_exc(message) from exc
httpx.ReadTimeout: timed out
extra {'cond_stage_model.clip_l.logit_scale', 'cond_stage_model.clip_l.text_projection', 'cond_stage_model.clip_g.transformer.text_model.embeddings.position_ids'}
To load target model SDXLClipModel
Begin to load 1 model
[Memory Management] Current Free GPU Memory (MB) = 7139.996185302734
[Memory Management] Model Memory (MB) = 2144.3546981811523
[Memory Management] Minimal Inference Memory (MB) = 1024.0
[Memory Management] Estimated Remaining GPU Memory (MB) = 3971.641487121582
Moving model(s) has taken 0.55 seconds
Model loaded in 13.2s (load weights from disk: 0.3s, forge instantiate config: 2.1s, forge load real models: 9.9s, calculate empty prompt: 0.8s).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with webui/webui.py at the shared.demo.launch call, then inspect Gradio's networking.url_ok path shown in the traceback. Reproduce the fresh Windows installation and investigate why the local URL check raises httpx.ReadTimeout. Done means the Forge UI starts without the webui_worker exception and the local URL is reachable.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.