You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is this, I launch SD, the tab opens, but when I click generate, it immediately writes "Connection errored out", but it didn't write anything in the console, it only writes "Press any key to continue...".
A few days ago, everything worked for me! Stable Diffusion Forge could generate 730* 730* images with SDXL and Lora models and ControlNet/Forge_Couple extensions. (I did not change the PC hardware).
The problem appeared on its own (not after reinstalling!)
PC Features:
Windows 10
RX 580 8GB
Intel Xeon 1270 v3
80GB of free space on an ssd drive
Internet speed is more than 300mb/s
Installed tha latest version Git and Python 3.10.6
Actions that didn't help me:
Reinstalling (using git clone or zip) - no
Installing the original SD amd-gpu - no
Checking for viruses - no
Internet search - I didn't find the information I needed
Change the browser - no
Change the folder directory with SD - no
Create a new user and try it out - no
FULL reinstalling before Git and Python 3.10.6 - no
Lower the resolution, lower the promptov, change the model - no
Remove built-in extensions - no
Wait a few days and reinstall - no
deleting venv folder - no
deleting the pip folder - no
write instead of --ditecrml --use-directml - no
Deleting all the latest installed programs before the SD worked - no
Reinstall the AMD driver - no
reinstall the system - I haven't tried it
Install HIP SDK libraries and use ZLUDA - no
Facts:
In launch.py added a line of code to fix the "gguf" error:
I think that some kind of engine has stopped working for me.
The text from the console will be attached.
venv "C:\Users\user\Desktop\Stable Diffusion Forge\stable-diffusion-webui-amdgpu-forge-main\venv\Scripts\Python.exe"
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: f2.0.1v1.10.1-1.10.1
Commit hash: <none>
Using directml with device:
Total VRAM 1024 MB, total RAM 16328 MB
pytorch version: 2.3.1+cpu
Set vram state to: NORMAL_VRAM
Device: privateuseone
VAE dtype preferences: [torch.float32] -> torch.float32
Launching Web UI with arguments: --directml --theme dark
CUDA Using Stream: False
Using sub quadratic optimization for cross attention
Using split attention for VAE
ONNX: version=1.19.2 provider=DmlExecutionProvider, available=['DmlExecutionProvider', 'CPUExecutionProvider']
*** Error loading script: preprocessor_inpaint.py
Traceback (most recent call last):
File "C:\Users\user\Desktop\Stable Diffusion Forge\stable-diffusion-webui-amdgpu-forge-main\modules\scripts.py", line 525, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "C:\Users\user\Desktop\Stable Diffusion Forge\stable-diffusion-webui-amdgpu-forge-main\modules\script_loading.py", line 13, in load_module
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "C:\Users\user\Desktop\Stable Diffusion Forge\stable-diffusion-webui-amdgpu-forge-main\extensions-builtin\forge_preprocessor_inpaint\scripts\preprocessor_inpaint.py", line 13, in <module>
from annotator.lama.saicinpainting.training.trainers import load_checkpoint
File "C:\Users\user\Desktop\Stable Diffusion Forge\stable-diffusion-webui-amdgpu-forge-main\extensions-builtin\forge_preprocessor_inpaint\annotator\lama\saicinpainting\training\trainers\__init__.py", line 3, in <module>
from annotator.lama.saicinpainting.training.trainers.default import DefaultInpaintingTrainingModule
File "C:\Users\user\Desktop\Stable Diffusion Forge\stable-diffusion-webui-amdgpu-forge-main\extensions-builtin\forge_preprocessor_inpaint\annotator\lama\saicinpainting\training\trainers\default.py", line 11, in <module>
from annotator.lama.saicinpainting.training.trainers.base import BaseInpaintingTrainingModule, make_multiscale_noise
File "C:\Users\user\Desktop\Stable Diffusion Forge\stable-diffusion-webui-amdgpu-forge-main\extensions-builtin\forge_preprocessor_inpaint\annotator\lama\saicinpainting\training\trainers\base.py", line 16, in <module>
from annotator.lama.saicinpainting.training.modules import make_generator #, make_discriminator
File "C:\Users\user\Desktop\Stable Diffusion Forge\stable-diffusion-webui-amdgpu-forge-main\extensions-builtin\forge_preprocessor_inpaint\annotator\lama\saicinpainting\training\modules\__init__.py", line 3, in <module>
from annotator.lama.saicinpainting.training.modules.ffc import FFCResNetGenerator
File "C:\Users\user\Desktop\Stable Diffusion Forge\stable-diffusion-webui-amdgpu-forge-main\extensions-builtin\forge_preprocessor_inpaint\annotator\lama\saicinpainting\training\modules\ffc.py", line 11, in <module>
from annotator.lama.saicinpainting.training.modules.spatial_transform import LearnableSpatialTransformWrapper
File "C:\Users\user\Desktop\Stable Diffusion Forge\stable-diffusion-webui-amdgpu-forge-main\extensions-builtin\forge_preprocessor_inpaint\annotator\lama\saicinpainting\training\modules\spatial_transform.py", line 4, in <module>
from kornia.geometry.transform import rotate
File "C:\Users\user\Desktop\Stable Diffusion Forge\stable-diffusion-webui-amdgpu-forge-main\venv\lib\site-packages\kornia\__init__.py", line 11, in <module>
from . import augmentation, color, contrib, core, enhance, feature, io, losses, metrics, morphology, tracking, utils, x
File "C:\Users\user\Desktop\Stable Diffusion Forge\stable-diffusion-webui-amdgpu-forge-main\venv\lib\site-packages\kornia\augmentation\__init__.py", line 1, in <module>
from kornia.augmentation._2d import (
File "C:\Users\user\Desktop\Stable Diffusion Forge\stable-diffusion-webui-amdgpu-forge-main\venv\lib\site-packages\kornia\augmentation\_2d\__init__.py", line 3, in <module>
from kornia.augmentation._2d.mix import *
File "C:\Users\user\Desktop\Stable Diffusion Forge\stable-diffusion-webui-amdgpu-forge-main\venv\lib\site-packages\kornia\augmentation\_2d\mix\__init__.py", line 1, in <module>
from kornia.augmentation._2d.mix.cutmix import RandomCutMix, RandomCutMixV2
File "C:\Users\user\Desktop\Stable Diffusion Forge\stable-diffusion-webui-amdgpu-forge-main\venv\lib\site-packages\kornia\augmentation\_2d\mix\cutmix.py", line 7, in <module>
from kornia.augmentation._2d.mix.base import MixAugmentationBase, MixAugmentationBaseV2
File "C:\Users\user\Desktop\Stable Diffusion Forge\stable-diffusion-webui-amdgpu-forge-main\venv\lib\site-packages\kornia\augmentation\_2d\mix\base.py", line 10, in <module>
from kornia.geometry.boxes import Boxes
File "C:\Users\user\Desktop\Stable Diffusion Forge\stable-diffusion-webui-amdgpu-forge-main\venv\lib\site-packages\kornia\geometry\boxes.py", line 582, in <module>
class Boxes3D:
File "C:\Users\user\Desktop\Stable Diffusion Forge\stable-diffusion-webui-amdgpu-forge-main\venv\lib\site-packages\torch\jit\_script.py", line 1375, in script
_compile_and_register_class(obj, _rcb, qualified_name)
File "C:\Users\user\Desktop\Stable Diffusion Forge\stable-diffusion-webui-amdgpu-forge-main\venv\lib\site-packages\torch\jit\_recursive.py", line 61, in _compile_and_register_class
script_class = torch._C._jit_script_class_compile(
File "C:\Users\user\Desktop\Stable Diffusion Forge\stable-diffusion-webui-amdgpu-forge-main\venv\lib\site-packages\torch\jit\_recursive.py", line 1007, in try_compile_fn
return torch.jit.script(fn, _rcb=rcb)
File "C:\Users\user\Desktop\Stable Diffusion Forge\stable-diffusion-webui-amdgpu-forge-main\venv\lib\site-packages\torch\jit\_script.py", line 1395, in script
fn = torch._C._jit_script_compile(
File "C:\Users\user\Desktop\Stable Diffusion Forge\stable-diffusion-webui-amdgpu-forge-main\venv\lib\site-packages\torch\jit\_recursive.py", line 1007, in try_compile_fn
return torch.jit.script(fn, _rcb=rcb)
File "C:\Users\user\Desktop\Stable Diffusion Forge\stable-diffusion-webui-amdgpu-forge-main\venv\lib\site-packages\torch\jit\_script.py", line 1395, in script
fn = torch._C._jit_script_compile(
File "C:\Users\user\Desktop\Stable Diffusion Forge\stable-diffusion-webui-amdgpu-forge-main\venv\lib\site-packages\torch\jit\_recursive.py", line 1007, in try_compile_fn
return torch.jit.script(fn, _rcb=rcb)
File "C:\Users\user\Desktop\Stable Diffusion Forge\stable-diffusion-webui-amdgpu-forge-main\venv\lib\site-packages\torch\jit\_script.py", line 1392, in script
ast = get_jit_def(obj, obj.__name__)
File "C:\Users\user\Desktop\Stable Diffusion Forge\stable-diffusion-webui-amdgpu-forge-main\venv\lib\site-packages\torch\jit\frontend.py", line 331, in get_jit_def
parsed_def = parse_def(fn) if not isinstance(fn, _ParsedDef) else fn
File "C:\Users\user\Desktop\Stable Diffusion Forge\stable-diffusion-webui-amdgpu-forge-main\venv\lib\site-packages\torch\_sources.py", line 128, in parse_def
raise RuntimeError(
RuntimeError: Expected a single top-level function: C:\Users\user\Desktop\Stable Diffusion Forge\stable-diffusion-webui-amdgpu-forge-main\modules\dml\amp\autocast_mode.py:43
---
ControlNet preprocessor location: C:\Users\user\Desktop\Stable Diffusion Forge\stable-diffusion-webui-amdgpu-forge-main\models\ControlNetPreprocessor
2024-09-17 20:21:34,837 - ControlNet - INFO - ControlNet UI callback registered.
Model selected: {'checkpoint_info': {'filename': 'C:\\Users\\user\\Desktop\\Stable Diffusion Forge\\stable-diffusion-webui-amdgpu-forge-main\\models\\Stable-diffusion\\autismmixSDXL_autismmixConfetti.safetensors', 'hash': '10047b0e'}, 'additional_modules': [], 'unet_storage_dtype': None}
Using online LoRAs in FP16: False
Running on local URL: http://127.0.0.1:7860
To create a public link, set `share=True` in `launch()`.
Startup time: 19.5s (prepare environment: 5.0s, import torch: 7.1s, initialize shared: 1.2s, load scripts: 3.1s, create ui: 3.2s, gradio launch: 1.7s).
Environment vars changed: {'stream': False, 'inference_memory': 1024.0, 'pin_shared_memory': False}
[GPU Setting] You will use 0.00% GPU memory (0.00 MB) to load weights, and use 100.00% GPU memory (1024.00 MB) to do matrix computation.
Loading Model: {'checkpoint_info': {'filename': 'C:\\Users\\user\\Desktop\\Stable Diffusion Forge\\stable-diffusion-webui-amdgpu-forge-main\\models\\Stable-diffusion\\autismmixSDXL_autismmixConfetti.safetensors', 'hash': '10047b0e'}, 'additional_modules': [], 'unet_storage_dtype': None}
[Unload] Trying to free all memory for privateuseone:0 with 0 models keep loaded ... Done.
Press any key to continue . . .
The text was updated successfully, but these errors were encountered:
The problem is solved! I have included a swap file for the system disk.
How did it happen? When I wanted to format another disk, there were hidden files on it that could not be deleted (swap files), I went into system performance and disabled the swap files for the disk, maybe at this point I accidentally disabled the swap files for the system disk. The most important thing is that during all this time my PC did not lag, the screen did not go out, everything seemed to be fine.
The problem is this, I launch SD, the tab opens, but when I click generate, it immediately writes "Connection errored out", but it didn't write anything in the console, it only writes "Press any key to continue...".
A few days ago, everything worked for me! Stable Diffusion Forge could generate 730* 730* images with SDXL and Lora models and ControlNet/Forge_Couple extensions. (I did not change the PC hardware).
The problem appeared on its own (not after reinstalling!)
PC Features:
Windows 10
RX 580 8GB
Intel Xeon 1270 v3
80GB of free space on an ssd drive
Internet speed is more than 300mb/s
Installed tha latest version Git and Python 3.10.6
Actions that didn't help me:
Reinstalling (using git clone or zip) - no
Installing the original SD amd-gpu - no
Checking for viruses - no
Internet search - I didn't find the information I needed
Change the browser - no
Change the folder directory with SD - no
Create a new user and try it out - no
FULL reinstalling before Git and Python 3.10.6 - no
Lower the resolution, lower the promptov, change the model - no
Remove built-in extensions - no
Wait a few days and reinstall - no
deleting venv folder - no
deleting the pip folder - no
write instead of --ditecrml --use-directml - no
Deleting all the latest installed programs before the SD worked - no
Reinstall the AMD driver - no
reinstall the system - I haven't tried it
Install HIP SDK libraries and use ZLUDA - no
Facts:
In launch.py added a line of code to fix the "gguf" error:
I think that some kind of engine has stopped working for me.
The text from the console will be attached.
The text was updated successfully, but these errors were encountered: