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

Easy Diffusion Error Problem, does not working anymore #1889

Open
Satyr23CH opened this issue Jan 23, 2025 · 3 comments
Open

Easy Diffusion Error Problem, does not working anymore #1889

Satyr23CH opened this issue Jan 23, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@Satyr23CH
Copy link

It suddenly stopped working.

I changed nothing, just installed the Visual Studio Build Tools, as suggested from an errormessage from the same ED-log. ;)

The UI is just saying "Stable Diffusion is loading...", but does not finish.

These are the errormessages from the log:

Install dir: C:\EasyDiffusion
C:\EasyDiffusion\installer_files\env\Library\bin\git.exe
C:\Program Files\Git\cmd\git.exe
git version 2.42.0.windows.1
C:\EasyDiffusion\installer_files\env\Library\bin\conda.bat
C:\EasyDiffusion\installer_files\env\Scripts\conda.exe
conda 23.7.3
.
COMSPEC=C:\WINDOWS\system32\cmd.exe

Name AdapterRAM DriverDate DriverVersion


NVIDIA GeForce RTX 4060 Ti 4293918720 20241203000000.000000-000 32.0.15.6636

"Easy Diffusion - v3"

"Easy Diffusion's git repository was already installed. Updating from beta.."
No local changes to save
HEAD is now at 5ac44de Even older rocm versions
Switched to branch 'beta'
Your branch is up to date with 'origin/beta'.
Already up to date.
527 Datei(en) kopiert
1 Datei(en) kopiert.
1 Datei(en) kopiert.
1 Datei(en) kopiert.
1 Datei(en) kopiert.
1 Datei(en) kopiert.
1 Datei(en) kopiert.
1 Datei(en) kopiert.
1 Datei(en) kopiert.
1 Datei(en) kopiert.
1 Datei(en) kopiert.
1 Datei(en) kopiert.
Ein Unterverzeichnis oder eine Datei mit dem Namen "tmp" existiert bereits.
PYTHONPATH=C:\EasyDiffusion\installer_files\env\lib\site-packages
C:\EasyDiffusion\installer_files\env\python.exe
C:\Users\frate\AppData\Local\Programs\Python\Python313\python.exe
C:\Users\frate\AppData\Local\Microsoft\WindowsApps\python.exe
Python 3.8.5
torch: 2.0.1+cu117
torchvision: 0.15.2+cu117
sdkit: 2.0.15.7
stable-diffusion-sdkit: 2.1.5
diffusers: 0.21.4
{'backend': 'webui',
'filename_format': '$p_$tsb64',
'folder_format': '$id',
'model': {'stable-diffusion': 'cyberrealisticPony_v70a'},
'models_dir': 'C:\EasyDiffusion\models',
'net': {'listen_port': 9000, 'listen_to_network': False},
'render_devices': 'auto',
'ui': {'open_browser_on_start': True},
'update_branch': 'beta',
'use_v3_engine': True,
'vram_usage_level': 'high'}

Easy Diffusion installation complete, starting the server!

PYTHONPATH=C:\EasyDiffusion\installer_files\env\lib\site-packages
Python: C:\EasyDiffusion\installer_files\env\python.EXE
Version: 3.8.5
Checking network settings
Set listen port to 9000

Launching uvicorn

23:59:40.679 INFO MainThread started in C:\EasyDiffusion\stable-diffusion server.py:33
23:59:40.681 INFO MainThread started at 01/23/25 23:59:40 server.py:34
23:59:40.901 INFO MainThread Loading backend: webui backend_manager.py:99
conda: C:\EasyDiffusion\installer_files\env\Library\bin\conda.bat
conda: C:\EasyDiffusion\installer_files\env\Library\bin\conda.bat
23:59:40.983 INFO MainThread Loaded backend: <module 'webui' from backend_manager.py:69
'C:\EasyDiffusion\ui\easydiffusion\backends\webui\init.py'>
23:59:40.988 ERROR MainThread Traceback (most recent call last): backend_manager.py:105
File "C:\EasyDiffusion\ui\easydiffusion\backend_manager.py", line 103, in start_backend
backend.start_backend()
File "C:\EasyDiffusion\ui\easydiffusion\backends\webui_init_.py", line 107, in start_backend
run_in_conda(["git", "add", "-A", "."], cwd=WEBUI_DIR)
File "C:\EasyDiffusion\ui\easydiffusion\backends\webui_init_.py", line 279, in run_in_conda
return run(cmds, *args, **kwargs)
File "C:\EasyDiffusion\ui\easydiffusion\backends\webui_init_.py", line 266, in run
p = subprocess.Popen(cmds, cwd=cwd, env=env, stdout=subprocess.PIPE,
stderr=subprocess.STDOUT)
File "C:\EasyDiffusion\installer_files\env\lib\subprocess.py", line 854, in init
self.execute_child(args, executable, preexec_fn, close_fds,
File "C:\EasyDiffusion\installer_files\env\lib\subprocess.py", line 1307, in execute_child
hp, ht, pid, tid = winapi.CreateProcess(executable, args,
NotADirectoryError: [WinError 267] Der Verzeichnisname ist ungültig
Traceback (most recent call last):
File "C:\EasyDiffusion\ui\easydiffusion\backend_manager.py", line 103, in start_backend
backend.start_backend()
File "C:\EasyDiffusion\ui\easydiffusion\backends\webui_init
.py", line 107, in start_backend
run_in_conda(["git", "add", "-A", "."], cwd=WEBUI_DIR)
File "C:\EasyDiffusion\ui\easydiffusion\backends\webui_init
.py", line 279, in run_in_conda
return run(cmds, *args, **kwargs)
File "C:\EasyDiffusion\ui\easydiffusion\backends\webui_init
.py", line 266, in run
p = subprocess.Popen(cmds, cwd=cwd, env=env, stdout=subprocess.PIPE,
stderr=subprocess.STDOUT)
File "C:\EasyDiffusion\installer_files\env\lib\subprocess.py", line 854, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\EasyDiffusion\installer_files\env\lib\subprocess.py", line 1307, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
NotADirectoryError: [WinError 267] Der Verzeichnisname ist ungültig
stable-diffusion model(s) found.
gfpgan model(s) found.
realesrgan model(s) found.
vae model(s) found.
23:59:41.142 INFO MainThread Start new Rendering Thread on device: cuda:0 task_manager.py:418
23:59:41.144 INFO cuda:0 Setting cuda:0 as active, with precision: half device_manager.py:154
23:59:42.155 INFO MainThread Opening browser.. app.py:333
╭────────────────────────────────────────────── Easy Diffusion is ready ───────────────────────────────────────────────╮
│ │
│ Easy Diffusion is ready to serve requests. │
│ │
│ A new browser tab should have been opened by now. │
│ If not, please open your web browser and navigate to http://localhost:9000/
│ │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
23:59:43.131 INFO AnyIO worker thread Scanning all model folders for models... model_manager.py:460
23:59:43.298 INFO AnyIO worker thread Scanning all model folders for models... model_manager.py:460
23:59:43.708 INFO AnyIO worker thread Scanned 530 models. Nothing infected model_manager.py:471
23:59:43.722 INFO AnyIO worker thread Scanned 11 models. Nothing infected model_manager.py:471

@Satyr23CH Satyr23CH added the bug Something isn't working label Jan 23, 2025
@Satyr23CH
Copy link
Author

I am getting this logs after doing this here: #1876 (comment)

Did not help, still does not start. :(

Install dir: C:\EasyDiffusion
C:\EasyDiffusion\installer_files\env\Library\bin\git.exe
C:\Program Files\Git\cmd\git.exe
git version 2.42.0.windows.1
C:\EasyDiffusion\installer_files\env\Library\bin\conda.bat
C:\EasyDiffusion\installer_files\env\Scripts\conda.exe
conda 23.7.3
.
COMSPEC=C:\WINDOWS\system32\cmd.exe

Name AdapterRAM DriverDate DriverVersion


NVIDIA GeForce RTX 4060 Ti 4293918720 20241203000000.000000-000 32.0.15.6636

"Easy Diffusion - v3"

"Easy Diffusion's git repository was already installed. Updating from main.."
No local changes to save
HEAD is now at 5ac44de Even older rocm versions
Already on 'main'
Your branch is up to date with 'origin/main'.
Already up to date.
520 Datei(en) kopiert
1 Datei(en) kopiert.
1 Datei(en) kopiert.
1 Datei(en) kopiert.
1 Datei(en) kopiert.
1 Datei(en) kopiert.
1 Datei(en) kopiert.
1 Datei(en) kopiert.
1 Datei(en) kopiert.
1 Datei(en) kopiert.
1 Datei(en) kopiert.
Ein Unterverzeichnis oder eine Datei mit dem Namen "tmp" existiert bereits.
PYTHONPATH=C:\EasyDiffusion\installer_files\env\lib\site-packages
C:\EasyDiffusion\installer_files\env\python.exe
C:\Users\frate\AppData\Local\Programs\Python\Python313\python.exe
C:\Users\frate\AppData\Local\Microsoft\WindowsApps\python.exe
Python 3.8.5
torch: 2.0.1+cu117
torchvision: 0.15.2+cu117
sdkit: 2.0.15.7
stable-diffusion-sdkit: 2.1.5
diffusers: 0.21.4
{'backend': 'webui',
'filename_format': '$p_$tsb64',
'folder_format': '$id',
'model': {'stable-diffusion': 'cyberrealisticPony_v70a'},
'models_dir': 'C:\EasyDiffusion\models',
'net': {'listen_port': 9000, 'listen_to_network': False},
'render_devices': 'auto',
'ui': {'open_browser_on_start': True},
'update_branch': 'main',
'use_v3_engine': False,
'vram_usage_level': 'high'}

Easy Diffusion installation complete, starting the server!

PYTHONPATH=C:\EasyDiffusion\installer_files\env\lib\site-packages
Python: C:\EasyDiffusion\installer_files\env\python.EXE
Version: 3.8.5
Checking network settings
Set listen port to 9000

Launching uvicorn

00:28:34.508 INFO MainThread started in C:\EasyDiffusion\stable-diffusion server.py:31
00:28:34.515 INFO MainThread started at 01/24/25 00:28:34 server.py:32
stable-diffusion model(s) found.
gfpgan model(s) found.
realesrgan model(s) found.
vae model(s) found.
00:28:34.778 INFO MainThread Start new Rendering Thread on device: cuda:0 task_manager.py:408
00:28:34.783 INFO cuda:0 Device usage during initialization: runtime.py:35
00:28:34.787 INFO cuda:0 CPU utilization: 15.3%, System RAM used: 10.4 of 63.8 GiB, GPU RAM used memory_utils.py:55
(cuda:0): 1.1 of 16.0 GiB (peak: 0.0 GiB)
00:28:34.788 INFO cuda:0 Setting cuda:0 as active, with precision: half device_manager.py:154
00:28:34.795 INFO cuda:0 loading stable-diffusion model from init.py:52
C:\EasyDiffusion\models\stable-diffusion\cyberrealisticPony_v70a.safetensors to device: cuda:0
No module 'xformers'. Proceeding without it.
00:28:35.218 INFO cuda:0 using config: init.py:112
C:\EasyDiffusion\installer_files\env\lib\site-packages\sdkit\models\models_db\configs\v1-inference.yaml
00:28:35.233 INFO cuda:0 using attn_precision: fp16 init.py:118
LatentDiffusion: Running in eps-prediction mode
00:28:35.789 INFO MainThread Opening browser.. app.py:318
╭────────────────────────────────────────────── Easy Diffusion is ready ───────────────────────────────────────────────╮
│ │
│ Easy Diffusion is ready to serve requests. │
│ │
│ A new browser tab should have been opened by now. │
│ If not, please open your web browser and navigate to http://localhost:9000/
│ │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
00:28:36.845 INFO AnyIO worker thread Scanning all model folders for models... model_manager.py:418
00:28:37.081 INFO AnyIO worker thread Scanning all model folders for models... model_manager.py:418
00:28:37.097 INFO AnyIO worker thread Scanned 266 models. Nothing infected model_manager.py:429
DiffusionWrapper has 859.52 M params.
making attention of type 'vanilla' with 512 in_channels
Working with z of shape (1, 4, 32, 32) = 4096 dimensions.
making attention of type 'vanilla' with 512 in_channels
model.safetensors: 0%| | 0.00/1.71G [00:00<?, ?B/s]

@cmdr2 cmdr2 marked this as a duplicate of #1890 Jan 24, 2025
@cmdr2
Copy link
Collaborator

cmdr2 commented Jan 24, 2025

model.safetensors: 0%| | 0.00/1.71G [00:00<?, ?B/s]

From the last line in your latest post, it looks like it's just downloading some more files (necessary for installing Easy Diffusion).

Is it still not working? If so, please start Easy Diffusion, try to generate an image, and then copy/paste all the logs in the command prompt window. Thanks!

@psouza4
Copy link

psouza4 commented Jan 27, 2025

Broken here, too, with nearly identical logs. Checked process IO and network, it's not doing anything at all. Literally no disk read/writes, no network read/writes. It thinks it's done. Happened after I swapped to the 3.5 engine from 3.0... crashed generating an image and hasn't recovered. Tried wiping usr cache with no joy.

This suggestion in another issue fixed the problem for me:
#1876 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants