vladmandic / automatic

SD.Next: Advanced Implementation of Stable Diffusion and other Diffusion-based generative image models
https://github.com/vladmandic/automatic
GNU Affero General Public License v3.0
5.68k stars 421 forks source link

[Issue]: torch.utils._pytree._register_pytree_node error , Codeformer Error, gfpgan error #2613

Closed Carathon closed 10 months ago

Carathon commented 10 months ago

Issue Description

Getting several Issues while launching the sdnext:

Version Platform Description

System: Kernel: 6.2.0-37-generic x86_64 bits: 64 compiler Cinnamon 5.8.4 tk: GTK 3.24.33 Linux** Mint 21.2 Victoria base: Ubuntu 22.04 jammy

CPU: Info: 8-core model: AMD Ryzen 7 5700X** bits:

GPU Graphics: AMD Navi 22 [Radeon RX 6700/6700 XT / 6800M]

Startup (base) carathon@LinuxMintVictoria:/media/carathon/StableDiffusion/ImageAI/SDNext$ ./webui.sh --debug Create and activate python venv Launching launch.py... 15:50:27-645701 INFO Starting SD.Next
15:50:27-647618 INFO Logger: file="/media/carathon/StableDiffusion/ImageAI/SDNext/sdnext.log" level=DEBUG size=64 mode=create
15:50:27-648377 INFO Python 3.11.5 on Linux
15:50:27-657134 INFO Version: app=sd.next updated=2023-12-04 hash=93f35ccf url=https://github.com/vladmandic/automatic.git/tree/master
15:50:27-930863 INFO Platform: arch=x86_64 cpu=x86_64 system=Linux release=6.2.0-37-generic python=3.11.5
15:50:27-931600 DEBUG Setting environment tuning
15:50:27-932128 DEBUG Cache folder: /home/carathon/.cache/huggingface/hub
15:50:27-932622 DEBUG Torch overrides: cuda=False rocm=False ipex=False diml=False openvino=False
15:50:27-933230 DEBUG Torch allowed: cuda=True rocm=True ipex=True diml=True openvino=True
15:50:27-934090 INFO AMD ROCm toolkit detected
15:50:27-953993 DEBUG ROCm agents detected: ['gfx1031']
15:50:27-954617 DEBUG ROCm agent used by default: idx=0 gpu=gfx1031 arch=navi2x
15:50:27-990721 DEBUG ROCm version detected: 5.7
15:50:28-003233 DEBUG Repository update time: Mon Dec 4 19:31:52 2023
15:50:28-004074 INFO Startup: standard

Relevant log output

(base) carathon@LinuxMintVictoria:/media/carathon/StableDiffusion/ImageAI/SDNext$ ./webui.sh --debug
Create and activate python venv
Launching launch.py...
15:50:27-645701 INFO     Starting SD.Next                                                                                                                                                                                                                                                                                     
15:50:27-647618 INFO     Logger: file="/media/carathon/StableDiffusion/ImageAI/SDNext/sdnext.log" level=DEBUG size=64 mode=create                                                                                                                                                                                             
15:50:27-648377 INFO     Python 3.11.5 on Linux                                                                                                                                                                                                                                                                               
15:50:27-657134 INFO     Version: app=sd.next updated=2023-12-04 hash=93f35ccf url=https://github.com/vladmandic/automatic.git/tree/master                                                                                                                                                                                    
15:50:27-930863 INFO     Platform: arch=x86_64 cpu=x86_64 system=Linux release=6.2.0-37-generic python=3.11.5                                                                                                                                                                                                                 
15:50:27-931600 DEBUG    Setting environment tuning                                                                                                                                                                                                                                                                           
15:50:27-932128 DEBUG    Cache folder: /home/carathon/.cache/huggingface/hub                                                                                                                                                                                                                                                  
15:50:27-932622 DEBUG    Torch overrides: cuda=False rocm=False ipex=False diml=False openvino=False                                                                                                                                                                                                                          
15:50:27-933230 DEBUG    Torch allowed: cuda=True rocm=True ipex=True diml=True openvino=True                                                                                                                                                                                                                                 
15:50:27-934090 INFO     AMD ROCm toolkit detected                                                                                                                                                                                                                                                                            
15:50:27-953993 DEBUG    ROCm agents detected: ['gfx1031']                                                                                                                                                                                                                                                                    
15:50:27-954617 DEBUG    ROCm agent used by default: idx=0 gpu=gfx1031 arch=navi2x                                                                                                                                                                                                                                            
15:50:27-990721 DEBUG    ROCm version detected: 5.7                                                                                                                                                                                                                                                                           
15:50:28-003233 DEBUG    Repository update time: Mon Dec  4 19:31:52 2023                                                                                                                                                                                                                                                     
15:50:28-004074 INFO     Startup: standard                                                                                                                                                                                                                                                                                    
15:50:28-004585 INFO     Verifying requirements                                                                                                                                                                                                                                                                               
15:50:28-020236 INFO     Verifying packages                                                                                                                                                                                                                                                                                   
15:50:28-021562 INFO     Verifying submodules                                                                                                                                                                                                                                                                                 
15:50:28-282682 DEBUG    Submodule: extensions-builtin/sd-extension-chainner / main                                                                                                                                                                                                                                           
15:50:28-288558 DEBUG    Submodule: extensions-builtin/sd-extension-system-info / main                                                                                                                                                                                                                                        
15:50:28-293818 DEBUG    Submodule: extensions-builtin/sd-webui-agent-scheduler / main                                                                                                                                                                                                                                        
15:50:28-299456 DEBUG    Submodule: extensions-builtin/sd-webui-controlnet / main                                                                                                                                                                                                                                             
15:50:28-308390 DEBUG    Submodule: extensions-builtin/stable-diffusion-webui-images-browser / main                                                                                                                                                                                                                           
15:50:28-313718 DEBUG    Submodule: extensions-builtin/stable-diffusion-webui-rembg / master                                                                                                                                                                                                                                  
15:50:28-319394 DEBUG    Submodule: modules/k-diffusion / master                                                                                                                                                                                                                                                              
15:50:28-325284 DEBUG    Submodule: modules/lora / main                                                                                                                                                                                                                                                                       
15:50:28-330864 DEBUG    Submodule: wiki / master                                                                                                                                                                                                                                                                             
15:50:28-334650 DEBUG    Register paths                                                                                                                                                                                                                                                                                       
15:50:28-365816 DEBUG    Installed packages: 217                                                                                                                                                                                                                                                                              
15:50:28-366343 DEBUG    Extensions all: ['sd-webui-controlnet', 'sd-extension-chainner', 'Lora', 'sd-webui-agent-scheduler', 'sd-extension-system-info', 'stable-diffusion-webui-rembg', 'stable-diffusion-webui-images-browser']                                                                                            
15:50:28-366952 DEBUG    Running extension installer: /media/carathon/StableDiffusion/ImageAI/SDNext/extensions-builtin/sd-webui-controlnet/install.py                                                                                                                                                                        
15:50:28-560406 DEBUG    Running extension installer: /media/carathon/StableDiffusion/ImageAI/SDNext/extensions-builtin/sd-webui-agent-scheduler/install.py                                                                                                                                                                   
15:50:28-694796 DEBUG    Running extension installer: /media/carathon/StableDiffusion/ImageAI/SDNext/extensions-builtin/sd-extension-system-info/install.py                                                                                                                                                                   
15:50:28-829904 DEBUG    Running extension installer: /media/carathon/StableDiffusion/ImageAI/SDNext/extensions-builtin/stable-diffusion-webui-rembg/install.py                                                                                                                                                               
15:50:28-964618 DEBUG    Running extension installer: /media/carathon/StableDiffusion/ImageAI/SDNext/extensions-builtin/stable-diffusion-webui-images-browser/install.py                                                                                                                                                      
15:50:29-099399 DEBUG    Extensions all: []                                                                                                                                                                                                                                                                                   
15:50:29-100035 INFO     Extensions enabled: ['sd-webui-controlnet', 'sd-extension-chainner', 'Lora', 'sd-webui-agent-scheduler', 'sd-extension-system-info', 'stable-diffusion-webui-rembg', 'stable-diffusion-webui-images-browser']                                                                                        
15:50:29-100608 INFO     Verifying requirements                                                                                                                                                                                                                                                                               
15:50:29-110672 DEBUG    Setup complete without errors: 1702133429                                                                                                                                                                                                                                                            
15:50:29-112263 INFO     Extension preload: {'extensions-builtin': 0.0, 'extensions': 0.0}                                                                                                                                                                                                                                    
15:50:29-112986 DEBUG    Starting module: <module 'webui' from '/media/carathon/StableDiffusion/ImageAI/SDNext/webui.py'>                                                                                                                                                                                                     
15:50:29-113641 INFO     Command line args: ['--debug'] debug=True                                                                                                                                                                                                                                                            
/media/carathon/StableDiffusion/ImageAI/SDNext/venv/lib/python3.11/site-packages/transformers/utils/generic.py:441: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead.
  _torch_pytree._register_pytree_node(
15:50:31-496107 INFO     Load packages: torch=2.2.0.dev20231209+rocm5.7 diffusers=0.24.0 gradio=3.43.2                                                                                                                                                                                                                        
15:50:31-888042 DEBUG    Read: file="config.json" json=17 bytes=740                                                                                                                                                                                                                                                           
15:50:31-889108 INFO     Engine: backend=Backend.ORIGINAL compute=rocm mode=no_grad device=cuda cross-optimization="Sub-quadratic"                                                                                                                                                                                            
15:50:31-890358 INFO     Device: device=AMD Radeon RX 6700 XT n=1 hip=5.7.31921-d1770ee1b                                                                                                                                                                                                                                     
15:50:33-580753 DEBUG    Entering start sequence                                                                                                                                                                                                                                                                              
15:50:33-583157 DEBUG    Initializing                                                                                                                                                                                                                                                                                         
15:50:33-584360 INFO     Available VAEs: path="models/VAE" items=2                                                                                                                                                                                                                                                            
15:50:33-584976 INFO     Disabling uncompatible extensions: backend=Backend.ORIGINAL []                                                                                                                                                                                                                                       
15:50:33-585817 DEBUG    Read: file="cache.json" json=1 bytes=212                                                                                                                                                                                                                                                             
15:50:33-586491 DEBUG    Read: file="metadata.json" json=1 bytes=147                                                                                                                                                                                                                                                          
15:50:33-587062 INFO     Available models: path="models/Stable-diffusion" items=1 time=0.00                                                                                                                                                                                                                                   
15:50:33-592188 ERROR    codeformer: TypeError                                                                                                                                                                                                                                                                                
╭───────────────────────────────────────────────────────────────────────────────── Traceback (most recent call last) ──────────────────────────────────────────────────────────────────────────────────╮
│ /media/carathon/StableDiffusion/ImageAI/SDNext/modules/postprocess/codeformer_model.py:28 in setup_model                                                                                             │
│                                                                                                                                                                                                      │
│    27 │   │   from torchvision.transforms.functional import normalize                                                                                                                                │
│ ❱  28 │   │   from modules.postprocess.codeformer_arch import CodeFormer                                                                                                                             │
│    29 │   │   from basicsr.utils import img2tensor, tensor2img                                                                                                                                       │
│                                                                                                                                                                                                      │
│ /media/carathon/StableDiffusion/ImageAI/SDNext/modules/postprocess/codeformer_arch.py:8 in <module>                                                                                                  │
│                                                                                                                                                                                                      │
│     7 import torch.nn.functional as F                                                                                                                                                                │
│ ❱   8 from modules.postprocess.vqgan_arch import VQAutoEncoder, ResBlock                                                                                                                             │
│     9                                                                                                                                                                                                │
│                                                                                                                                                                                                      │
│ /media/carathon/StableDiffusion/ImageAI/SDNext/modules/postprocess/vqgan_arch.py:11 in <module>                                                                                                      │
│                                                                                                                                                                                                      │
│    10 import torch.nn.functional as F                                                                                                                                                                │
│ ❱  11 from basicsr.utils import get_root_logger                                                                                                                                                      │
│    12 from basicsr.utils.registry import ARCH_REGISTRY                                                                                                                                               │
│                                                                                                                                                                                                      │
│ /media/carathon/StableDiffusion/ImageAI/SDNext/venv/lib/python3.11/site-packages/basicsr/__init__.py:3 in <module>                                                                                   │
│                                                                                                                                                                                                      │
│    2 # flake8: noqa                                                                                                                                                                                  │
│ ❱  3 from .archs import *                                                                                                                                                                            │
│    4 from .data import *                                                                                                                                                                             │
│                                                                                                                                                                                                      │
│ /media/carathon/StableDiffusion/ImageAI/SDNext/venv/lib/python3.11/site-packages/basicsr/archs/__init__.py:16 in <module>                                                                            │
│                                                                                                                                                                                                      │
│   15 # import all the arch modules                                                                                                                                                                   │
│ ❱ 16 _arch_modules = [importlib.import_module(f'basicsr.archs.{file_name}') for file_name in                                                                                                         │
│   17                                                                                                                                                                                                 │
│                                                                                                                                                                                                      │
│ /media/carathon/StableDiffusion/ImageAI/SDNext/venv/lib/python3.11/site-packages/basicsr/archs/__init__.py:16 in <listcomp>                                                                          │
│                                                                                                                                                                                                      │
│   15 # import all the arch modules                                                                                                                                                                   │
│ ❱ 16 _arch_modules = [importlib.import_module(f'basicsr.archs.{file_name}') for file_name in                                                                                                         │
│   17                                                                                                                                                                                                 │
│                                                                                                                                                                                                      │
│ /home/carathon/anaconda3/lib/python3.11/importlib/__init__.py:126 in import_module                                                                                                                   │
│                                                                                                                                                                                                      │
│   125 │   │   │   level += 1                                                                                                                                                                         │
│ ❱ 126 │   return _bootstrap._gcd_import(name[level:], package, level)                                                                                                                                │
│   127                                                                                                                                                                                                │
│                                                                                                                                                                                                      │
│ /media/carathon/StableDiffusion/ImageAI/SDNext/venv/lib/python3.11/site-packages/basicsr/archs/srvgg_arch.py:7 in <module>                                                                           │
│                                                                                                                                                                                                      │
│    6                                                                                                                                                                                                 │
│ ❱  7 @ARCH_REGISTRY.register(suffix='basicsr')                                                                                                                                                       │
│    8 class SRVGGNetCompact(nn.Module):                                                                                                                                                               │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
TypeError: Registry.register() got an unexpected keyword argument 'suffix'
15:50:33-622469 ERROR    gfpgan: TypeError                                                                                                                                                                                                                                                                                    
╭───────────────────────────────────────────────────────────────────────────────── Traceback (most recent call last) ──────────────────────────────────────────────────────────────────────────────────╮
│ /media/carathon/StableDiffusion/ImageAI/SDNext/modules/postprocess/gfpgan_model.py:73 in setup_model                                                                                                 │
│                                                                                                                                                                                                      │
│    72 │   try:                                                                                                                                                                                       │
│ ❱  73 │   │   import gfpgan                                                                                                                                                                          │
│    74 │   │   import facexlib                                                                                                                                                                        │
│                                                                                                                                                                                                      │
│ /media/carathon/StableDiffusion/ImageAI/SDNext/venv/lib/python3.11/site-packages/gfpgan/__init__.py:3 in <module>                                                                                    │
│                                                                                                                                                                                                      │
│   2 from .archs import *                                                                                                                                                                             │
│ ❱ 3 from .data import *                                                                                                                                                                              │
│   4 from .models import *                                                                                                                                                                            │
│                                                                                                                                                                                                      │
│ /media/carathon/StableDiffusion/ImageAI/SDNext/venv/lib/python3.11/site-packages/gfpgan/data/__init__.py:10 in <module>                                                                              │
│                                                                                                                                                                                                      │
│    9 # import all the dataset modules                                                                                                                                                                │
│ ❱ 10 _dataset_modules = [importlib.import_module(f'gfpgan.data.{file_name}') for file_name in                                                                                                        │
│   11                                                                                                                                                                                                 │
│                                                                                                                                                                                                      │
│ /media/carathon/StableDiffusion/ImageAI/SDNext/venv/lib/python3.11/site-packages/gfpgan/data/__init__.py:10 in <listcomp>                                                                            │
│                                                                                                                                                                                                      │
│    9 # import all the dataset modules                                                                                                                                                                │
│ ❱ 10 _dataset_modules = [importlib.import_module(f'gfpgan.data.{file_name}') for file_name in                                                                                                        │
│   11                                                                                                                                                                                                 │
│                                                                                                                                                                                                      │
│ /home/carathon/anaconda3/lib/python3.11/importlib/__init__.py:126 in import_module                                                                                                                   │
│                                                                                                                                                                                                      │
│   125 │   │   │   level += 1                                                                                                                                                                         │
│ ❱ 126 │   return _bootstrap._gcd_import(name[level:], package, level)                                                                                                                                │
│   127                                                                                                                                                                                                │
│                                                                                                                                                                                                      │
│                                                                                       ... 1 frames hidden ...                                                                                        │
│                                                                                                                                                                                                      │
│ /media/carathon/StableDiffusion/ImageAI/SDNext/venv/lib/python3.11/site-packages/basicsr/__init__.py:3 in <module>                                                                                   │
│                                                                                                                                                                                                      │
│    2 # flake8: noqa                                                                                                                                                                                  │
│ ❱  3 from .archs import *                                                                                                                                                                            │
│    4 from .data import *                                                                                                                                                                             │
│                                                                                                                                                                                                      │
│ /media/carathon/StableDiffusion/ImageAI/SDNext/venv/lib/python3.11/site-packages/basicsr/archs/__init__.py:16 in <module>                                                                            │
│                                                                                                                                                                                                      │
│   15 # import all the arch modules                                                                                                                                                                   │
│ ❱ 16 _arch_modules = [importlib.import_module(f'basicsr.archs.{file_name}') for file_name in                                                                                                         │
│   17                                                                                                                                                                                                 │
│                                                                                                                                                                                                      │
│ /media/carathon/StableDiffusion/ImageAI/SDNext/venv/lib/python3.11/site-packages/basicsr/archs/__init__.py:16 in <listcomp>                                                                          │
│                                                                                                                                                                                                      │
│   15 # import all the arch modules                                                                                                                                                                   │
│ ❱ 16 _arch_modules = [importlib.import_module(f'basicsr.archs.{file_name}') for file_name in                                                                                                         │
│   17                                                                                                                                                                                                 │
│                                                                                                                                                                                                      │
│ /home/carathon/anaconda3/lib/python3.11/importlib/__init__.py:126 in import_module                                                                                                                   │
│                                                                                                                                                                                                      │
│   125 │   │   │   level += 1                                                                                                                                                                         │
│ ❱ 126 │   return _bootstrap._gcd_import(name[level:], package, level)                                                                                                                                │
│   127                                                                                                                                                                                                │
│                                                                                                                                                                                                      │
│ /media/carathon/StableDiffusion/ImageAI/SDNext/venv/lib/python3.11/site-packages/basicsr/archs/srvgg_arch.py:7 in <module>                                                                           │
│                                                                                                                                                                                                      │
│    6                                                                                                                                                                                                 │
│ ❱  7 @ARCH_REGISTRY.register(suffix='basicsr')                                                                                                                                                       │
│    8 class SRVGGNetCompact(nn.Module):                                                                                                                                                               │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
TypeError: Registry.register() got an unexpected keyword argument 'suffix'
15:50:33-638904 DEBUG    Load extensions                                                                                                                                                                                                                                                                                      
15:50:34-248819 INFO     Extension: script='extensions-builtin/sd-webui-agent-scheduler/scripts/task_scheduler.py' Using sqlite file: extensions-builtin/sd-webui-agent-scheduler/task_scheduler.sqlite3                                                                                                                      
15:50:34-344904 INFO     Extension: script='extensions-builtin/sd-webui-controlnet/scripts/controlnet.py' Warning: ControlNet failed to load SGM - will use LDM instead.                                                                                                                                                      
15:50:34-345679 INFO     Extension: script='extensions-builtin/sd-webui-controlnet/scripts/controlnet.py' ControlNet preprocessor location: /media/carathon/StableDiffusion/ImageAI/SDNext/extensions-builtin/sd-webui-controlnet/annotator/downloads                                                                         
15:50:34-349473 INFO     Extension: script='extensions-builtin/sd-webui-controlnet/scripts/hook.py' Warning: ControlNet failed to load SGM - will use LDM instead.                                                                                                                                                            
15:50:34-674184 INFO     Extensions time: 1.03 { Lora=0.20 sd-webui-agent-scheduler=0.38 sd-webui-controlnet=0.10 stable-diffusion-webui-rembg=0.31 }                                                                                                                                                                         
15:50:34-676553 ERROR    Error loading upscaler: realesrgan Registry.register() got an unexpected keyword argument 'suffix'                                                                                                                                                                                                   
15:50:34-690777 DEBUG    Read: file="html/upscalers.json" json=4 bytes=2640                                                                                                                                                                                                                                                   
15:50:34-691494 DEBUG    Read: file="extensions-builtin/sd-extension-chainner/models.json" json=24 bytes=2693                                                                                                                                                                                                                 
15:50:34-692307 DEBUG    chaiNNer models: path="models/chaiNNer" defined=24 discovered=0 downloaded=0                                                                                                                                                                                                                         
15:50:34-693121 DEBUG    Upscaler type=ESRGAN folder="models/ESRGAN" model="RealESRGAN_x2plus" path="models/ESRGAN/RealESRGAN_x2plus.pth"                                                                                                                                                                                     
15:50:34-693955 DEBUG    Load upscalers: total=45 downloaded=1 user=1 time=0.02 ['None', 'Lanczos', 'Nearest', 'ChaiNNer', 'ESRGAN', 'SCUNet', 'SD', 'LDSR', 'SwinIR']                                                                                                                                                        
15:50:34-698865 DEBUG    Load styles: folder="models/styles" items=288 time=0.00                                                                                                                                                                                                                                              
15:50:34-700387 DEBUG    Creating UI                                                                                                                                                                                                                                                                                          
15:50:34-794338 INFO     Load UI theme: name="black-teal" style=Auto base=sdnext.css                                                                                                                                                                                                                                          
15:50:34-805512 DEBUG    Extra networks: page='model' items=1 subfolders=3 tab=txt2img folders=['models/Stable-diffusion', 'models/Diffusers', 'models/Reference', '/media/carathon/StableDiffusion/ImageAI/SDNext/models/Stable-diffusion'] list=0.00 desc=0.00 info=0.00 workers=2                                          
15:50:34-811724 DEBUG    Extra networks: page='style' items=288 subfolders=2 tab=txt2img folders=['models/styles', 'html'] list=0.00 desc=0.00 info=0.00 workers=2                                                                                                                                                            
15:50:34-812682 DEBUG    Extra networks: page='embedding' items=0 subfolders=1 tab=txt2img folders=['models/embeddings'] list=0.00 desc=0.00 info=0.00 workers=2                                                                                                                                                              
15:50:34-813551 DEBUG    Extra networks: page='hypernetwork' items=0 subfolders=1 tab=txt2img folders=['models/hypernetworks'] list=0.00 desc=0.00 info=0.00 workers=2                                                                                                                                                        
15:50:34-814430 DEBUG    Extra networks: page='vae' items=2 subfolders=1 tab=txt2img folders=['models/VAE'] list=0.00 desc=0.00 info=0.00 workers=2                                                                                                                                                                           
15:50:34-815277 DEBUG    Extra networks: page='lora' items=0 subfolders=1 tab=txt2img folders=['models/Lora', 'models/LyCORIS'] list=0.00 desc=0.00 info=0.00 workers=2                                                                                                                                                       
15:50:34-958870 DEBUG    Read: file="ui-config.json" json=0 bytes=2                                                                                                                                                                                                                                                           
15:50:35-033042 DEBUG    Themes: builtin=6 default=5 external=55                                                                                                                                                                                                                                                              
15:50:35-487719 DEBUG    Script: 0.41 ui_tabs /media/carathon/StableDiffusion/ImageAI/SDNext/extensions-builtin/stable-diffusion-webui-images-browser/scripts/image_browser.py                                                                                                                                                
15:50:35-528126 DEBUG    Extension list: processed=7 installed=7 enabled=7 disabled=0 visible=7 hidden=0                                                                                                                                                                                                                      
15:50:35-821269 INFO     Local URL: http://127.0.0.1:7860/                                                                                                                                                                                                                                                                    
15:50:35-822011 DEBUG    Gradio functions: registered=2085                                                                                                                                                                                                                                                                    
15:50:35-822542 INFO     Initializing middleware                                                                                                                                                                                                                                                                              
15:50:35-825833 DEBUG    Creating API                                                                                                                                                                                                                                                                                         
15:50:35-928023 INFO     [AgentScheduler] Task queue is empty                                                                                                                                                                                                                                                                 
15:50:35-928733 INFO     [AgentScheduler] Registering APIs                                                                                                                                                                                                                                                                    
15:50:36-004933 DEBUG    Scripts setup: ['ControlNet:0.042']                                                                                                                                                                                                                                                                  
15:50:36-005664 DEBUG    Model metadata: file="metadata.json" no changes                                                                                                                                                                                                                                                      
15:50:36-006212 DEBUG    Model auto load disabled                                                                                                                                                                                                                                                                             
15:50:36-006905 DEBUG    Save: file="config.json" json=17 bytes=740                                                                                                                                                                                                                                                           
15:50:36-007550 INFO     Startup time: 6.89 { torch=1.86 gradio=0.50 libraries=2.08 extensions=1.03 face-restore=0.05 ui-extra-networks=0.12 ui-img2img=0.05 ui-settings=0.12 ui-extensions=0.47 launch=0.25 api=0.06 app-started=0.13 }                                                                                      
15:52:00-022428 DEBUG    Server: alive=True jobs=0 requests=2 uptime=88 memory=1.43/31.24 backend=Backend.ORIGINAL state=idle                                                                                                                                                                                                 
15:54:00-041280 DEBUG    Server: alive=True jobs=0 requests=2 uptime=208 memory=1.43/31.24 backend=Backend.ORIGINAL state=idle

Backend

Original

Branch

Master

Model

SD 1.5

Acknowledgements

vladmandic commented 10 months ago

this has been fixed in dev already, will be merged to master in the next release. root cause is that basicsr package used by codeformer is not compatible with latest version of transformers package.

Carathon commented 10 months ago

Alright, thanks for the quick reply and all your effort.