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

Error after update #142

Open
CCpt5 opened this issue May 29, 2024 · 2 comments · Fixed by #154
Open

Error after update #142

CCpt5 opened this issue May 29, 2024 · 2 comments · Fixed by #154
Assignees
Labels
bug Something isn't working

Comments

@CCpt5
Copy link

CCpt5 commented May 29, 2024

Hello,

I updated today for the first time in a week or two and have gotten this type error twice now after running a few successful merge generations. Unfortunately I don't have time to try to narrow down a method to reproduce at the moment, but I wanted to report the error in case it is informative:

Details

2024-05-28 21:02:11,668 - ControlNet - INFO - unit_separate = False, style_align = False | 364/82004 [01:25<3:28:22, 6.53it/s]
2024-05-28 21:02:11,668 - ControlNet - INFO - Loading model from cache: Canny-xinsir-sdxl - model_V2 [ab7dc06d]
2024-05-28 21:02:11,690 - ControlNet - INFO - Using preprocessor: canny
2024-05-28 21:02:11,690 - ControlNet - INFO - preprocessor resolution = 512
2024-05-28 21:02:11,868 - ControlNet - INFO - ControlNet Hooked - Time = 0.205000638961792
46%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████▌ | 12/26 [00:02<00:03, 4.57it/s]
Total progress: 0%|█ | 376/82004 [01:31<5:31:26, 4.10it/s]
debugs = ['elemental merge'] | 376/82004 [01:31<4:46:45, 4.74it/s]
use_extra_elements = True

  • mm_max_models = 8
    config hash = 48473657badf5fd71c75986fcfaeb2b00dd1d84390ed27d83950c60a4fc85202
  • mm_use [True, True, True, False, False, False, False, False]
  • model_a SDXL\2024-03-31 - Davematthews Person - Awesome Mix (Model Mixer) - Tops.safetensors [0fdd81785f]
  • base_model None
  • max_models 8
  • models ['SDXL\SD-Checkpoints-Fast-Backup\z-2023-12-08-Dave Matthews - GoodMix-Uses-Other-12-8-As-Base - This looked nice on XYZ at cfg 6 and 8.safetensors [ed1d2df009]', 'SDXL\2024-04-14 - Davematthews Person - Outstanding Supermerge - Mix of mixes from hidden forge.safetensors [1b08e5db2e]', 'SDXL\SD-Checkpoints-Fast-Backup\2024-05-10 - Davematthews Person (Current Day) - 10img.safetensors-step00001500.safetensors']
  • modes ['Sum', 'Sum', 'Sum']
  • calcmodes ['Normal', 'Normal', 'Normal']
  • usembws [[], [], []]
  • weights ['0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5', '0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5', '0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5']
  • alpha [0.8, 0.5, 0.5]
  • adjust
  • use elemental [False, False, False]
  • elementals ['', '', '']
  • Parse elemental merge...
    model_a = SDXL_2024-03-31 - Davematthews Person - Awesome Mix (Model Mixer) - Tops
    Loading from file e:\Stable Diffusion Checkpoints\SDXL\2024-03-31 - Davematthews Person - Awesome Mix (Model Mixer) - Tops.safetensors...
    isxl = True , sd2 = False
    compact_mode = False
  • check possible UNet partial update...
  • partial changed blocks = ['BASE', 'IN00', 'IN01', 'IN02', 'IN03', 'IN04', 'IN05', 'IN06', 'IN07', 'IN08', 'M00', 'OUT00', 'OUT01', 'OUT02', 'OUT03', 'OUT04', 'OUT05', 'OUT06', 'OUT07', 'OUT08']
  • UNet partial update mode
    Open state_dict from file e:\Stable Diffusion Checkpoints\SDXL\SD-Checkpoints-Fast-Backup\z-2023-12-08-Dave Matthews - GoodMix-Uses-Other-12-8-As-Base - This looked nice on XYZ at cfg 6 and 8.safetensors...
    mode = Sum, alpha = 0.8
    Stage Issue where model in merged but not save leads to "Cannot copy out of meta tensor; no data!" - persists through restart - had to disable app to continue #1/4: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2262/2262 [00:03<00:00, 660.82it/s]
    Check uninitialized support mbw presets #2/4: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2262/2262 [00:00<00:00, 452432.79it/s]
    Open state_dict from file e:\Stable Diffusion Checkpoints\SDXL\2024-04-14 - Davematthews Person - Outstanding Supermerge - Mix of mixes from hidden forge.safetensors...
    mode = Sum, alpha = 0.5
    Stage Add to A1111 Extension List #3/4: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2262/2262 [00:05<00:00, 452.26it/s]
    Open state_dict from file e:\Stable Diffusion Checkpoints\SDXL\SD-Checkpoints-Fast-Backup\2024-05-10 - Davematthews Person (Current Day) - 10img.safetensors-step00001500.safetensors...
    Calculating sha256 for e:\Stable Diffusion Checkpoints\SDXL\SD-Checkpoints-Fast-Backup\2024-05-10 - Davematthews Person (Current Day) - 10img.safetensors-step00001500.safetensors: f564430288b3e37b407d13037c331c71dd4b7df65e4ba7d50c487c37e7ed8cd3
    mode = Sum, alpha = 0.5
    Stage Use merged model in a new merge #4/4: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2262/2262 [00:03<00:00, 724.07it/s]
    Save unchanged weights Use merged model in a new merge #4/4: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<?, ?it/s]
  • merge processing in 15.9s (merging: 15.9s).
  • loading scripts.patches...
  • lora patch
  • Textencoder(BASE) has been successfully updated
  • update UNet block input_blocks.0.
  • update UNet block input_blocks.1.
  • update UNet block input_blocks.2.
  • update UNet block input_blocks.3.
  • update UNet block input_blocks.4.
  • update UNet block input_blocks.5.
  • update UNet block input_blocks.6.
  • update UNet block input_blocks.7.
  • update UNet block input_blocks.8.
  • update UNet block middle_block.
  • update UNet block output_blocks.0.
  • update UNet block output_blocks.1.
  • update UNet block output_blocks.2.
  • update UNet block output_blocks.3.
  • update UNet block output_blocks.4.
  • update UNet block output_blocks.5.
  • update UNet block output_blocks.6.
  • update UNet block output_blocks.7.
  • update UNet block output_blocks.8.
  • update UNet block time_embed.
  • update UNet block out.
  • UNet partial blocks have been successfully updated
  • Reload full state_dict...
  • remove old checkpointinfo
  • unload current merged model from loaded_sd_models...
    *** Error running before_process: D:\stable-diffusion-webui\extensions\sd-webui-model-mixer\scripts\model_mixer.py
    Traceback (most recent call last):
    File "D:\stable-diffusion-webui\modules\scripts.py", line 817, in before_process
    script.before_process(p, *script_args)
    File "D:\stable-diffusion-webui\extensions\sd-webui-model-mixer\scripts\model_mixer.py", line 4338, in before_process
    send_model_to_cpu(sd_models.model_data.sd_model)
    File "D:\stable-diffusion-webui\modules\sd_models.py", line 672, in send_model_to_cpu
    m.to(devices.cpu)
    File "D:\stable-diffusion-webui\venv\lib\site-packages\lightning_fabric\utilities\device_dtype_mixin.py", line 54, in to
    return super().to(*args, **kwargs)
    File "D:\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 1160, in to
    return self._apply(convert)
    File "D:\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 810, in _apply
    module._apply(fn)
    File "D:\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 810, in _apply
    module._apply(fn)
    File "D:\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 810, in _apply
    module._apply(fn)
    [Previous line repeated 1 more time]
    File "D:\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 833, in _apply
    param_applied = fn(param)
    File "D:\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 1158, in convert
    return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)
    NotImplementedError: Cannot copy out of meta tensor; no data!

2024-05-28 21:03:58,220 - ControlNet - INFO - Batch enabled (3154)
controlnet batch mode
2024-05-28 21:03:58,246 - ControlNet - INFO - unit_separate = False, style_align = False
2024-05-28 21:03:58,247 - ControlNet - INFO - Loading model from cache: Canny-xinsir-sdxl - model_V2 [ab7dc06d]
2024-05-28 21:03:58,273 - ControlNet - INFO - Using preprocessor: canny
2024-05-28 21:03:58,274 - ControlNet - INFO - preprocessor resolution = 512
2024-05-28 21:03:58,438 - ControlNet - INFO - ControlNet Hooked - Time = 0.1959998607635498
*** Error completing request
*** Arguments: ('task(7jf0rgm2nbvfcxn)', <gradio.routes.Request object at 0x000001BB7BB23310>, 'davematthews person Llama2 - Variable Movie film scenarios-Feb2-2024', '', [], 1, 1, 6, 768, 1344, False, 0.7, 2, 'Latent', 0, 0, 0, 'Use same checkpoint', 'Use same sampler', 'Use same scheduler', '', '', [], 0, 26, 'DPM++ 2M', 'Automatic', False, '', 0.8, -1, False, -1, 0, 0, 0, True, False, 1, False, False, False, 1.1, 1.5, 100, 0.7, False, False, True, False, False, 0, 'Gustavosta/MagicPrompt-Stable-Diffusion', '', ControlNetUnit(is_ui=True, input_mode=<InputMode.BATCH: 'batch'>, batch_images=<list_iterator object at 0x000001BABACA24D0>, output_dir='', loopback=False, enabled=True, module='canny', model='Canny-xinsir-sdxl - model_V2 [ab7dc06d]', weight=1.0, image='D:\SDXL\OneTrainer\Datasets\Shotdeck-3000\0003.jpg', resize_mode=<ResizeMode.INNER_FIT: 'Crop and Resize'>, low_vram=False, processor_res=512, threshold_a=100.0, threshold_b=200.0, guidance_start=0.0, guidance_end=0.3, pixel_perfect=False, control_mode=<ControlMode.BALANCED: 'Balanced'>, inpaint_crop_input_image=False, hr_option=<HiResFixOption.BOTH: 'Both'>, save_detected_map=True, advanced_weighting=None, effective_region_mask=None, pulid_mode=<PuLIDMode.FIDELITY: 'Fidelity'>, ipadapter_input=None, mask=None, batch_mask_dir=None, animatediff_batch=False, batch_modifiers=[], batch_image_files=[], batch_keyframe_idx=None), ControlNetUnit(is_ui=True, input_mode=<InputMode.SIMPLE: 'simple'>, batch_images='', output_dir='', loopback=False, enabled=False, module='none', model='None', weight=1.0, image=None, resize_mode=<ResizeMode.INNER_FIT: 'Crop and Resize'>, low_vram=False, processor_res=-1, threshold_a=-1.0, threshold_b=-1.0, guidance_start=0.0, guidance_end=1.0, pixel_perfect=False, control_mode=<ControlMode.BALANCED: 'Balanced'>, inpaint_crop_input_image=False, hr_option=<HiResFixOption.BOTH: 'Both'>, save_detected_map=True, advanced_weighting=None, effective_region_mask=None, pulid_mode=<PuLIDMode.FIDELITY: 'Fidelity'>, ipadapter_input=None, mask=None, batch_mask_dir=None, animatediff_batch=False, batch_modifiers=[], batch_image_files=[], batch_keyframe_idx=None), ControlNetUnit(is_ui=True, input_mode=<InputMode.SIMPLE: 'simple'>, batch_images='', output_dir='', loopback=False, enabled=False, module='none', model='None', weight=1.0, image=None, resize_mode=<ResizeMode.INNER_FIT: 'Crop and Resize'>, low_vram=False, processor_res=-1, threshold_a=-1.0, threshold_b=-1.0, guidance_start=0.0, guidance_end=1.0, pixel_perfect=False, control_mode=<ControlMode.BALANCED: 'Balanced'>, inpaint_crop_input_image=False, hr_option=<HiResFixOption.BOTH: 'Both'>, save_detected_map=True, advanced_weighting=None, effective_region_mask=None, pulid_mode=<PuLIDMode.FIDELITY: 'Fidelity'>, ipadapter_input=None, mask=None, batch_mask_dir=None, animatediff_batch=False, batch_modifiers=[], batch_image_files=[], batch_keyframe_idx=None), False, False, {'ad_model': 'face_yolov8n.pt', 'ad_model_classes': '', 'ad_prompt': '', 'ad_negative_prompt': '', 'ad_confidence': 0.3, 'ad_mask_k_largest': 0, 'ad_mask_min_ratio': 0, 'ad_mask_max_ratio': 1, 'ad_x_offset': 0, 'ad_y_offset': 0, 'ad_dilate_erode': 4, 'ad_mask_merge_invert': 'None', 'ad_mask_blur': 4, 'ad_denoising_strength': 0.4, 'ad_inpaint_only_masked': True, 'ad_inpaint_only_masked_padding': 32, 'ad_use_inpaint_width_height': False, 'ad_inpaint_width': 512, 'ad_inpaint_height': 512, 'ad_use_steps': False, 'ad_steps': 28, 'ad_use_cfg_scale': False, 'ad_cfg_scale': 7, 'ad_use_checkpoint': False, 'ad_checkpoint': 'Use same checkpoint', 'ad_use_vae': False, 'ad_vae': 'Use same VAE', 'ad_use_sampler': False, 'ad_sampler': 'DPM++ 2M', 'ad_scheduler': 'Use same scheduler', 'ad_use_noise_multiplier': False, 'ad_noise_multiplier': 1, 'ad_use_clip_skip': False, 'ad_clip_skip': 1, 'ad_restore_face': False, 'ad_controlnet_model': 'None', 'ad_controlnet_module': 'None', 'ad_controlnet_weight': 1, 'ad_controlnet_guidance_start': 0, 'ad_controlnet_guidance_end': 1, 'is_api': ()}, {'ad_model': 'None', 'ad_model_classes': '', 'ad_prompt': '', 'ad_negative_prompt': '', 'ad_confidence': 0.3, 'ad_mask_k_largest': 0, 'ad_mask_min_ratio': 0, 'ad_mask_max_ratio': 1, 'ad_x_offset': 0, 'ad_y_offset': 0, 'ad_dilate_erode': 4, 'ad_mask_merge_invert': 'None', 'ad_mask_blur': 4, 'ad_denoising_strength': 0.4, 'ad_inpaint_only_masked': True, 'ad_inpaint_only_masked_padding': 32, 'ad_use_inpaint_width_height': False, 'ad_inpaint_width': 512, 'ad_inpaint_height': 512, 'ad_use_steps': False, 'ad_steps': 28, 'ad_use_cfg_scale': False, 'ad_cfg_scale': 7, 'ad_use_checkpoint': False, 'ad_checkpoint': 'Use same checkpoint', 'ad_use_vae': False, 'ad_vae': 'Use same VAE', 'ad_use_sampler': False, 'ad_sampler': 'DPM++ 2M', 'ad_scheduler': 'Use same scheduler', 'ad_use_noise_multiplier': False, 'ad_noise_multiplier': 1, 'ad_use_clip_skip': False, 'ad_clip_skip': 1, 'ad_restore_face': False, 'ad_controlnet_model': 'None', 'ad_controlnet_module': 'None', 'ad_controlnet_weight': 1, 'ad_controlnet_guidance_start': 0, 'ad_controlnet_guidance_end': 1, 'is_api': ()}, True, 'SDXL\2024-03-31 - Davematthews Person - Awesome Mix (Model Mixer) - Tops.safetensors [0fdd81785f]', 'None', 8, '', {'save_settings': ['fp16', 'prune', 'safetensors'], 'calc_settings': ['GPU']}, True, True, True, False, False, False, False, False, 'SDXL\SD-Checkpoints-Fast-Backup\z-2023-12-08-Dave Matthews - GoodMix-Uses-Other-12-8-As-Base - This looked nice on XYZ at cfg 6 and 8.safetensors [ed1d2df009]', 'SDXL\2024-04-14 - Davematthews Person - Outstanding Supermerge - Mix of mixes from hidden forge.safetensors [1b08e5db2e]', 'SDXL\SD-Checkpoints-Fast-Backup\2024-05-10 - Davematthews Person (Current Day) - 10img.safetensors-step00001500.safetensors', 'None', 'None', 'None', 'None', 'None', 'Sum', 'Sum', 'Sum', 'Sum', 'Sum', 'Sum', 'Sum', 'Sum', 0.8, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, True, True, True, True, True, True, True, True, [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], '0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5', '0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5', '0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5', '0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5', '0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5', '0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5', '0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5', '0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5', False, False, False, False, False, False, False, False, '', '', '', '', '', '', '', '', 'Normal', 'Normal', 'Normal', 'Normal', 'Normal', 'Normal', 'Normal', 'Normal', False, 'MultiDiffusion', False, True, 1024, 1024, 96, 96, 48, 4, 'None', 2, False, 10, 1, 1, 64, False, False, False, False, False, 0.4, 0.4, 0.2, 0.2, '', '', 'Background', 0.2, -1.0, False, 0.4, 0.4, 0.2, 0.2, '', '', 'Background', 0.2, -1.0, False, 0.4, 0.4, 0.2, 0.2, '', '', 'Background', 0.2, -1.0, False, 0.4, 0.4, 0.2, 0.2, '', '', 'Background', 0.2, -1.0, False, 0.4, 0.4, 0.2, 0.2, '', '', 'Background', 0.2, -1.0, False, 0.4, 0.4, 0.2, 0.2, '', '', 'Background', 0.2, -1.0, False, 0.4, 0.4, 0.2, 0.2, '', '', 'Background', 0.2, -1.0, False, 0.4, 0.4, 0.2, 0.2, '', '', 'Background', 0.2, -1.0, False, 'DemoFusion', False, 128, 64, 4, 2, False, 10, 1, 1, 64, False, True, 3, 1, 1, True, 0.85, 0.6, 4, False, False, 3072, 192, True, True, True, False, False, False, 'positive', 'comma', 0, False, False, 'start', '', 1, '', [], 0, '', [], 0, '', [], True, False, False, False, False, False, False, 0, False, None, None, False, None, None, False, None, None, False, 50) {}
Traceback (most recent call last):
File "D:\stable-diffusion-webui\modules\call_queue.py", line 57, in f
res = list(func(*args, **kwargs))
File "D:\stable-diffusion-webui\modules\call_queue.py", line 36, in f
res = func(*args, **kwargs)
File "D:\stable-diffusion-webui\modules\txt2img.py", line 109, in txt2img
processed = processing.process_images(p)
File "D:\stable-diffusion-webui\modules\processing.py", line 839, in process_images
res = process_images_inner(p)
File "D:\stable-diffusion-webui\extensions\3sd-webui-controlnet\scripts\batch_hijack.py", line 66, in processing_process_images_hijack
processed = self.process_images_cn_batch(p, *args, **kwargs)
File "D:\stable-diffusion-webui\extensions\3sd-webui-controlnet\scripts\batch_hijack.py", line 91, in process_images_cn_batch
processed = getattr(processing, '__controlnet_original_process_images_inner')(p, *args, **kwargs)
File "D:\stable-diffusion-webui\modules\processing.py", line 953, in process_images_inner
p.setup_conds()
File "D:\stable-diffusion-webui\modules\processing.py", line 1489, in setup_conds
super().setup_conds()
File "D:\stable-diffusion-webui\modules\processing.py", line 500, in setup_conds
self.uc = self.get_conds_with_caching(prompt_parser.get_learned_conditioning, negative_prompts, total_steps, [self.cached_uc], self.extra_network_data)
File "D:\stable-diffusion-webui\modules\processing.py", line 486, in get_conds_with_caching
cache[1] = function(shared.sd_model, required_prompts, steps, hires_steps, shared.opts.use_old_scheduling)
File "D:\stable-diffusion-webui\modules\prompt_parser.py", line 188, in get_learned_conditioning
conds = model.get_learned_conditioning(texts)
File "D:\stable-diffusion-webui\modules\sd_models_xl.py", line 32, in get_learned_conditioning
c = self.conditioner(sdxl_conds, force_zero_embeddings=['txt'] if force_zero_negative_prompt else [])
File "D:\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "D:\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "D:\stable-diffusion-webui\repositories\generative-models\sgm\modules\encoders\modules.py", line 141, in forward
emb_out = embedder(batch[embedder.input_key])
File "D:\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "D:\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "D:\stable-diffusion-webui\repositories\generative-models\sgm\util.py", line 59, in do_autocast
return f(*args, **kwargs)
File "D:\stable-diffusion-webui\repositories\generative-models\sgm\modules\encoders\modules.py", line 391, in forward
outputs = self.transformer(
File "D:\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "D:\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "D:\stable-diffusion-webui\venv\lib\site-packages\transformers\models\clip\modeling_clip.py", line 822, in forward
return self.text_model(
File "D:\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "D:\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "D:\stable-diffusion-webui\venv\lib\site-packages\transformers\models\clip\modeling_clip.py", line 734, in forward
causal_attention_mask = _make_causal_mask(input_shape, hidden_states.dtype, device=hidden_states.device)
File "D:\stable-diffusion-webui\venv\lib\site-packages\transformers\models\clip\modeling_clip.py", line 684, in _make_causal_mask
mask = torch.full((tgt_len, tgt_len), torch.tensor(torch.finfo(dtype).min, device=device), device=device)
NotImplementedError: Could not run 'aten::_local_scalar_dense' with arguments from the 'Meta' backend. This could be because the operator doesn't exist for this backend, or was omitted during the selective/custom build process (if using custom build). If you are a Facebook employee using PyTorch on mobile, please visit https://fburl.com/ptmfixes for possible resolutions. 'aten::_local_scalar_dense' is only available for these backends: [CPU, CUDA, BackendSelect, Python, FuncTorchDynamicLayerBackMode, Functionalize, Named, Conjugate, Negative, ZeroTensor, ADInplaceOrView, AutogradOther, AutogradCPU, AutogradCUDA, AutogradHIP, AutogradXLA, AutogradMPS, AutogradIPU, AutogradXPU, AutogradHPU, AutogradVE, AutogradLazy, AutogradMTIA, AutogradPrivateUse1, AutogradPrivateUse2, AutogradPrivateUse3, AutogradMeta, AutogradNestedTensor, Tracer, AutocastCPU, AutocastCUDA, FuncTorchBatched, FuncTorchVmapMode, Batched, VmapMode, FuncTorchGradWrapper, PythonTLSSnapshot, FuncTorchDynamicLayerFrontMode, PreDispatch, PythonDispatcher].

CPU: registered at aten\src\ATen\RegisterCPU.cpp:31188 [kernel]
CUDA: registered at aten\src\ATen\RegisterCUDA.cpp:44143 [kernel]
BackendSelect: fallthrough registered at ..\aten\src\ATen\core\BackendSelectFallbackKernel.cpp:3 [backend fallback]
Python: registered at ..\aten\src\ATen\core\PythonFallbackKernel.cpp:153 [backend fallback]
FuncTorchDynamicLayerBackMode: registered at ..\aten\src\ATen\functorch\DynamicLayer.cpp:498 [backend fallback]
Functionalize: registered at ..\aten\src\ATen\FunctionalizeFallbackKernel.cpp:290 [backend fallback]
Named: fallthrough registered at ..\aten\src\ATen\core\NamedRegistrations.cpp:11 [kernel]
Conjugate: registered at ..\aten\src\ATen\ConjugateFallback.cpp:17 [backend fallback]
Negative: registered at ..\aten\src\ATen\native\NegateFallback.cpp:19 [backend fallback]
ZeroTensor: registered at ..\aten\src\ATen\ZeroTensorFallback.cpp:86 [backend fallback]
ADInplaceOrView: fallthrough registered at ..\aten\src\ATen\core\VariableFallbackKernel.cpp:86 [backend fallback]
AutogradOther: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:18694 [autograd kernel]
AutogradCPU: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:18694 [autograd kernel]
AutogradCUDA: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:18694 [autograd kernel]
AutogradHIP: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:18694 [autograd kernel]
AutogradXLA: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:18694 [autograd kernel]
AutogradMPS: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:18694 [autograd kernel]
AutogradIPU: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:18694 [autograd kernel]
AutogradXPU: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:18694 [autograd kernel]
AutogradHPU: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:18694 [autograd kernel]
AutogradVE: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:18694 [autograd kernel]
AutogradLazy: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:18694 [autograd kernel]
AutogradMTIA: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:18694 [autograd kernel]
AutogradPrivateUse1: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:18694 [autograd kernel]
AutogradPrivateUse2: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:18694 [autograd kernel]
AutogradPrivateUse3: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:18694 [autograd kernel]
AutogradMeta: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:18694 [autograd kernel]
AutogradNestedTensor: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:18694 [autograd kernel]
Tracer: registered at ..\torch\csrc\autograd\generated\TraceType_2.cpp:17079 [kernel]
AutocastCPU: fallthrough registered at ..\aten\src\ATen\autocast_mode.cpp:382 [backend fallback]
AutocastCUDA: fallthrough registered at ..\aten\src\ATen\autocast_mode.cpp:249 [backend fallback]
FuncTorchBatched: registered at ..\aten\src\ATen\functorch\BatchRulesDynamic.cpp:66 [kernel]
FuncTorchVmapMode: fallthrough registered at ..\aten\src\ATen\functorch\VmapModeRegistrations.cpp:28 [backend fallback]
Batched: registered at ..\aten\src\ATen\LegacyBatchingRegistrations.cpp:1075 [backend fallback]
VmapMode: fallthrough registered at ..\aten\src\ATen\VmapModeRegistrations.cpp:33 [backend fallback]
FuncTorchGradWrapper: registered at ..\aten\src\ATen\functorch\TensorWrapper.cpp:203 [backend fallback]
PythonTLSSnapshot: registered at ..\aten\src\ATen\core\PythonFallbackKernel.cpp:161 [backend fallback]
FuncTorchDynamicLayerFrontMode: registered at ..\aten\src\ATen\functorch\DynamicLayer.cpp:494 [backend fallback]
PreDispatch: registered at ..\aten\src\ATen\core\PythonFallbackKernel.cpp:165 [backend fallback]
PythonDispatcher: registered at ..\aten\src\ATen\core\PythonFallbackKernel.cpp:157 [backend fallback]

System info:

Details

"Platform": "Windows-10-10.0.19045-SP0",
"Python": "3.10.11",
"Version": "v1.9.3",
"Commit": "1c0a0c4c26f78c32095ebc7f8af82f5c04fca8c0",
"Script path": "D:\\stable-diffusion-webui",
"Data path": "D:\\stable-diffusion-webui",
"Extensions dir": "D:\\stable-diffusion-webui\\extensions",
"Checksum": "be19a3f0de303f54ce2e759f78d9727330569187eb0992c629dedd0e157d58a8",
"Commandline": [
    "launch.py",
    "--opt-sdp-attention",
    "--no-half-vae",
    "--opt-channelslast",
    "--skip-torch-cuda-test",
    "--skip-version-check",
    "--ckpt-dir",
    "e:\\Stable Diffusion Checkpoints"
],
"Torch env info": {
    "torch_version": "2.1.2+cu121",
    "is_debug_build": "False",
    "cuda_compiled_version": "12.1",
    "gcc_version": null,
    "clang_version": null,
    "cmake_version": null,
    "os": "Microsoft Windows 10 Pro",
    "libc_version": "N/A",
    "python_version": "3.10.11 (tags/v3.10.11:7d4cc5a, Apr  5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)] (64-bit runtime)",
    "python_platform": "Windows-10-10.0.19045-SP0",
    "is_cuda_available": "True",
    "cuda_runtime_version": "12.1.66\r",
    "cuda_module_loading": "LAZY",
    "nvidia_driver_version": "546.33",
    "nvidia_gpu_models": "GPU 0: NVIDIA GeForce RTX 4090",
    "cudnn_version": null,
    "pip_version": "pip3",
    "pip_packages": [
        "numpy==1.26.2",
        "open-clip-torch==2.20.0",
        "pytorch-lightning==1.9.4",
        "torch==2.1.2+cu121",
        "torchdiffeq==0.2.3",
        "torchmetrics==1.3.2",
        "torchsde==0.2.6",
        "torchvision==0.16.2+cu121"
    ],
    "conda_packages": null,
    "hip_compiled_version": "N/A",
    "hip_runtime_version": "N/A",
    "miopen_runtime_version": "N/A",
    "caching_allocator_config": "",
    "is_xnnpack_available": "True",
    "cpu_info": [
        "Architecture=9",
        "CurrentClockSpeed=3200",
        "DeviceID=CPU0",
        "Family=207",
        "L2CacheSize=16384",
        "L2CacheSpeed=",
        "Manufacturer=GenuineIntel",
        "MaxClockSpeed=3200",
        "Name=Intel(R) Core(TM) i9-14900K",
        "ProcessorType=3",
        "Revision="
    ]
},
"Exceptions": [
    {
        "exception": "Could not run 'aten::_local_scalar_dense' with arguments from the 'Meta' backend. This could be because the operator doesn't exist for this backend, or was omitted during the selective/custom build process (if using custom build). If you are a Facebook employee using PyTorch on mobile, please visit https://fburl.com/ptmfixes for possible resolutions. 'aten::_local_scalar_dense' is only available for these backends: [CPU, CUDA, BackendSelect, Python, FuncTorchDynamicLayerBackMode, Functionalize, Named, Conjugate, Negative, ZeroTensor, ADInplaceOrView, AutogradOther, AutogradCPU, AutogradCUDA, AutogradHIP, AutogradXLA, AutogradMPS, AutogradIPU, AutogradXPU, AutogradHPU, AutogradVE, AutogradLazy, AutogradMTIA, AutogradPrivateUse1, AutogradPrivateUse2, AutogradPrivateUse3, AutogradMeta, AutogradNestedTensor, Tracer, AutocastCPU, AutocastCUDA, FuncTorchBatched, FuncTorchVmapMode, Batched, VmapMode, FuncTorchGradWrapper, PythonTLSSnapshot, FuncTorchDynamicLayerFrontMode, PreDispatch, PythonDispatcher].\n\nCPU: registered at aten\\src\\ATen\\RegisterCPU.cpp:31188 [kernel]\nCUDA: registered at aten\\src\\ATen\\RegisterCUDA.cpp:44143 [kernel]\nBackendSelect: fallthrough registered at ..\\aten\\src\\ATen\\core\\BackendSelectFallbackKernel.cpp:3 [backend fallback]\nPython: registered at ..\\aten\\src\\ATen\\core\\PythonFallbackKernel.cpp:153 [backend fallback]\nFuncTorchDynamicLayerBackMode: registered at ..\\aten\\src\\ATen\\functorch\\DynamicLayer.cpp:498 [backend fallback]\nFunctionalize: registered at ..\\aten\\src\\ATen\\FunctionalizeFallbackKernel.cpp:290 [backend fallback]\nNamed: fallthrough registered at ..\\aten\\src\\ATen\\core\\NamedRegistrations.cpp:11 [kernel]\nConjugate: registered at ..\\aten\\src\\ATen\\ConjugateFallback.cpp:17 [backend fallback]\nNegative: registered at ..\\aten\\src\\ATen\\native\\NegateFallback.cpp:19 [backend fallback]\nZeroTensor: registered at ..\\aten\\src\\ATen\\ZeroTensorFallback.cpp:86 [backend fallback]\nADInplaceOrView: fallthrough registered at ..\\aten\\src\\ATen\\core\\VariableFallbackKernel.cpp:86 [backend fallback]\nAutogradOther: registered at ..\\torch\\csrc\\autograd\\generated\\VariableType_2.cpp:18694 [autograd kernel]\nAutogradCPU: registered at ..\\torch\\csrc\\autograd\\generated\\VariableType_2.cpp:18694 [autograd kernel]\nAutogradCUDA: registered at ..\\torch\\csrc\\autograd\\generated\\VariableType_2.cpp:18694 [autograd kernel]\nAutogradHIP: registered at ..\\torch\\csrc\\autograd\\generated\\VariableType_2.cpp:18694 [autograd kernel]\nAutogradXLA: registered at ..\\torch\\csrc\\autograd\\generated\\VariableType_2.cpp:18694 [autograd kernel]\nAutogradMPS: registered at ..\\torch\\csrc\\autograd\\generated\\VariableType_2.cpp:18694 [autograd kernel]\nAutogradIPU: registered at ..\\torch\\csrc\\autograd\\generated\\VariableType_2.cpp:18694 [autograd kernel]\nAutogradXPU: registered at ..\\torch\\csrc\\autograd\\generated\\VariableType_2.cpp:18694 [autograd kernel]\nAutogradHPU: registered at ..\\torch\\csrc\\autograd\\generated\\VariableType_2.cpp:18694 [autograd kernel]\nAutogradVE: registered at ..\\torch\\csrc\\autograd\\generated\\VariableType_2.cpp:18694 [autograd kernel]\nAutogradLazy: registered at ..\\torch\\csrc\\autograd\\generated\\VariableType_2.cpp:18694 [autograd kernel]\nAutogradMTIA: registered at ..\\torch\\csrc\\autograd\\generated\\VariableType_2.cpp:18694 [autograd kernel]\nAutogradPrivateUse1: registered at ..\\torch\\csrc\\autograd\\generated\\VariableType_2.cpp:18694 [autograd kernel]\nAutogradPrivateUse2: registered at ..\\torch\\csrc\\autograd\\generated\\VariableType_2.cpp:18694 [autograd kernel]\nAutogradPrivateUse3: registered at ..\\torch\\csrc\\autograd\\generated\\VariableType_2.cpp:18694 [autograd kernel]\nAutogradMeta: registered at ..\\torch\\csrc\\autograd\\generated\\VariableType_2.cpp:18694 [autograd kernel]\nAutogradNestedTensor: registered at ..\\torch\\csrc\\autograd\\generated\\VariableType_2.cpp:18694 [autograd kernel]\nTracer: registered at ..\\torch\\csrc\\autograd\\generated\\TraceType_2.cpp:17079 [kernel]\nAutocastCPU: fallthrough registered at ..\\aten\\src\\ATen\\autocast_mode.cpp:382 [backend fallback]\nAutocastCUDA: fallthrough registered at ..\\aten\\src\\ATen\\autocast_mode.cpp:249 [backend fallback]\nFuncTorchBatched: registered at ..\\aten\\src\\ATen\\functorch\\BatchRulesDynamic.cpp:66 [kernel]\nFuncTorchVmapMode: fallthrough registered at ..\\aten\\src\\ATen\\functorch\\VmapModeRegistrations.cpp:28 [backend fallback]\nBatched: registered at ..\\aten\\src\\ATen\\LegacyBatchingRegistrations.cpp:1075 [backend fallback]\nVmapMode: fallthrough registered at ..\\aten\\src\\ATen\\VmapModeRegistrations.cpp:33 [backend fallback]\nFuncTorchGradWrapper: registered at ..\\aten\\src\\ATen\\functorch\\TensorWrapper.cpp:203 [backend fallback]\nPythonTLSSnapshot: registered at ..\\aten\\src\\ATen\\core\\PythonFallbackKernel.cpp:161 [backend fallback]\nFuncTorchDynamicLayerFrontMode: registered at ..\\aten\\src\\ATen\\functorch\\DynamicLayer.cpp:494 [backend fallback]\nPreDispatch: registered at ..\\aten\\src\\ATen\\core\\PythonFallbackKernel.cpp:165 [backend fallback]\nPythonDispatcher: registered at ..\\aten\\src\\ATen\\core\\PythonFallbackKernel.cpp:157 [backend fallback]\n",
        "traceback": [
            [
                "D:\\stable-diffusion-webui\\modules\\call_queue.py, line 57, f",
                "res = list(func(*args, **kwargs))"
            ],
            [
                "D:\\stable-diffusion-webui\\modules\\call_queue.py, line 36, f",
                "res = func(*args, **kwargs)"
            ],
            [
                "D:\\stable-diffusion-webui\\modules\\txt2img.py, line 109, txt2img",
                "processed = processing.process_images(p)"
            ],
            [
                "D:\\stable-diffusion-webui\\modules\\processing.py, line 839, process_images",
                "res = process_images_inner(p)"
            ],
            [
                "D:\\stable-diffusion-webui\\extensions\\3sd-webui-controlnet\\scripts\\batch_hijack.py, line 66, processing_process_images_hijack",
                "processed = self.process_images_cn_batch(p, *args, **kwargs)"
            ],
            [
                "D:\\stable-diffusion-webui\\extensions\\3sd-webui-controlnet\\scripts\\batch_hijack.py, line 91, process_images_cn_batch",
                "processed = getattr(processing, '__controlnet_original_process_images_inner')(p, *args, **kwargs)"
            ],
            [
                "D:\\stable-diffusion-webui\\modules\\processing.py, line 953, process_images_inner",
                "p.setup_conds()"
            ],
            [
                "D:\\stable-diffusion-webui\\modules\\processing.py, line 1489, setup_conds",
                "super().setup_conds()"
            ],
            [
                "D:\\stable-diffusion-webui\\modules\\processing.py, line 500, setup_conds",
                "self.uc = self.get_conds_with_caching(prompt_parser.get_learned_conditioning, negative_prompts, total_steps, [self.cached_uc], self.extra_network_data)"
            ],
            [
                "D:\\stable-diffusion-webui\\modules\\processing.py, line 486, get_conds_with_caching",
                "cache[1] = function(shared.sd_model, required_prompts, steps, hires_steps, shared.opts.use_old_scheduling)"
            ],
            [
                "D:\\stable-diffusion-webui\\modules\\prompt_parser.py, line 188, get_learned_conditioning",
                "conds = model.get_learned_conditioning(texts)"
            ],
            [
                "D:\\stable-diffusion-webui\\modules\\sd_models_xl.py, line 32, get_learned_conditioning",
                "c = self.conditioner(sdxl_conds, force_zero_embeddings=['txt'] if force_zero_negative_prompt else [])"
            ],
            [
                "D:\\stable-diffusion-webui\\venv\\lib\\site-packages\\torch\\nn\\modules\\module.py, line 1518, _wrapped_call_impl",
                "return self._call_impl(*args, **kwargs)"
            ],
            [
                "D:\\stable-diffusion-webui\\venv\\lib\\site-packages\\torch\\nn\\modules\\module.py, line 1527, _call_impl",
                "return forward_call(*args, **kwargs)"
            ],
            [
                "D:\\stable-diffusion-webui\\repositories\\generative-models\\sgm\\modules\\encoders\\modules.py, line 141, forward",
                "emb_out = embedder(batch[embedder.input_key])"
            ],
            [
                "D:\\stable-diffusion-webui\\venv\\lib\\site-packages\\torch\\nn\\modules\\module.py, line 1518, _wrapped_call_impl",
                "return self._call_impl(*args, **kwargs)"
            ],
            [
                "D:\\stable-diffusion-webui\\venv\\lib\\site-packages\\torch\\nn\\modules\\module.py, line 1527, _call_impl",
                "return forward_call(*args, **kwargs)"
            ],
            [
                "D:\\stable-diffusion-webui\\repositories\\generative-models\\sgm\\util.py, line 59, do_autocast",
                "return f(*args, **kwargs)"
            ],
            [
                "D:\\stable-diffusion-webui\\repositories\\generative-models\\sgm\\modules\\encoders\\modules.py, line 391, forward",
                "outputs = self.transformer("
            ],
            [
                "D:\\stable-diffusion-webui\\venv\\lib\\site-packages\\torch\\nn\\modules\\module.py, line 1518, _wrapped_call_impl",
                "return self._call_impl(*args, **kwargs)"
            ],
            [
                "D:\\stable-diffusion-webui\\venv\\lib\\site-packages\\torch\\nn\\modules\\module.py, line 1527, _call_impl",
                "return forward_call(*args, **kwargs)"
            ],
            [
                "D:\\stable-diffusion-webui\\venv\\lib\\site-packages\\transformers\\models\\clip\\modeling_clip.py, line 822, forward",
                "return self.text_model("
            ],
            [
                "D:\\stable-diffusion-webui\\venv\\lib\\site-packages\\torch\\nn\\modules\\module.py, line 1518, _wrapped_call_impl",
                "return self._call_impl(*args, **kwargs)"
            ],
            [
                "D:\\stable-diffusion-webui\\venv\\lib\\site-packages\\torch\\nn\\modules\\module.py, line 1527, _call_impl",
                "return forward_call(*args, **kwargs)"
            ],
            [
                "D:\\stable-diffusion-webui\\venv\\lib\\site-packages\\transformers\\models\\clip\\modeling_clip.py, line 734, forward",
                "causal_attention_mask = _make_causal_mask(input_shape, hidden_states.dtype, device=hidden_states.device)"
            ],
            [
                "D:\\stable-diffusion-webui\\venv\\lib\\site-packages\\transformers\\models\\clip\\modeling_clip.py, line 684, _make_causal_mask",
                "mask = torch.full((tgt_len, tgt_len), torch.tensor(torch.finfo(dtype).min, device=device), device=device)"
            ]
        ]
    },
    {
        "exception": "Cannot copy out of meta tensor; no data!",
        "traceback": [
            [
                "D:\\stable-diffusion-webui\\modules\\scripts.py, line 817, before_process",
                "script.before_process(p, *script_args)"
            ],
            [
                "D:\\stable-diffusion-webui\\extensions\\sd-webui-model-mixer\\scripts\\model_mixer.py, line 4338, before_process",
                "send_model_to_cpu(sd_models.model_data.sd_model)"
            ],
            [
                "D:\\stable-diffusion-webui\\modules\\sd_models.py, line 672, send_model_to_cpu",
                "m.to(devices.cpu)"
            ],
            [
                "D:\\stable-diffusion-webui\\venv\\lib\\site-packages\\lightning_fabric\\utilities\\device_dtype_mixin.py, line 54, to",
                "return super().to(*args, **kwargs)"
            ],
            [
                "D:\\stable-diffusion-webui\\venv\\lib\\site-packages\\torch\\nn\\modules\\module.py, line 1160, to",
                "return self._apply(convert)"
            ],
            [
                "D:\\stable-diffusion-webui\\venv\\lib\\site-packages\\torch\\nn\\modules\\module.py, line 810, _apply",
                "module._apply(fn)"
            ],
            [
                "D:\\stable-diffusion-webui\\venv\\lib\\site-packages\\torch\\nn\\modules\\module.py, line 810, _apply",
                "module._apply(fn)"
            ],
            [
                "D:\\stable-diffusion-webui\\venv\\lib\\site-packages\\torch\\nn\\modules\\module.py, line 810, _apply",
                "module._apply(fn)"
            ],
            [
                "D:\\stable-diffusion-webui\\venv\\lib\\site-packages\\torch\\nn\\modules\\module.py, line 810, _apply",
                "module._apply(fn)"
            ],
            [
                "D:\\stable-diffusion-webui\\venv\\lib\\site-packages\\torch\\nn\\modules\\module.py, line 833, _apply",
                "param_applied = fn(param)"
            ],
            [
                "D:\\stable-diffusion-webui\\venv\\lib\\site-packages\\torch\\nn\\modules\\module.py, line 1158, convert",
                "return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)"
            ]
        ]
    }
],
"CPU": {
    "model": "Intel64 Family 6 Model 183 Stepping 1, GenuineIntel",
    "count logical": 32,
    "count physical": 24
},
"RAM": {
    "total": "128GB",
    "used": "38GB",
    "free": "90GB"
},
"Extensions": [
    {
        "name": "1-sd-dynamic-prompts",
        "path": "D:\\stable-diffusion-webui\\extensions\\1-sd-dynamic-prompts",
        "version": "1567e787",
        "branch": "main",
        "remote": null
    },
    {
        "name": "3sd-webui-controlnet",
        "path": "D:\\stable-diffusion-webui\\extensions\\3sd-webui-controlnet",
        "version": "c91dbe5c",
        "branch": "main",
        "remote": "https://github.com/Mikubill/sd-webui-controlnet.git"
    },
    {
        "name": "a2-adetailer",
        "path": "D:\\stable-diffusion-webui\\extensions\\a2-adetailer",
        "version": "1edd5888",
        "branch": "main",
        "remote": "https://github.com/Bing-su/adetailer.git"
    },
    {
        "name": "b1111-sd-webui-tagcomplete",
        "path": "D:\\stable-diffusion-webui\\extensions\\b1111-sd-webui-tagcomplete",
        "version": "29b5bf07",
        "branch": "main",
        "remote": "https://github.com/DominikDoom/a1111-sd-webui-tagcomplete.git"
    },
    {
        "name": "sd-webui-aspect-ratio-helper-tweaked",
        "path": "D:\\stable-diffusion-webui\\extensions\\sd-webui-aspect-ratio-helper-tweaked",
        "version": "99fcf9b0",
        "branch": "main",
        "remote": "https://github.com/thomasasfk/sd-webui-aspect-ratio-helper.git"
    },
    {
        "name": "sd-webui-controlnet-evaclip",
        "path": "D:\\stable-diffusion-webui\\extensions\\sd-webui-controlnet-evaclip",
        "version": "05a0b881",
        "branch": "main",
        "remote": "https://github.com/huchenlei/sd-webui-controlnet-evaclip.git"
    },
    {
        "name": "sd-webui-model-mixer",
        "path": "D:\\stable-diffusion-webui\\extensions\\sd-webui-model-mixer",
        "version": "a5099276",
        "branch": "master",
        "remote": "https://github.com/wkpark/sd-webui-model-mixer.git"
    },
    {
        "name": "sd-webui-stablesr",
        "path": "D:\\stable-diffusion-webui\\extensions\\sd-webui-stablesr",
        "version": "e3a7c69c",
        "branch": "master",
        "remote": "https://github.com/pkuliyi2015/sd-webui-stablesr.git"
    },
    {
        "name": "sd-webui-zmultidiffusion-upscaler-for-automatic1111",
        "path": "D:\\stable-diffusion-webui\\extensions\\sd-webui-zmultidiffusion-upscaler-for-automatic1111",
        "version": "574a0963",
        "branch": "main",
        "remote": "https://github.com/pkuliyi2015/multidiffusion-upscaler-for-automatic1111.git"
    }
],
"Inactive extensions": [],
"Environment": {
    "COMMANDLINE_ARGS": "--opt-sdp-attention --no-half-vae --opt-channelslast --skip-torch-cuda-test --skip-version-check --ckpt-dir \"e:\\Stable Diffusion Checkpoints\"",
    "GRADIO_ANALYTICS_ENABLED": "False"
},
"Config": {
    "ldsr_steps": 100,
    "ldsr_cached": false,
    "SCUNET_tile": 256,
    "SCUNET_tile_overlap": 8,
    "SWIN_tile": 192,
    "SWIN_tile_overlap": 8,
    "SWIN_torch_compile": false,
    "hypertile_enable_unet": false,
    "hypertile_enable_unet_secondpass": false,
    "hypertile_max_depth_unet": 3,
    "hypertile_max_tile_unet": 256,
    "hypertile_swap_size_unet": 3,
    "hypertile_enable_vae": false,
    "hypertile_max_depth_vae": 3,
    "hypertile_max_tile_vae": 128,
    "hypertile_swap_size_vae": 3,
    "dp_ignore_whitespace": false,
    "dp_write_raw_template": true,
    "dp_write_prompts_to_file": false,
    "dp_parser_variant_start": "{",
    "dp_parser_variant_end": "}",
    "dp_parser_wildcard_wrap": "__",
    "dp_limit_jinja_prompts": false,
    "dp_auto_purge_cache": true,
    "dp_wildcard_manager_no_dedupe": true,
    "dp_wildcard_manager_no_sort": true,
    "dp_wildcard_manager_shuffle": true,
    "dp_magicprompt_default_model": "Gustavosta/MagicPrompt-Stable-Diffusion",
    "dp_magicprompt_batch_size": 1,
    "control_net_detectedmap_dir": "detected_maps",
    "control_net_models_path": "",
    "control_net_modules_path": "",
    "control_net_unit_count": 3,
    "control_net_model_cache_size": 3,
    "control_net_inpaint_blur_sigma": 7,
    "control_net_no_detectmap": false,
    "control_net_detectmap_autosaving": false,
    "control_net_allow_script_control": true,
    "control_net_sync_field_args": true,
    "controlnet_show_batch_images_in_ui": false,
    "controlnet_increment_seed_during_batch": true,
    "controlnet_disable_openpose_edit": false,
    "controlnet_disable_photopea_edit": false,
    "controlnet_photopea_warning": true,
    "controlnet_ignore_noninpaint_mask": false,
    "controlnet_clip_detector_on_cpu": false,
    "controlnet_control_type_dropdown": false,
    "ad_max_models": 2,
    "ad_extra_models_dir": "",
    "ad_save_previews": false,
    "ad_save_images_before": false,
    "ad_only_seleted_scripts": true,
    "ad_script_names": "dynamic_prompting,dynamic_thresholding,lora_block_weight,negpip,soft_inpainting,wildcard_recursive,wildcards",
    "ad_bbox_sortby": "None",
    "ad_same_seed_for_each_tap": false,
    "tac_tagFile": "danbooru.csv",
    "tac_active": true,
    "tac_activeIn.txt2img": true,
    "tac_activeIn.img2img": true,
    "tac_activeIn.negativePrompts": true,
    "tac_activeIn.thirdParty": true,
    "tac_activeIn.modelList": "",
    "tac_activeIn.modelListMode": "Blacklist",
    "tac_slidingPopup": true,
    "tac_maxResults": 5,
    "tac_showAllResults": false,
    "tac_resultStepLength": 100,
    "tac_delayTime": 100,
    "tac_useWildcards": true,
    "tac_sortWildcardResults": true,
    "tac_wildcardExclusionList": "",
    "tac_skipWildcardRefresh": false,
    "tac_useEmbeddings": true,
    "tac_includeEmbeddingsInNormalResults": false,
    "tac_useHypernetworks": true,
    "tac_useLoras": true,
    "tac_useLycos": true,
    "tac_useLoraPrefixForLycos": true,
    "tac_showWikiLinks": false,
    "tac_showExtraNetworkPreviews": true,
    "tac_modelSortOrder": "Name",
    "tac_useStyleVars": false,
    "tac_frequencySort": true,
    "tac_frequencyFunction": "Logarithmic (weak)",
    "tac_frequencyMinCount": 3,
    "tac_frequencyMaxAge": 30,
    "tac_frequencyRecommendCap": 10,
    "tac_frequencyIncludeAlias": false,
    "tac_replaceUnderscores": true,
    "tac_escapeParentheses": true,
    "tac_appendComma": true,
    "tac_appendSpace": true,
    "tac_alwaysSpaceAtEnd": true,
    "tac_modelKeywordCompletion": "Never",
    "tac_modelKeywordLocation": "Start of prompt",
    "tac_wildcardCompletionMode": "To next folder level",
    "tac_alias.searchByAlias": true,
    "tac_alias.onlyShowAlias": false,
    "tac_translation.translationFile": "None",
    "tac_translation.oldFormat": false,
    "tac_translation.searchByTranslation": true,
    "tac_translation.liveTranslation": false,
    "tac_extra.extraFile": "extra-quality-tags.csv",
    "tac_extra.addMode": "Insert before",
    "tac_chantFile": "demo-chants.json",
    "tac_keymap": "{\n    \"MoveUp\": \"ArrowUp\",\n    \"MoveDown\": \"ArrowDown\",\n    \"JumpUp\": \"PageUp\",\n    \"JumpDown\": \"PageDown\",\n    \"JumpToStart\": \"\",\n    \"JumpToEnd\": \"\",\n    \"ChooseSelected\": \"Enter\",\n    \"ChooseFirstOrSelected\": \"Tab\",\n    \"Close\": \"Escape\"\n}",
    "tac_colormap": "{\n    \"danbooru\": {\n        \"-1\": [\"red\", \"maroon\"],\n        \"0\": [\"lightblue\", \"dodgerblue\"],\n        \"1\": [\"indianred\", \"firebrick\"],\n        \"3\": [\"violet\", \"darkorchid\"],\n        \"4\": [\"lightgreen\", \"darkgreen\"],\n        \"5\": [\"orange\", \"darkorange\"]\n    },\n    \"e621\": {\n        \"-1\": [\"red\", \"maroon\"],\n        \"0\": [\"lightblue\", \"dodgerblue\"],\n        \"1\": [\"gold\", \"goldenrod\"],\n        \"3\": [\"violet\", \"darkorchid\"],\n        \"4\": [\"lightgreen\", \"darkgreen\"],\n        \"5\": [\"tomato\", \"darksalmon\"],\n        \"6\": [\"red\", \"maroon\"],\n        \"7\": [\"whitesmoke\", \"black\"],\n        \"8\": [\"seagreen\", \"darkseagreen\"]\n    },\n    \"derpibooru\": {\n        \"-1\": [\"red\", \"maroon\"],\n        \"0\": [\"#60d160\", \"#3d9d3d\"],\n        \"1\": [\"#fff956\", \"#918e2e\"],\n        \"3\": [\"#fd9961\", \"#a14c2e\"],\n        \"4\": [\"#cf5bbe\", \"#6c1e6c\"],\n        \"5\": [\"#3c8ad9\", \"#1e5e93\"],\n        \"6\": [\"#a6a6a6\", \"#555555\"],\n        \"7\": [\"#47abc1\", \"#1f6c7c\"],\n        \"8\": [\"#7871d0\", \"#392f7d\"],\n        \"9\": [\"#df3647\", \"#8e1c2b\"],\n        \"10\": [\"#c98f2b\", \"#7b470e\"],\n        \"11\": [\"#e87ebe\", \"#a83583\"]\n    }\n}",
    "tac_refreshTempFiles": "Refresh TAC temp files",
    "style_vars_enabled": true,
    "style_vars_random": false,
    "style_vars_hires": false,
    "style_vars_linebreaks": true,
    "style_vars_info": true,
    "polotno_api_key": "bHEpG9Rp0Nq9XrLcwFNu",
    "canvas_editor_default_width": 1024,
    "canvas_editor_default_height": 1024,
    "sd_image_editor_outdir": "outputs\\sd-image-editor",
    "arh_javascript_aspect_ratio_show": true,
    "arh_javascript_aspect_ratio": "1:1, 16:9, 8:5, 4:3, 3:2, 7:5,  21:9, 19:9, 3:4, 2:3, 5:7, 9:16, 9:21, 5:8, 9:5",
    "arh_ui_javascript_selection_method": "Aspect Ratios Dropdown",
    "arh_hide_accordion_by_default": true,
    "arh_expand_by_default": false,
    "arh_ui_component_order_key": "MaxDimensionScaler, MinDimensionScaler, PredefinedAspectRatioButtons, PredefinedPercentageButtons",
    "arh_show_max_width_or_height": false,
    "arh_max_width_or_height": 1024.0,
    "arh_show_min_width_or_height": false,
    "arh_min_width_or_height": 1024.0,
    "arh_show_predefined_aspect_ratios": false,
    "arh_predefined_aspect_ratio_use_max_dim": false,
    "arh_predefined_aspect_ratios": "1:1, 4:3, 16:9, 9:16, 21:9",
    "arh_show_predefined_percentages": false,
    "arh_predefined_percentages": "25, 50, 75, 125, 150, 175, 200",
    "arh_predefined_percentages_display_key": "Incremental/decremental percentage (-50%, +50%)",
    "inpaint_anything_save_folder": "inpaint-anything",
    "inpaint_anything_sam_oncpu": false,
    "inpaint_anything_offline_inpainting": false,
    "inpaint_anything_padding_fill": 127,
    "inpain_anything_sam_models_dir": "",
    "inpaint_background_enabled": true,
    "inpaint_background_u2net_location": "",
    "inpaint_background_show_image_under_mask": true,
    "inpaint_background_mask_brush_color": "#ffffff",
    "mm_max_models": 8,
    "mm_debugs": [
        "elemental merge"
    ],
    "mm_save_model": [
        "safetensors",
        "fp16",
        "prune",
        "overwrite"
    ],
    "mm_save_model_filename": "modelmixer-[hash]",
    "mm_use_extra_elements": true,
    "mm_use_old_finetune": false,
    "mm_use_unet_partial_update": true,
    "mm_laplib": "lap",
    "mm_use_fast_weighted_sum": true,
    "mm_use_precalculate_hash": false,
    "mm_use_model_dl": false,
    "mm_default_config_lock": false,
    "mm_civitai_api_key": "",
    "mm_use_txt2img_only": false,
    "mm_use_safe_open": false,
    "model_toolkit_fix_clip": false,
    "model_toolkit_autoprune": false,
    "sd_model_checkpoint": "(SDXL_2024-03-31 - Davematthews Person - Awesome Mix (Model Mixer) - Tops) x (1 - alpha_0) + (SDXL_SD-Checkpoints-Fast-Backup_z-2023-12-08-Dave Matthews - GoodMix-Uses-Other-12-8-As-Base - This looked nice on XYZ at cfg 6 and 8) x alpha_0(0.8).safetensors [852aed88f7]",
    "sd_checkpoint_hash": "852aed88f72dd2f7330a710067478e82a1c74c7da380985c5e6df9470326a151",
    "disabled_extensions": [],
    "disable_all_extensions": "none",
    "restore_config_state_file": "",
    "outdir_samples": "E:\\Stable Diffusion Images",
    "outdir_txt2img_samples": "E:\\Stable Diffusion Images",
    "outdir_img2img_samples": "E:\\Stable Diffusion Images",
    "outdir_extras_samples": "E:\\Stable Diffusion Images",
    "outdir_grids": "E:\\Stable Diffusion Images",
    "outdir_txt2img_grids": "E:\\Stable Diffusion Images",
    "outdir_img2img_grids": "E:\\Stable Diffusion Images",
    "outdir_save": "E:\\Stable Diffusion Images",
    "outdir_init_images": "E:\\Stable Diffusion Images",
    "samples_save": true,
    "samples_format": "png",
    "samples_filename_pattern": "[number]-[prompt_spaces]",
    "save_images_add_number": true,
    "save_images_replace_action": "Replace",
    "grid_save": false,
    "grid_format": "png",
    "grid_extended_filename": false,
    "grid_only_if_multiple": true,
    "grid_prevent_empty_spots": false,
    "grid_zip_filename_pattern": "",
    "n_rows": -1,
    "font": "",
    "grid_text_active_color": "#000000",
    "grid_text_inactive_color": "#999999",
    "grid_background_color": "#ffffff",
    "save_images_before_face_restoration": false,
    "save_images_before_highres_fix": false,
    "save_images_before_color_correction": false,
    "save_mask": false,
    "save_mask_composite": false,
    "jpeg_quality": 80,
    "webp_lossless": false,
    "export_for_4chan": false,
    "img_downscale_threshold": 4.0,
    "target_side_length": 4000.0,
    "img_max_size_mp": 200.0,
    "use_original_name_batch": false,
    "use_upscaler_name_as_suffix": false,
    "save_selected_only": false,
    "save_init_img": false,
    "temp_dir": "",
    "clean_temp_dir_at_start": false,
    "save_incomplete_images": false,
    "notification_audio": false,
    "notification_volume": 100,
    "save_to_dirs": true,
    "grid_save_to_dirs": false,
    "use_save_to_dirs_for_ui": false,
    "directories_filename_pattern": "[date]",
    "directories_max_prompt_words": 8,
    "auto_backcompat": true,
    "use_old_emphasis_implementation": false,
    "use_old_karras_scheduler_sigmas": false,
    "no_dpmpp_sde_batch_determinism": false,
    "use_old_hires_fix_width_height": false,
    "dont_fix_second_order_samplers_schedule": false,
    "hires_fix_use_firstpass_conds": false,
    "use_old_scheduling": false,
    "use_downcasted_alpha_bar": false,
    "refiner_switch_by_sample_steps": false,
    "lora_functional": false,
    "extra_networks_show_hidden_directories": true,
    "extra_networks_dir_button_function": false,
    "extra_networks_hidden_models": "When searched",
    "extra_networks_default_multiplier": 1,
    "extra_networks_card_width": 0.0,
    "extra_networks_card_height": 0.0,
    "extra_networks_card_text_scale": 1,
    "extra_networks_card_show_desc": true,
    "extra_networks_card_description_is_html": false,
    "extra_networks_card_order_field": "Date Created",
    "extra_networks_card_order": "Descending",
    "extra_networks_tree_view_style": "Dirs",
    "extra_networks_tree_view_default_enabled": true,
    "extra_networks_tree_view_default_width": 180.0,
    "extra_networks_add_text_separator": " ",
    "ui_extra_networks_tab_reorder": "",
    "textual_inversion_print_at_load": false,
    "textual_inversion_add_hashes_to_infotext": true,
    "sd_hypernetwork": "None",
    "sd_lora": "None",
    "lora_preferred_name": "Alias from file",
    "lora_add_hashes_to_infotext": true,
    "lora_show_all": true,
    "lora_hide_unknown_for_versions": [],
    "lora_in_memory_limit": 0,
    "lora_not_found_warning_console": false,
    "lora_not_found_gradio_warning": false,
    "cross_attention_optimization": "sdp - scaled dot product",
    "s_min_uncond": 0,
    "token_merging_ratio": 0,
    "token_merging_ratio_img2img": 0,
    "token_merging_ratio_hr": 0,
    "pad_cond_uncond": false,
    "pad_cond_uncond_v0": false,
    "persistent_cond_cache": true,
    "batch_cond_uncond": true,
    "fp8_storage": "Disable",
    "cache_fp16_weight": false,
    "hide_samplers": [],
    "eta_ddim": 0,
    "eta_ancestral": 1,
    "ddim_discretize": "uniform",
    "s_churn": 0,
    "s_tmin": 0,
    "s_tmax": 0,
    "s_noise": 1,
    "sigma_min": 0.0,
    "sigma_max": 0.0,
    "rho": 0.0,
    "eta_noise_seed_delta": 0,
    "always_discard_next_to_last_sigma": false,
    "sgm_noise_multiplier": false,
    "uni_pc_variant": "bh1",
    "uni_pc_skip_type": "time_uniform",
    "uni_pc_order": 3,
    "uni_pc_lower_order_final": true,
    "sd_noise_schedule": "Default",
    "sd_checkpoints_limit": 1,
    "sd_checkpoints_keep_in_cpu": true,
    "sd_checkpoint_cache": 0,
    "sd_unet": "Automatic",
    "enable_quantization": false,
    "emphasis": "Original",
    "enable_batch_seeds": true,
    "comma_padding_backtrack": 20,
    "CLIP_stop_at_last_layers": 1,
    "upcast_attn": false,
    "randn_source": "GPU",
    "tiling": false,
    "hires_fix_refiner_pass": "second pass",
    "enable_prompt_comments": true,
    "sdxl_crop_top": 0.0,
    "sdxl_crop_left": 0.0,
    "sdxl_refiner_low_aesthetic_score": 2.5,
    "sdxl_refiner_high_aesthetic_score": 6.0,
    "sd_vae_checkpoint_cache": 0,
    "sd_vae": "sdxl_vae.safetensors",
    "sd_vae_overrides_per_model_preferences": true,
    "auto_vae_precision_bfloat16": false,
    "auto_vae_precision": true,
    "sd_vae_encode_method": "Full",
    "sd_vae_decode_method": "Full",
    "inpainting_mask_weight": 1,
    "initial_noise_multiplier": 1,
    "img2img_extra_noise": 0,
    "img2img_color_correction": false,
    "img2img_fix_steps": false,
    "img2img_background_color": "#ffffff",
    "img2img_editor_height": 720,
    "img2img_sketch_default_brush_color": "#ffffff",
    "img2img_inpaint_mask_brush_color": "#ffffff",
    "img2img_inpaint_sketch_default_brush_color": "#ffffff",
    "return_mask": false,
    "return_mask_composite": false,
    "img2img_batch_show_results_limit": 32,
    "overlay_inpaint": true,
    "return_grid": false,
    "do_not_show_images": false,
    "js_modal_lightbox": true,
    "js_modal_lightbox_initially_zoomed": true,
    "js_modal_lightbox_gamepad": false,
    "js_modal_lightbox_gamepad_repeat": 250.0,
    "sd_webui_modal_lightbox_icon_opacity": 1,
    "sd_webui_modal_lightbox_toolbar_opacity": 0.9,
    "gallery_height": "",
    "open_dir_button_choice": "Subdirectory",
    "enable_pnginfo": true,
    "save_txt": false,
    "add_model_name_to_info": true,
    "add_model_hash_to_info": true,
    "add_vae_name_to_info": true,
    "add_vae_hash_to_info": true,
    "add_user_name_to_info": false,
    "add_version_to_infotext": true,
    "disable_weights_auto_swap": true,
    "infotext_skip_pasting": [],
    "infotext_styles": "Apply if any",
    "show_progressbar": true,
    "live_previews_enable": true,
    "live_previews_image_format": "png",
    "show_progress_grid": true,
    "show_progress_every_n_steps": -1,
    "show_progress_type": "Full",
    "live_preview_allow_lowvram_full": false,
    "live_preview_content": "Prompt",
    "live_preview_refresh_period": 1000.0,
    "live_preview_fast_interrupt": true,
    "js_live_preview_in_modal_lightbox": true,
    "keyedit_precision_attention": 0.1,
    "keyedit_precision_extra": 0.05,
    "keyedit_delimiters": ".,\\/!?%^*;:{}=`~() ",
    "keyedit_delimiters_whitespace": [
        "Tab",
        "Carriage Return",
        "Line Feed"
    ],
    "keyedit_move": true,
    "disable_token_counters": false,
    "include_styles_into_token_counters": true,
    "extra_options_txt2img": [],
    "extra_options_img2img": [],
    "extra_options_cols": 1,
    "extra_options_accordion": false,
    "compact_prompt_box": false,
    "samplers_in_dropdown": true,
    "dimensions_and_batch_together": true,
    "sd_checkpoint_dropdown_use_short": false,
    "hires_fix_show_sampler": false,
    "hires_fix_show_prompts": false,
    "txt2img_settings_accordion": false,
    "img2img_settings_accordion": false,
    "interrupt_after_current": true,
    "localization": "None",
    "quicksettings_list": [
        "sd_model_checkpoint",
        "sd_vae",
        "CLIP_stop_at_last_layers"
    ],
    "ui_tab_order": [],
    "hidden_tabs": [
        "Train"
    ],
    "ui_reorder_list": [],
    "gradio_theme": "Default",
    "gradio_themes_cache": true,
    "show_progress_in_title": true,
    "send_seed": true,
    "send_size": true,
    "enable_reloading_ui_scripts": false,
    "api_enable_requests": true,
    "api_forbid_local_requests": true,
    "api_useragent": "",
    "prioritized_callbacks_app_started": [],
    "prioritized_callbacks_model_loaded": [],
    "prioritized_callbacks_ui_tabs": [],
    "prioritized_callbacks_ui_settings": [],
    "prioritized_callbacks_before_image_saved": [],
    "prioritized_callbacks_after_component": [],
    "prioritized_callbacks_infotext_pasted": [],
    "prioritized_callbacks_script_unloaded": [],
    "prioritized_callbacks_before_ui": [],
    "prioritized_callbacks_on_reload": [],
    "prioritized_callbacks_list_optimizers": [],
    "prioritized_callbacks_before_token_counter": [],
    "prioritized_callbacks_script_before_process": [],
    "prioritized_callbacks_script_process": [],
    "prioritized_callbacks_script_before_process_batch": [],
    "prioritized_callbacks_script_process_batch": [],
    "prioritized_callbacks_script_postprocess": [],
    "prioritized_callbacks_script_postprocess_batch": [],
    "prioritized_callbacks_script_post_sample": [],
    "prioritized_callbacks_script_on_mask_blend": [],
    "prioritized_callbacks_script_postprocess_image": [],
    "prioritized_callbacks_script_postprocess_maskoverlay": [],
    "prioritized_callbacks_script_after_component": [],
    "auto_launch_browser": "Local",
    "enable_console_prompts": false,
    "show_warnings": false,
    "show_gradio_deprecation_warnings": false,
    "memmon_poll_rate": 8,
    "samples_log_stdout": false,
    "multiple_tqdm": true,
    "enable_upscale_progressbar": true,
    "print_hypernet_extra": false,
    "list_hidden_files": true,
    "disable_mmap_load_safetensors": false,
    "hide_ldm_prints": true,
    "dump_stacks_on_signal": false,
    "face_restoration": false,
    "face_restoration_model": "CodeFormer",
    "code_former_weight": 0.5,
    "face_restoration_unload": false,
    "postprocessing_enable_in_main_ui": [],
    "postprocessing_disable_in_extras": [],
    "postprocessing_operation_order": [],
    "upscaling_max_images_in_cache": 5,
    "postprocessing_existing_caption_action": "Ignore",
    "ESRGAN_tile": 192,
    "ESRGAN_tile_overlap": 8,
    "realesrgan_enabled_models": [
        "R-ESRGAN 4x+",
        "R-ESRGAN 4x+ Anime6B"
    ],
    "dat_enabled_models": [
        "DAT x2",
        "DAT x3",
        "DAT x4"
    ],
    "DAT_tile": 192,
    "DAT_tile_overlap": 8,
    "set_scale_by_when_changing_upscaler": false,
    "unload_models_when_training": false,
    "pin_memory": false,
    "save_optimizer_state": false,
    "save_training_settings_to_txt": true,
    "dataset_filename_word_regex": "",
    "dataset_filename_join_string": " ",
    "training_image_repeats_per_epoch": 1,
    "training_write_csv_every": 500.0,
    "training_xattention_optimizations": false,
    "training_enable_tensorboard": false,
    "training_tensorboard_save_images": false,
    "training_tensorboard_flush_every": 120.0,
    "canvas_hotkey_zoom": "Alt",
    "canvas_hotkey_adjust": "Ctrl",
    "canvas_hotkey_shrink_brush": "Q",
    "canvas_hotkey_grow_brush": "W",
    "canvas_hotkey_move": "F",
    "canvas_hotkey_fullscreen": "S",
    "canvas_hotkey_reset": "R",
    "canvas_hotkey_overlap": "O",
    "canvas_show_tooltip": true,
    "canvas_auto_expand": true,
    "canvas_blur_prompt": false,
    "canvas_disabled_functions": [
        "Overlap"
    ],
    "interrogate_keep_models_in_memory": false,
    "interrogate_return_ranks": false,
    "interrogate_clip_num_beams": 1,
    "interrogate_clip_min_length": 24,
    "interrogate_clip_max_length": 48,
    "interrogate_clip_dict_limit": 1500.0,
    "interrogate_clip_skip_categories": [],
    "interrogate_deepbooru_score_threshold": 0.5,
    "deepbooru_sort_alpha": true,
    "deepbooru_use_spaces": true,
    "deepbooru_escape": true,
    "deepbooru_filter_tags": "",
    "state": [],
    "state_txt2img": [],
    "state_img2img": [],
    "state_extensions": [],
    "animatediff_model_path": "",
    "animatediff_default_save_formats": [
        "GIF",
        "PNG"
    ],
    "animatediff_save_to_custom": true,
    "animatediff_frame_extract_path": "",
    "animatediff_frame_extract_remove": false,
    "animatediff_default_frame_extract_method": "ffmpeg",
    "animatediff_optimize_gif_palette": false,
    "animatediff_optimize_gif_gifsicle": false,
    "animatediff_mp4_crf": 23,
    "animatediff_mp4_preset": "",
    "animatediff_mp4_tune": "",
    "animatediff_webp_quality": 80,
    "animatediff_webp_lossless": false,
    "animatediff_s3_enable": false,
    "animatediff_s3_host": "",
    "animatediff_s3_port": "",
    "animatediff_s3_access_key": "",
    "animatediff_s3_secret_key": "",
    "animatediff_s3_storge_bucket": "",
    "prioritized_callbacks_cfg_denoiser": [],
    "prioritized_callbacks_script_postprocess_batch_list": [],
    "state_ui": [
        "Reset Button",
        "Import Button",
        "Export Button"
    ],
    "replacer_use_first_positive_prompt_from_examples": true,
    "replacer_use_first_negative_prompt_from_examples": true,
    "replacer_hide_segment_anything_accordions": true,
    "replacer_hide_animatediff_accordions": false,
    "replacer_hide_replacer_script": false,
    "replacer_always_unload_models": "Automatic",
    "replacer_use_cpu_for_detection": false,
    "replacer_fast_dilation": true,
    "replacer_mask_color": "#84FF9A",
    "replacer_detection_prompt_examples": "",
    "replacer_avoidance_prompt_examples": "",
    "replacer_positive_prompt_examples": "",
    "replacer_negative_prompt_examples": "",
    "replacer_hf_positive_prompt_suffix_examples": "",
    "replacer_examples_per_page_for_detection_prompt": 10,
    "replacer_examples_per_page_for_avoidance_prompt": 10,
    "replacer_examples_per_page_for_positive_prompt": 10,
    "replacer_examples_per_page_for_negative_prompt": 10,
    "replacer_save_dir": "E:\\Stable Diffusion Images\\Replacer",
    "sam_use_local_groundingdino": false,
    "replacer_default_extra_includes": [
        "script"
    ],
    "mm_dare_merger_random_seed": 1324
},
"Startup": {
    "total": 9.000435829162598,
    "records": {
        "initial startup": 0.013000011444091797,
        "prepare environment/checks": 0.004000425338745117,
        "prepare environment/git version info": 0.023999929428100586,
        "prepare environment/torch GPU test": 0.0019998550415039062,
        "prepare environment/clone repositores": 0.07299971580505371,
        "prepare environment/run extensions installers/1-sd-dynamic-prompts": 0.09300017356872559,
        "prepare environment/run extensions installers/3sd-webui-controlnet": 0.0840003490447998,
        "prepare environment/run extensions installers/a2-adetailer": 0.08500027656555176,
        "prepare environment/run extensions installers/b1111-sd-webui-tagcomplete": 0.0,
        "prepare environment/run extensions installers/sd-webui-aspect-ratio-helper-tweaked": 0.0,
        "prepare environment/run extensions installers/sd-webui-controlnet-evaclip": 0.0,
        "prepare environment/run extensions installers/sd-webui-model-mixer": 0.0,
        "prepare environment/run extensions installers/sd-webui-stablesr": 0.0,
        "prepare environment/run extensions installers/sd-webui-zmultidiffusion-upscaler-for-automatic1111": 0.0,
        "prepare environment/run extensions installers": 0.26200079917907715,
        "prepare environment": 0.3820009231567383,
        "launcher": 0.0010001659393310547,
        "import torch": 2.2980003356933594,
        "import gradio": 0.43799924850463867,
        "setup paths": 0.5269994735717773,
        "import ldm": 0.0029997825622558594,
        "import sgm": 0.0,
        "initialize shared": 0.13100004196166992,
        "other imports": 0.27499985694885254,
        "opts onchange": 0.0,
        "setup SD model": 0.0,
        "setup codeformer": 0.0010001659393310547,
        "setup gfpgan": 0.09599995613098145,
        "set samplers": 0.0,
        "list extensions": 0.0010001659393310547,
        "restore config state file": 0.0,
        "list SD models": 0.38299989700317383,
        "list localizations": 0.0009999275207519531,
        "load scripts/custom_code.py": 0.0030002593994140625,
        "load scripts/img2imgalt.py": 0.0,
        "load scripts/loopback.py": 0.0,
        "load scripts/outpainting_mk_2.py": 0.0,
        "load scripts/poor_mans_outpainting.py": 0.0,
        "load scripts/postprocessing_codeformer.py": 0.0,
        "load scripts/postprocessing_gfpgan.py": 0.0,
        "load scripts/postprocessing_upscale.py": 0.0,
        "load scripts/prompt_matrix.py": 0.0009996891021728516,
        "load scripts/prompts_from_file.py": 0.0,
        "load scripts/sd_upscale.py": 0.0,
        "load scripts/xyz_grid.py": 0.0010008811950683594,
        "load scripts/ldsr_model.py": 0.2649991512298584,
        "load scripts/lora_script.py": 0.10500001907348633,
        "load scripts/scunet_model.py": 0.009999990463256836,
        "load scripts/swinir_model.py": 0.008999824523925781,
        "load scripts/hotkey_config.py": 0.0,
        "load scripts/extra_options_section.py": 0.0,
        "load scripts/hypertile_script.py": 0.02200031280517578,
        "load scripts/hypertile_xyz.py": 0.0,
        "load scripts/postprocessing_autosized_crop.py": 0.0,
        "load scripts/postprocessing_caption.py": 0.0010001659393310547,
        "load scripts/postprocessing_create_flipped_copies.py": 0.0,
        "load scripts/postprocessing_focal_crop.py": 0.0,
        "load scripts/postprocessing_split_oversized.py": 0.0010001659393310547,
        "load scripts/soft_inpainting.py": 0.0,
        "load scripts/dynamic_prompting.py": 0.018999814987182617,
        "load scripts/adapter.py": 0.0,
        "load scripts/api.py": 0.11600017547607422,
        "load scripts/batch_hijack.py": 0.00099945068359375,
        "load scripts/cldm.py": 0.0,
        "load scripts/controlnet.py": 0.08299994468688965,
        "load scripts/controlnet_diffusers.py": 0.0,
        "load scripts/controlnet_lllite.py": 0.0,
        "load scripts/controlnet_lora.py": 0.0,
        "load scripts/controlnet_model_guess.py": 0.0,
        "load scripts/controlnet_sparsectrl.py": 0.0010004043579101562,
        "load scripts/controlnet_version.py": 0.0,
        "load scripts/enums.py": 0.0,
        "load scripts/external_code.py": 0.0,
        "load scripts/global_state.py": 0.0010006427764892578,
        "load scripts/hook.py": 0.0,
        "load scripts/infotext.py": 0.0,
        "load scripts/logging.py": 0.0,
        "load scripts/lvminthin.py": 0.0009996891021728516,
        "load scripts/movie2movie.py": 0.0,
        "load scripts/supported_preprocessor.py": 0.0,
        "load scripts/utils.py": 0.0009996891021728516,
        "load scripts/xyz_grid_support.py": 0.0,
        "load scripts/!adetailer.py": 0.5944359302520752,
        "load scripts/model_keyword_support.py": 0.0010006427764892578,
        "load scripts/shared_paths.py": 0.0010008811950683594,
        "load scripts/tag_autocomplete_helper.py": 0.09199833869934082,
        "load scripts/tag_frequency_db.py": 0.0,
        "load scripts/sd_webui_aspect_ratio_helper.py": 0.03200030326843262,
        "load scripts/preprocessor_evaclip.py": 0.05300188064575195,
        "load scripts/model_mixer.py": 0.06799840927124023,
        "load scripts/patches.py": 0.0,
        "load scripts/vxa.py": 0.0,
        "load scripts/stablesr.py": 0.0010001659393310547,
        "load scripts/tilediffusion.py": 0.004000186920166016,
        "load scripts/tileglobal.py": 0.0009992122650146484,
        "load scripts/tilevae.py": 0.0,
        "load scripts/comments.py": 0.011999845504760742,
        "load scripts/refiner.py": 0.0,
        "load scripts/sampler.py": 0.0,
        "load scripts/seed.py": 0.0,
        "load scripts": 1.5004360675811768,
        "load upscalers": 0.002000570297241211,
        "refresh VAE": 0.13199996948242188,
        "refresh textual inversion templates": 0.0,
        "scripts list_optimizers": 0.0009996891021728516,
        "scripts list_unets": 0.0,
        "reload hypernetworks": 0.0,
        "initialize extra networks": 0.012999773025512695,
        "scripts before_ui_callback": 0.002000093460083008,
        "create ui": 2.2860002517700195,
        "gradio launch": 0.4310009479522705,
        "add APIs": 0.003999233245849609,
        "app_started_callback/lora_script.py": 0.0,
        "app_started_callback/api.py": 0.002001523971557617,
        "app_started_callback/!adetailer.py": 0.0,
        "app_started_callback/tag_autocomplete_helper.py": 0.0019981861114501953,
        "app_started_callback/model_mixer.py": 0.09199976921081543,
        "app_started_callback": 0.09599947929382324
    }
},
"Packages": [
    "absl-py==2.1.0",
    "accelerate==0.21.0",
    "addict==2.4.0",
    "aenum==3.1.15",
    "aiofiles==23.2.1",
    "aiohttp==3.9.5",
    "aiosignal==1.3.1",
    "albumentations==1.4.3",
    "altair==5.3.0",
    "antlr4-python3-runtime==4.9.3",
    "anyio==3.7.1",
    "async-timeout==4.0.3",
    "asyncer==0.0.7",
    "attrs==23.2.0",
    "av==12.0.0",
    "blendmodes==2022",
    "certifi==2024.2.2",
    "cffi==1.16.0",
    "chardet==5.2.0",
    "charset-normalizer==3.3.2",
    "clean-fid==0.1.35",
    "click==8.1.7",
    "clip==1.0",
    "colorama==0.4.6",
    "coloredlogs==15.0.1",
    "colorlog==6.8.2",
    "contourpy==1.2.1",
    "cssselect2==0.7.0",
    "cycler==0.12.1",
    "cython==3.0.10",
    "decorator==4.0.11",
    "defusedxml==0.7.1",
    "deprecation==2.1.0",
    "depth-anything==2024.1.22.0",
    "diffusers==0.27.0.dev0",
    "diskcache==5.6.3",
    "dsine==2024.3.23",
    "dynamicprompts==0.29.0",
    "easydict==1.13",
    "einops==0.4.1",
    "embreex==2.17.7.post4",
    "exceptiongroup==1.2.1",
    "facexlib==0.3.0",
    "fastapi==0.94.0",
    "ffmpy==0.3.2",
    "filelock==3.13.4",
    "filterpy==1.4.5",
    "flatbuffers==24.3.25",
    "fonttools==4.51.0",
    "frozenlist==1.4.1",
    "fsspec==2024.3.1",
    "ftfy==6.2.0",
    "fvcore==0.1.5.post20221221",
    "geffnet==1.0.2",
    "gitdb==4.0.11",
    "gitpython==3.1.32",
    "glob2==0.5",
    "gradio-client==0.5.0",
    "gradio==3.41.2",
    "h11==0.12.0",
    "handrefinerportable==2024.2.12.0",
    "httpcore==0.15.0",
    "httpx==0.24.1",
    "huggingface-hub==0.22.2",
    "humanfriendly==10.0",
    "idna==3.7",
    "imageio-ffmpeg==0.4.9",
    "imageio==2.34.1",
    "importlib-metadata==7.1.0",
    "importlib-resources==5.12.0",
    "inflection==0.5.1",
    "insightface==0.7.3",
    "iopath==0.1.9",
    "jax==0.4.26",
    "jinja2==3.1.3",
    "joblib==1.4.0",
    "jsonmerge==1.8.0",
    "jsonschema-specifications==2023.12.1",
    "jsonschema==4.21.1",
    "kiwisolver==1.4.5",
    "kornia==0.6.7",
    "lark==1.1.2",
    "lazy-loader==0.4",
    "lightning-utilities==0.11.2",
    "llvmlite==0.42.0",
    "loguru==0.7.2",
    "lxml==5.2.1",
    "mapbox-earcut==1.0.1",
    "markdown-it-py==3.0.0",
    "markupsafe==2.1.5",
    "matplotlib==3.8.4",
    "mdurl==0.1.2",
    "mediapipe==0.10.11",
    "ml-dtypes==0.4.0",
    "moviepy==0.2.3.2",
    "mpmath==1.3.0",
    "multidict==6.0.5",
    "natsort==8.4.0",
    "networkx==3.3",
    "numba==0.59.1",
    "numpy==1.26.2",
    "omegaconf==2.2.3",
    "onnx==1.16.0",
    "onnxruntime-gpu==1.17.1",
    "open-clip-torch==2.20.0",
    "opencv-contrib-python==4.9.0.80",
    "opencv-python-headless==4.9.0.80",
    "opencv-python==4.9.0.80",
    "openpiv==0.25.3",
    "opt-einsum==3.3.0",
    "orjson==3.10.1",
    "packaging==24.0",
    "pandas==2.2.2",
    "piexif==1.1.3",
    "pillow-avif-plugin==1.4.3",
    "pillow==9.5.0",
    "pip==23.0.1",
    "platformdirs==4.2.1",
    "pooch==1.8.1",
    "portalocker==2.8.2",
    "prettytable==3.10.0",
    "protobuf==3.20.3",
    "psutil==5.9.5",
    "py-cpuinfo==9.0.0",
    "pycocotools==2.0.7",
    "pycollada==0.8",
    "pycparser==2.22",
    "pydantic==1.10.15",
    "pydub==0.25.1",
    "pygments==2.17.2",
    "pymatting==1.1.12",
    "pyparsing==3.1.2",
    "pyreadline3==3.4.1",
    "python-dateutil==2.9.0.post0",
    "python-multipart==0.0.9",
    "pytorch-lightning==1.9.4",
    "pytz==2024.1",
    "pywavelets==1.6.0",
    "pywin32==306",
    "pyyaml==6.0.1",
    "referencing==0.35.0",
    "regex==2024.4.16",
    "rembg==2.0.38",
    "reportlab==4.2.0",
    "requests==2.31.0",
    "resize-right==0.0.2",
    "rich==13.7.1",
    "rpds-py==0.18.0",
    "rtree==1.2.0",
    "safetensors==0.4.2",
    "scikit-image==0.21.0",
    "scikit-learn==1.4.2",
    "scipy==1.13.0",
    "sdwi2iextender==0.1.3",
    "seaborn==0.13.2",
    "segment-anything==1.0",
    "semantic-version==2.10.0",
    "send2trash==1.8.3",
    "sentencepiece==0.2.0",
    "setuptools==65.5.0",
    "shapely==2.0.4",
    "six==1.16.0",
    "smmap==5.0.1",
    "sniffio==1.3.1",
    "sounddevice==0.4.6",
    "spandrel==0.1.6",
    "starlette==0.26.1",
    "supervision==0.20.0",
    "svg.path==6.3",
    "svglib==1.5.1",
    "sympy==1.12",
    "tabulate==0.9.0",
    "termcolor==2.4.0",
    "thop==0.1.1.post2209072238",
    "threadpoolctl==3.4.0",
    "tifffile==2024.4.24",
    "timm==0.9.16",
    "tinycss2==1.3.0",
    "tokenizers==0.13.3",
    "tomesd==0.1.3",
    "tomli==2.0.1",
    "toolz==0.12.1",
    "torch==2.1.2+cu121",
    "torchdiffeq==0.2.3",
    "torchmetrics==1.3.2",
    "torchsde==0.2.6",
    "torchvision==0.16.2+cu121",
    "tqdm==4.66.2",
    "trampoline==0.1.2",
    "transformers==4.30.2",
    "trimesh==4.3.1",
    "typing-extensions==4.11.0",
    "tzdata==2024.1",
    "ultralytics==8.2.4",
    "urllib3==2.2.1",
    "uvicorn==0.29.0",
    "vhacdx==0.0.6",
    "wcwidth==0.2.13",
    "webencodings==0.5.1",
    "websockets==11.0.3",
    "win32-setctime==1.1.0",
    "xatlas==0.0.9",
    "xxhash==3.4.1",
    "yacs==0.1.8",
    "yapf==0.40.2",
    "yarl==1.9.4",
    "zipp==3.18.1"
]

}

Should also not that I have manually added the PRs for A1111 mentioned here which increase performance (to Forge levels). These are by a developer of Forge and contributor to A1111 but not in the official repos (as of yet at least). I suppose there's a chance these changes could be causing this issue although I was running the prior commit I was on ( 4c43307 per reflog) w/o any issues. Link to PR set / discussion on A1111 forum: AUTOMATIC1111/stable-diffusion-webui#15821

Plan to rollback now since it was working fine prior to updating tonight to a509927

@wkpark wkpark self-assigned this May 29, 2024
@wkpark wkpark added the bug Something isn't working label May 29, 2024
@wkpark
Copy link
Owner

wkpark commented May 29, 2024

thank you for your reporting!
I will look into this issue soon!

@whitesky1226
Copy link

thank you for your reporting! I will look into this issue soon!

Same ERROR here. It seems to be caused by commit a509927.
Now I'm using the lasted commit 7931c23. I find out that if i delete line4455 (sd_models.unload_model_weights()) in model_mixer.py, everything will work fine.

Moreover, there seems to be a small mistake in the code of model_mixer.py. I read the paper https://arxiv.org/abs/2311.03099 and model_mixer.py. If i understood correctly, the relationship between "density" of dare_merge in model_mixer.py and "drop rate" in the paper is given by density = 1 - droprate. Therefore, in line3673~3674 of model_mixer.py, I think if density >= 1, theta1 should be returned instead of theta0.

I'm not sure if I've expressed myself clearly, since I'm not proficient in using English and GitHub.

wkpark added a commit that referenced this issue Jul 5, 2024
 * retry to unload already merged model as intended
@wkpark wkpark mentioned this issue Jul 5, 2024
@wkpark wkpark closed this as completed in 32d5947 Jul 5, 2024
@wkpark wkpark reopened this Jul 5, 2024
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

Successfully merging a pull request may close this issue.

3 participants