AUTOMATIC1111 / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
139.14k stars 26.41k forks source link

[Bug]: checkpoint merge, settings->sd: duplicate entries #13024

Closed picobyte closed 1 year ago

picobyte commented 1 year ago

Is there an existing issue for this?

What happened?

Initially a checkpoint merge failure - workaround in 2nd message - odd duplicates in ui:

E.g. the ckpt,ckpt and other duplicates look strange in the ui: image image

Steps to reproduce the problem

  1. Go to Settings -> Stable diffusion, observe duplicates in the ui
  2. Go to checkpoint merger tab, observe duplicates in the ui

What should have happened?

A simple ui

Sysinfo

Edited. Neither the civitai api key, nor processor vulnerabilities should be listed

{
    "Platform": "Linux-6.4.10-arch1-1-x86_64-with-glibc2.38",
    "Python": "3.10.11",
    "Version": "v1.6.0",
    "Commit": "5ef669de080814067961f28357256e8fe27544f4",
    "Script path": "stable-diffusion-webui",
    "Data path": "stable-diffusion-webui",
    "Extensions dir": "stable-diffusion-webui/extensions",
    "Checksum": "17400f022aef8f817ab8b636886f74c35cc2b64caecca403edc6a7ac5a754d8c",
    "Commandline": [
        "launch.py",
        "--api",
        "--skip-torch-cuda-test",
        "--use-cpu",
        "all",
        "--no-half",
        "--disable-nan-check",
        "--theme=dark"
    ],
    "Torch env info": {
        "torch_version": "2.0.0+cu117",
        "is_debug_build": "False",
        "cuda_compiled_version": "11.7",
        "gcc_version": "(GCC) 13.2.1 20230801",
        "clang_version": "15.0.7",
        "cmake_version": "version 3.27.1",
        "os": "Arch Linux (x86_64)",
        "libc_version": "glibc-2.38",
        "python_version": "3.10.11 (main, Apr 20 2023, 19:02:41) [GCC 11.2.0] (64-bit runtime)",
        "python_platform": "Linux-6.4.10-arch1-1-x86_64-with-glibc2.38",
        "is_cuda_available": "False",
        "cuda_runtime_version": null,
        "cuda_module_loading": "N/A",
        "nvidia_driver_version": null,
        "nvidia_gpu_models": null,
        "cudnn_version": null,
        "pip_version": "pip3",
        "pip_packages": [
            "clip-anytorch==2.5.2",
            "lion-pytorch==0.1.2",
            "mypy==1.5.0",
            "mypy-extensions==1.0.0",
            "numpy==1.23.5",
            "open-clip-torch==2.18.0",
            "pytorch-lightning==1.9.0",
            "pytorch-triton-rocm==2.0.2",
            "torch==2.0.0",
            "torchaudio==2.0.1",
            "torchdiffeq==0.2.3",
            "torchmetrics==0.11.4",
            "torchsde==0.2.5",
            "torchvision==0.15.1"
        ],
        "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:                       x86_64",
            "CPU op-mode(s):                     32-bit, 64-bit",
            "Address sizes:                      43 bits physical, 48 bits virtual",
            "Byte Order:                         Little Endian",
            "CPU(s):                             16",
            "On-line CPU(s) list:                0-15",
            "Vendor ID:                          AuthenticAMD",
            "Model name:                         AMD Ryzen 7 3700X 8-Core Processor",
        ]
    },
    "Exceptions": [],
    "CPU": {
        "model": "",
        "count logical": 16,
        "count physical": 8
    },
    "RAM": {
        "total": "31GB",
        "used": "14GB",
        "free": "299MB",
        "active": "15GB",
        "inactive": "15GB",
        "buffers": "149MB",
        "cached": "17GB",
        "shared": "97MB"
    },
    "Extensions": [
        {
            "name": "StylePile",
            "path": "stable-diffusion-webui/extensions/StylePile",
            "version": "85b549a1",
            "branch": "main",
            "remote": "https://github.com/some9000/StylePile.git"
        },
        {
            "name": "a1111-sd-webui-tagcomplete",
            "path": "stable-diffusion-webui/extensions/a1111-sd-webui-tagcomplete",
            "version": "e23bb6d4",
            "branch": "main",
            "remote": "https://github.com/DominikDoom/a1111-sd-webui-tagcomplete.git"
        },
        {
            "name": "adetailer",
            "path": "stable-diffusion-webui/extensions/adetailer",
            "version": "451b0985",
            "branch": "main",
            "remote": "https://github.com/Bing-su/adetailer.git"
        },
        {
            "name": "canvas-zoom",
            "path": "stable-diffusion-webui/extensions/canvas-zoom",
            "version": "dd306549",
            "branch": "main",
            "remote": "https://github.com/richrobber2/canvas-zoom.git"
        },
        {
            "name": "sd-dynamic-prompts",
            "path": "stable-diffusion-webui/extensions/sd-dynamic-prompts",
            "version": "39c06b30",
            "branch": "main",
            "remote": "https://github.com/adieyal/sd-dynamic-prompts.git"
        },
        {
            "name": "sd-dynamic-thresholding",
            "path": "stable-diffusion-webui/extensions/sd-dynamic-thresholding",
            "version": "96238f44",
            "branch": "master",
            "remote": "https://github.com/mcmonkeyprojects/sd-dynamic-thresholding.git"
        },
        {
            "name": "sd-webui-additional-networks",
            "path": "stable-diffusion-webui/extensions/sd-webui-additional-networks",
            "version": "e9f3d622",
            "branch": "main",
            "remote": "https://github.com/kohya-ss/sd-webui-additional-networks.git"
        },
        {
            "name": "sd-webui-aspect-ratio-helper",
            "path": "stable-diffusion-webui/extensions/sd-webui-aspect-ratio-helper",
            "version": "99fcf9b0",
            "branch": "main",
            "remote": "https://github.com/thomasasfk/sd-webui-aspect-ratio-helper.git"
        },
        {
            "name": "sd-webui-controlnet",
            "path": "stable-diffusion-webui/extensions/sd-webui-controlnet",
            "version": "42bb1b1a",
            "branch": "main",
            "remote": "https://github.com/Mikubill/sd-webui-controlnet.git"
        },
        {
            "name": "sd-webui-infinite-image-browsing",
            "path": "stable-diffusion-webui/extensions/sd-webui-infinite-image-browsing",
            "version": "9b3d9301",
            "branch": "main",
            "remote": "https://github.com/zanllp/sd-webui-infinite-image-browsing.git"
        },
        {
            "name": "stable-diffusion-webui",
            "path": "stable-diffusion-webui/extensions/stable-diffusion-webui",
            "version": "6f1eebbe",
            "branch": "main",
            "remote": "https://github.com/catppuccin/stable-diffusion-webui.git"
        },
        {
            "name": "stable-diffusion-webui-composable-lora",
            "path": "stable-diffusion-webui/extensions/stable-diffusion-webui-composable-lora",
            "version": "d4963e48",
            "branch": "main",
            "remote": "https://github.com/opparco/stable-diffusion-webui-composable-lora.git"
        },
        {
            "name": "stable-diffusion-webui-state",
            "path": "stable-diffusion-webui/extensions/stable-diffusion-webui-state",
            "version": "f2bb3809",
            "branch": "main",
            "remote": "https://github.com/ilian6806/stable-diffusion-webui-state.git"
        },
        {
            "name": "stable-diffusion-webui-tokenizer",
            "path": "stable-diffusion-webui/extensions/stable-diffusion-webui-tokenizer",
            "version": "d8f2155b",
            "branch": "master",
            "remote": "https://github.com/picobyte/stable-diffusion-webui-interactive-tokenizer.git"
        },
        {
            "name": "stable-diffusion-webui-two-shot",
            "path": "stable-diffusion-webui/extensions/stable-diffusion-webui-two-shot",
            "version": "6b55dd52",
            "branch": "main",
            "remote": "https://github.com/ashen-sensored/stable-diffusion-webui-two-shot.git"
        },
        {
            "name": "stable-diffusion-webui-wd14-tagger",
            "path": "stable-diffusion-webui/extensions/stable-diffusion-webui-wd14-tagger",
            "version": "cc394894",
            "branch": "master",
            "remote": "git@github.com:picobyte/stable-diffusion-webui-wd14-tagger.git"
        },
        {
            "name": "training-picker",
            "path": "stable-diffusion-webui/extensions/training-picker",
            "version": "d2784b09",
            "branch": "master",
            "remote": "https://github.com/Maurdekye/training-picker.git"
        }
    ],
    "Inactive extensions": [
        {
            "name": "Stable-Diffusion-Webui-Civitai-Helper",
            "path": "stable-diffusion-webui/extensions/Stable-Diffusion-Webui-Civitai-Helper",
            "version": "920ca326",
            "branch": "main",
            "remote": "https://github.com/butaixianran/Stable-Diffusion-Webui-Civitai-Helper.git"
        },
        {
            "name": "TemporalKit",
            "path": "stable-diffusion-webui/extensions/TemporalKit",
            "version": "504774d9",
            "branch": "main",
            "remote": "https://github.com/CiaraStrawberry/TemporalKit"
        },
        {
            "name": "a1111-sd-webui-lycoris",
            "path": "stable-diffusion-webui/extensions/a1111-sd-webui-lycoris",
            "version": "df9c0093",
            "branch": "main",
            "remote": "https://github.com/KohakuBlueleaf/a1111-sd-webui-lycoris.git"
        },
        {
            "name": "auto-sd-paint-ext",
            "path": "stable-diffusion-webui/extensions/auto-sd-paint-ext",
            "version": "00714355",
            "branch": "main",
            "remote": "https://github.com/Interpause/auto-sd-paint-ext.git"
        },
        {
            "name": "deforum-for-automatic1111-webui",
            "path": "stable-diffusion-webui/extensions/deforum-for-automatic1111-webui",
            "version": "ff0680bb",
            "branch": "automatic1111-webui",
            "remote": "https://github.com/deforum-art/deforum-for-automatic1111-webui.git"
        },
        {
            "name": "multidiffusion-upscaler-for-automatic1111",
            "path": "stable-diffusion-webui/extensions/multidiffusion-upscaler-for-automatic1111",
            "version": "f9f8073e",
            "branch": "main",
            "remote": "https://github.com/pkuliyi2015/multidiffusion-upscaler-for-automatic1111.git"
        },
        {
            "name": "openpose-editor",
            "path": "stable-diffusion-webui/extensions/openpose-editor",
            "version": "722bca6f",
            "branch": "master",
            "remote": "https://github.com/fkunn1326/openpose-editor.git"
        },
        {
            "name": "sd-extension-aesthetic-scorer",
            "path": "stable-diffusion-webui/extensions/sd-extension-aesthetic-scorer",
            "version": "b60c3c82",
            "branch": "main",
            "remote": "https://github.com/vladmandic/sd-extension-aesthetic-scorer.git"
        },
        {
            "name": "sd-webui-kitchen-theme-legacy",
            "path": "stable-diffusion-webui/extensions/sd-webui-kitchen-theme-legacy",
            "version": "88681b22",
            "branch": "main",
            "remote": "https://github.com/canisminor1990/sd-webui-kitchen-theme-legacy.git"
        },
        {
            "name": "sd-webui-neutral-prompt",
            "path": "stable-diffusion-webui/extensions/sd-webui-neutral-prompt",
            "version": "eb822d3b",
            "branch": "main",
            "remote": "https://github.com/ljleb/sd-webui-neutral-prompt"
        },
        {
            "name": "sd-webui-prompt-all-in-one",
            "path": "stable-diffusion-webui/extensions/sd-webui-prompt-all-in-one",
            "version": "f33b8e61",
            "branch": "main",
            "remote": "https://github.com/Physton/sd-webui-prompt-all-in-one"
        },
        {
            "name": "sd-webui-roop",
            "path": "stable-diffusion-webui/extensions/sd-webui-roop",
            "version": "e6333fbe",
            "branch": "main",
            "remote": "https://github.com/s0md3v/sd-webui-roop"
        },
        {
            "name": "sd-webui-segment-anything",
            "path": "stable-diffusion-webui/extensions/sd-webui-segment-anything",
            "version": "5df716be",
            "branch": "master",
            "remote": "https://github.com/continue-revolution/sd-webui-segment-anything.git"
        },
        {
            "name": "sd_dreambooth_extension",
            "path": "stable-diffusion-webui/extensions/sd_dreambooth_extension",
            "version": "c2a5617c",
            "branch": "main",
            "remote": "https://github.com/d8ahazard/sd_dreambooth_extension.git"
        },
        {
            "name": "sd_smartprocess",
            "path": "stable-diffusion-webui/extensions/sd_smartprocess",
            "version": "41fb35ef",
            "branch": "main",
            "remote": "https://github.com/d8ahazard/sd_smartprocess.git"
        },
        {
            "name": "stable-diffusion-webui-depthmap-script",
            "path": "stable-diffusion-webui/extensions/stable-diffusion-webui-depthmap-script",
            "version": "80f9fa3f",
            "branch": "main",
            "remote": "https://github.com/thygate/stable-diffusion-webui-depthmap-script.git"
        },
        {
            "name": "stable-diffusion-webui-images-browser",
            "path": "stable-diffusion-webui/extensions/stable-diffusion-webui-images-browser",
            "version": "a3aeb93f",
            "branch": "main",
            "remote": "https://github.com/AlUlkesh/stable-diffusion-webui-images-browser.git"
        }
    ],
    "Environment": {
        "COMMANDLINE_ARGS": "--api --skip-torch-cuda-test --use-cpu all --no-half --disable-nan-check --theme=dark",
        "GIT": "git",
        "GRADIO_ANALYTICS_ENABLED": "False",
        "PYTHONPATH": "pb.o/libs/",
        "REQS_FILE": "requirements.txt",
        "TORCH_COMMAND": "pip install torch==2.0.1+rocm5.4.2 torchvision==0.15.2+rocm5.4.2 --index-url https://download.pytorch.org/whl/rocm5.4.2"
    },
    "Config": {
        "samples_save": true,
        "samples_format": "png",
        "samples_filename_pattern": "",
        "save_images_add_number": true,
        "grid_save": true,
        "grid_format": "png",
        "grid_extended_filename": false,
        "grid_only_if_multiple": true,
        "grid_prevent_empty_spots": false,
        "n_rows": -1,
        "enable_pnginfo": true,
        "save_txt": false,
        "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": true,
        "img_downscale_threshold": 4.0,
        "target_side_length": 4000,
        "img_max_size_mp": 400.0,
        "use_original_name_batch": true,
        "use_upscaler_name_as_suffix": false,
        "save_selected_only": true,
        "save_init_img": false,
        "temp_dir": "",
        "clean_temp_dir_at_start": false,
        "save_to_dirs": true,
        "grid_save_to_dirs": true,
        "use_save_to_dirs_for_ui": false,
        "directories_filename_pattern": "[date]",
        "directories_max_prompt_words": 8,
        "ESRGAN_tile": 192,
        "ESRGAN_tile_overlap": 8,
        "realesrgan_enabled_models": [
            "R-ESRGAN 4x+",
            "R-ESRGAN 4x+ Anime6B"
        ],
        "upscaler_for_img2img": "None",
        "SCUNET_tile": 256,
        "SCUNET_tile_overlap": 8,
        "face_restoration_model": "None",
        "code_former_weight": 0.5,
        "face_restoration_unload": true,
        "show_warnings": true,
        "memmon_poll_rate": 8,
        "samples_log_stdout": false,
        "multiple_tqdm": true,
        "print_hypernet_extra": false,
        "unload_models_when_training": true,
        "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,
        "training_xattention_optimizations": false,
        "training_enable_tensorboard": false,
        "training_tensorboard_save_images": false,
        "training_tensorboard_flush_every": 120,
        "sd_model_checkpoint": "hentai17_v10.ckpt [5cbd0d7407]",
        "sd_checkpoint_cache": 0,
        "sd_vae_checkpoint_cache": 1,
        "sd_vae": "vae-ft-mse-840000-ema-pruned.safetensors",
        "sd_vae_as_default": true,
        "inpainting_mask_weight": 1.0,
        "initial_noise_multiplier": 1.0,
        "img2img_color_correction": false,
        "img2img_fix_steps": true,
        "img2img_background_color": "#ffffff",
        "enable_quantization": false,
        "enable_emphasis": true,
        "enable_batch_seeds": true,
        "comma_padding_backtrack": 20,
        "CLIP_stop_at_last_layers": 2,
        "upcast_attn": false,
        "randn_source": "CPU",
        "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,
        "extra_networks_default_view": "cards",
        "extra_networks_default_multiplier": 1.0,
        "extra_networks_card_width": 0,
        "extra_networks_card_height": 0,
        "extra_networks_add_text_separator": " ",
        "sd_hypernetwork": "None",
        "return_grid": true,
        "return_mask": false,
        "return_mask_composite": false,
        "do_not_show_images": false,
        "add_model_hash_to_info": true,
        "add_model_name_to_info": true,
        "disable_weights_auto_swap": true,
        "send_seed": true,
        "send_size": true,
        "font": "",
        "js_modal_lightbox": true,
        "js_modal_lightbox_initially_zoomed": true,
        "show_progress_in_title": true,
        "samplers_in_dropdown": true,
        "dimensions_and_batch_together": true,
        "keyedit_precision_attention": 0.1,
        "keyedit_precision_extra": 0.05,
        "keyedit_delimiters": ".,\\/!?%^*;:{}=`~()",
        "quicksettings": "sd_model_checkpoint",
        "hidden_tabs": [
            "Extras",
            "Train"
        ],
        "ui_reorder": "inpaint, sampler, checkboxes, hires_fix, dimensions, cfg, seed, batch, override_settings, scripts",
        "ui_extra_networks_tab_reorder": "",
        "localization": "None",
        "gradio_theme": "Default",
        "show_progressbar": true,
        "live_previews_enable": true,
        "show_progress_grid": true,
        "show_progress_every_n_steps": 10,
        "show_progress_type": "Approx NN",
        "live_preview_content": "Prompt",
        "live_preview_refresh_period": 1000,
        "hide_samplers": [],
        "eta_ddim": 0.0,
        "eta_ancestral": 1.0,
        "ddim_discretize": "uniform",
        "s_churn": 0.0,
        "s_min_uncond": 0.03,
        "s_tmin": 0.0,
        "s_noise": 1.0,
        "eta_noise_seed_delta": 0,
        "always_discard_next_to_last_sigma": false,
        "uni_pc_variant": "bh1",
        "uni_pc_skip_type": "time_uniform",
        "uni_pc_order": 3,
        "uni_pc_lower_order_final": true,
        "postprocessing_enable_in_main_ui": [],
        "postprocessing_operation_order": [],
        "upscaling_max_images_in_cache": 5,
        "disabled_extensions": [
            "Stable-Diffusion-Webui-Civitai-Helper",
            "TemporalKit",
            "a1111-sd-webui-lycoris",
            "auto-sd-paint-ext",
            "deforum-for-automatic1111-webui",
            "multidiffusion-upscaler-for-automatic1111",
            "openpose-editor",
            "sd-extension-aesthetic-scorer",
            "sd-webui-kitchen-theme-legacy",
            "sd-webui-neutral-prompt",
            "sd-webui-prompt-all-in-one",
            "sd-webui-roop",
            "sd-webui-segment-anything",
            "sd_dreambooth_extension",
            "sd_smartprocess",
            "stable-diffusion-webui-depthmap-script",
            "stable-diffusion-webui-images-browser"
        ],
        "disable_all_extensions": "none",
        "restore_config_state_file": "",
        "sd_checkpoint_hash": "5cbd0d74075941b5333b4747a8019ab8937752d97a6158c40e8abcf07526c1c7",
        "ldsr_steps": 100,
        "ldsr_cached": false,
        "SWIN_tile": 192,
        "SWIN_tile_overlap": 8,
        "sd_lora": "None",
        "sd_lyco": "None",
         "grid_zip_filename_pattern": "",
        "list_hidden_files": true,
        "sd_unet": "Automatic",
        "cross_attention_optimization": "Automatic",
        "token_merging_ratio": 0,
        "token_merging_ratio_img2img": 0,
        "token_merging_ratio_hr": 0,
        "pad_cond_uncond": false,
        "experimental_persistent_cond_cache": false,
        "hires_fix_use_firstpass_conds": false,
        "lora_functional": false,
        "extra_networks_show_hidden_directories": true,
        "extra_networks_hidden_models": "When searched",
        "lora_preferred_name": "Alias from file",
        "lora_add_hashes_to_infotext": false,
        "img2img_editor_height": 720,
        "js_modal_lightbox_gamepad": false,
        "js_modal_lightbox_gamepad_repeat": 250.0,
        "ui_tab_order": [],
        "hires_fix_show_sampler": false,
        "hires_fix_show_prompts": false,
        "disable_token_counters": false,
        "extra_options": [],
        "extra_options_accordion": false,
        "hide_auto_sd_paint_ext_tab": false,
        "add_version_to_infotext": true,
        "infotext_styles": "Apply if any",
        "live_previews_image_format": "png",
        "k_sched_type": "Automatic",
        "sigma_min": 0.0,
        "sigma_max": 0.0,
        "rho": 0.0,
        "image_browser_info_add": false,
        "auto_vae_precision": 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,
        "extra_networks_card_text_scale": 1,
        "extra_networks_card_show_desc": true,
        "textual_inversion_print_at_load": false,
        "textual_inversion_add_hashes_to_infotext": true,
        "lora_show_all": false,
        "lora_hide_unknown_for_versions": [],
        "keyedit_move": true,
        "add_user_name_to_info": false,
        "canvas_blur_prompt": false,
        "tagger_hf_hub_down_opts": "cache_dir=\"stable-diffusion-webui/models/interrogators\"",
        "dp_wildcard_manager_shuffle": false,
        "controlnet_ignore_noninpaint_mask": false,
        "ad_max_models": 2,
        "ad_save_previews": false,
        "ad_save_images_before": false,
        "ad_only_seleted_scripts": true,
        "ad_script_names": "dynamic_prompting,dynamic_thresholding,wildcard_recursive,wildcards,lora_block_weight",
        "ad_bbox_sortby": "None",
        "sd_vae_overrides_per_model_preferences": false,
        "save_incomplete_images": false,
        "face_restoration": false,
        "auto_launch_browser": "Local",
        "show_gradio_deprecation_warnings": true,
        "hide_ldm_prints": true,
        "api_enable_requests": true,
        "api_forbid_local_requests": true,
        "api_useragent": "",
        "sd_checkpoints_limit": 1,
        "sd_checkpoints_keep_in_cpu": true,
        "tiling": false,
        "hires_fix_refiner_pass": "second pass",
        "sd_vae_encode_method": "Full",
        "sd_vae_decode_method": "Full",
        "img2img_extra_noise": 0,
        "img2img_sketch_default_brush_color": "#ffffff",
        "img2img_inpaint_mask_brush_color": "#ffffff",
        "img2img_inpaint_sketch_default_brush_color": "#ffffff",
        "persistent_cond_cache": true,
        "batch_cond_uncond": true,
        "use_old_scheduling": false,
        "lora_in_memory_limit": 0,
        "gradio_themes_cache": true,
        "gallery_height": "",
        "extra_options_txt2img": [],
        "extra_options_img2img": [],
        "extra_options_cols": 1,
        "live_preview_allow_lowvram_full": false,
        "live_preview_fast_interrupt": false,
        "s_tmax": 0,
        "sgm_noise_multiplier": false,
        "canvas_auto_expand": true
    },
    "Startup": {
        "total": 104.31661629676819,
        "records": {
            "initial startup": 0.0005891323089599609,
            "prepare environment/checks": 6.914138793945312e-05,
            "prepare environment/git version info": 0.894268274307251,
            "prepare environment/torch GPU test": 0.01943802833557129,
            "prepare environment/clone repositores": 0.23750782012939453,
            "prepare environment/run extensions installers/stable-diffusion-webui-state": 0.011635303497314453,
            "prepare environment/run extensions installers/a1111-sd-webui-tagcomplete": 0.0036852359771728516,
            "prepare environment/run extensions installers/stable-diffusion-webui": 0.0060367584228515625,
            "prepare environment/run extensions installers/sd-dynamic-thresholding": 0.00613856315612793,
            "prepare environment/run extensions installers/training-picker": 0.0035877227783203125,
            "prepare environment/run extensions installers/sd-webui-controlnet": 1.60626220703125,
            "prepare environment/run extensions installers/sd-webui-additional-networks": 0.010977506637573242,
            "prepare environment/run extensions installers/stable-diffusion-webui-composable-lora": 0.005217313766479492,
            "prepare environment/run extensions installers/canvas-zoom": 7.081251859664917,
            "prepare environment/run extensions installers/sd-webui-aspect-ratio-helper": 0.00972127914428711,
            "prepare environment/run extensions installers/StylePile": 0.007735252380371094,
            "prepare environment/run extensions installers/sd-webui-infinite-image-browsing": 0.18317222595214844,
            "prepare environment/run extensions installers/adetailer": 10.556857109069824,
            "prepare environment/run extensions installers/sd-dynamic-prompts": 0.1768944263458252,
            "prepare environment/run extensions installers/stable-diffusion-webui-tokenizer": 0.009738922119140625,
            "prepare environment/run extensions installers/stable-diffusion-webui-two-shot": 0.010129928588867188,
            "prepare environment/run extensions installers/stable-diffusion-webui-wd14-tagger": 3.8656914234161377,
            "prepare environment/run extensions installers": 23.55475664138794,
            "prepare environment": 24.79340624809265,
            "launcher": 0.027506351470947266,
            "import torch": 11.779904127120972,
            "import gradio": 0.6634109020233154,
            "setup paths": 0.6222543716430664,
            "import ldm": 0.06334042549133301,
            "import sgm": 7.152557373046875e-06,
            "initialize shared": 0.27216005325317383,
            "other imports": 1.2494947910308838,
            "opts onchange": 0.00034880638122558594,
            "setup SD model": 0.02070474624633789,
            "setup codeformer": 0.24463582038879395,
            "setup gfpgan": 0.11508464813232422,
            "set samplers": 3.6716461181640625e-05,
            "list extensions": 0.0003464221954345703,
            "restore config state file": 5.7220458984375e-06,
            "list SD models": 3.940760374069214,
            "list localizations": 0.015769004821777344,
            "load scripts/custom_code.py": 0.16104626655578613,
            "load scripts/img2imgalt.py": 0.0004582405090332031,
            "load scripts/loopback.py": 0.00022101402282714844,
            "load scripts/outpainting_mk_2.py": 0.000263214111328125,
            "load scripts/poor_mans_outpainting.py": 0.00019431114196777344,
            "load scripts/postprocessing_codeformer.py": 0.00017309188842773438,
            "load scripts/postprocessing_gfpgan.py": 0.00016570091247558594,
            "load scripts/postprocessing_upscale.py": 0.00022530555725097656,
            "load scripts/prompt_matrix.py": 0.00022602081298828125,
            "load scripts/prompts_from_file.py": 0.0002052783966064453,
            "load scripts/refiner.py": 0.0005257129669189453,
            "load scripts/sd_upscale.py": 0.00018548965454101562,
            "load scripts/seed.py": 0.00021719932556152344,
            "load scripts/xyz_grid.py": 0.009088516235351562,
            "load scripts/StylePile.py": 0.0725092887878418,
            "load scripts/model_keyword_support.py": 0.140183687210083,
            "load scripts/shared_paths.py": 0.0006983280181884766,
            "load scripts/tag_autocomplete_helper.py": 0.8047835826873779,
            "load scripts/!adetailer.py": 1.1649432182312012,
            "load scripts/config.py": 0.014707088470458984,
            "load scripts/dynamic_prompting.py": 0.05541205406188965,
            "load scripts/dynamic_thresholding.py": 0.07347774505615234,
            "load scripts/additional_networks.py": 0.6431241035461426,
            "load scripts/addnet_xyz_grid_support.py": 0.00026988983154296875,
            "load scripts/lora_compvis.py": 0.0005459785461425781,
            "load scripts/metadata_editor.py": 0.0002956390380859375,
            "load scripts/model_util.py": 0.029576778411865234,
            "load scripts/safetensors_hack.py": 0.00023245811462402344,
            "load scripts/util.py": 8.106231689453125e-05,
            "load scripts/sd_webui_aspect_ratio_helper.py": 0.15024828910827637,
            "load scripts/adapter.py": 0.020243167877197266,
            "load scripts/api.py": 0.45255351066589355,
            "load scripts/batch_hijack.py": 0.0006868839263916016,
            "load scripts/cldm.py": 0.0003428459167480469,
            "load scripts/controlnet.py": 0.33421802520751953,
            "load scripts/controlnet_version.py": 0.00028705596923828125,
            "load scripts/external_code.py": 7.987022399902344e-05,
            "load scripts/global_state.py": 0.0003399848937988281,
            "load scripts/hook.py": 0.0005719661712646484,
            "load scripts/infotext.py": 0.00021910667419433594,
            "load scripts/logging.py": 0.0003058910369873047,
            "load scripts/lvminthin.py": 0.00026297569274902344,
            "load scripts/movie2movie.py": 0.0002796649932861328,
            "load scripts/processor.py": 0.0002434253692626953,
            "load scripts/utils.py": 0.00014281272888183594,
            "load scripts/xyz_grid_support.py": 0.0004017353057861328,
            "load scripts/iib_setup.py": 0.14289307594299316,
            "load scripts/main.py": 0.04164290428161621,
            "load scripts/composable_lora_script.py": 0.0506434440612793,
            "load scripts/state_api.py": 0.04400467872619629,
            "load scripts/state_settings.py": 0.04499316215515137,
            "load scripts/interactive_tokenizer.py": 0.016019821166992188,
            "load scripts/sketch_helper.py": 0.013727188110351562,
            "load scripts/two_shot.py": 0.04212498664855957,
            "load scripts/tagger.py": 0.18381977081298828,
            "load scripts/training_picker.py": 0.07341980934143066,
            "load scripts/ldsr_model.py": 0.05877065658569336,
            "load scripts/lora_script.py": 0.2658658027648926,
            "load scripts/scunet_model.py": 0.04112958908081055,
            "load scripts/swinir_model.py": 0.03225350379943848,
            "load scripts/hotkey_config.py": 0.012787818908691406,
            "load scripts/extra_options_section.py": 0.0021581649780273438,
            "load scripts": 5.201765537261963,
            "load upscalers": 0.001619577407836914,
            "refresh VAE": 0.0037078857421875,
            "refresh textual inversion templates": 0.006996870040893555,
            "scripts list_optimizers": 0.0002751350402832031,
            "scripts list_unets": 5.4836273193359375e-06,
            "reload hypernetworks": 0.00038170814514160156,
            "initialize extra networks": 0.0030236244201660156,
            "scripts before_ui_callback": 0.0001494884490966797,
            "create ui": 52.42151689529419,
            "gradio launch": 2.512968063354492,
            "add APIs": 0.3611016273498535,
            "app_started_callback/tag_autocomplete_helper.py": 0.0011250972747802734,
            "app_started_callback/api.py": 0.0012714862823486328,
            "app_started_callback/iib_setup.py": 0.07645511627197266,
            "app_started_callback/state_api.py": 0.0001239776611328125,
            "app_started_callback/tagger.py": 0.0015439987182617188,
            "app_started_callback/lora_script.py": 0.0001952648162841797,
            "app_started_callback": 0.0807185173034668
        }
    },
    "Packages": [ <snp, too many characters>   ]
}

What browsers do you use to access the UI ?

chromium Version 115.0.5790.170 (Official Build) Arch Linux (64-bit)

Console logs

(automatic) Z:~/stable-diffusion-webui$ ./run 

################################################################
Install script for stable-diffusion + Web UI
Tested on Debian 11 (Bullseye)
################################################################

################################################################
Running on xxxx user
################################################################

################################################################
Repo already cloned, using it as install directory
################################################################

################################################################
Create and activate python venv
################################################################

################################################################
Launching launch.py...
################################################################
Using TCMalloc: libtcmalloc_minimal.so.4
Python 3.10.11 (main, Apr 20 2023, 19:02:41) [GCC 11.2.0]
Version: v1.6.0
Commit hash: 5ef669de080814067961f28357256e8fe27544f4
Collecting protobuf<=3.9999,>=3.20
  Using cached protobuf-3.20.3-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.1 MB)
Installing collected packages: protobuf
  Attempting uninstall: protobuf
    Found existing installation: protobuf 3.19.6
    Uninstalling protobuf-3.19.6:
      Successfully uninstalled protobuf-3.19.6
Successfully installed protobuf-3.20.3
loading WD14-tagger reqs from stable-diffusion-webui/extensions/stable-diffusion-webui-wd14-tagger/requirements.txt
Checking WD14-tagger requirements.
Launching Web UI with arguments: --api --skip-torch-cuda-test --use-cpu all --no-half --disable-nan-check --theme=dark
2023-09-03 11:33:33.895866: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-09-03 11:33:34.013366: E tensorflow/stream_executor/cuda/cuda_blas.cc:2981] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2023-09-03 11:33:34.414290: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer.so.7'; dlerror: libnvinfer.so.7: cannot open shared object file: No such file or directory
2023-09-03 11:33:34.414373: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer_plugin.so.7'; dlerror: libnvinfer_plugin.so.7: cannot open shared object file: No such file or directory
2023-09-03 11:33:34.414382: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.
micromamba/envs/automatic/lib/python3.10/site-packages/tensorflow_io/python/ops/__init__.py:98: UserWarning: unable to load libtensorflow_io_plugins.so: unable to open file: libtensorflow_io_plugins.so, from paths: ['micromamba/envs/automatic/lib/python3.10/site-packages/tensorflow_io/python/ops/libtensorflow_io_plugins.so']
caused by: ['micromamba/envs/automatic/lib/python3.10/site-packages/tensorflow_io/python/ops/libtensorflow_io_plugins.so: undefined symbol: _ZN3tsl5mutexC1Ev']
  warnings.warn(f"unable to load libtensorflow_io_plugins.so: {e}")
micromamba/envs/automatic/lib/python3.10/site-packages/tensorflow_io/python/ops/__init__.py:104: UserWarning: file system plugins are not loaded: unable to open file: libtensorflow_io.so, from paths: ['micromamba/envs/automatic/lib/python3.10/site-packages/tensorflow_io/python/ops/libtensorflow_io.so']
caused by: ['micromamba/envs/automatic/lib/python3.10/site-packages/tensorflow_io/python/ops/libtensorflow_io.so: undefined symbol: _ZNK10tensorflow4data11DatasetBase8FinalizeEPNS_15OpKernelContextESt8functionIFN3tsl8StatusOrISt10unique_ptrIS1_NS5_4core15RefCountDeleterEEEEvEE']
  warnings.warn(f"file system plugins are not loaded: {e}")
no module 'xformers'. Processing without...
no module 'xformers'. Processing without...
No module 'xformers'. Proceeding without it.
Warning: caught exception 'Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx', memory monitor disabled
Tag Autocomplete: Could not locate model-keyword extension, Lora trigger word completion will be limited to those added through the extra networks menu.
[-] ADetailer initialized. version: 23.9.1, num models: 12
[AddNet] Updating model hashes...
100%|##################################################################################################################################################################################################################################################################################################################| 1029/1029 [00:00<00:00, 129955.10it/s]
[AddNet] Updating model hashes...
100%|##################################################################################################################################################################################################################################################################################################################| 1029/1029 [00:00<00:00, 118690.39it/s]
2023-09-03 11:33:38,878 - ControlNet - INFO - ControlNet v1.1.313
ControlNet preprocessor location: stable-diffusion-webui/extensions/sd-webui-controlnet/annotator/downloads
2023-09-03 11:33:39,007 - ControlNet - INFO - ControlNet v1.1.313
== WD14 tagger /cpu:0, uname_result(system='Linux', node='Z', release='6.4.10-arch1-1', version='#1 SMP PREEMPT_DYNAMIC Fri, 11 Aug 2023 11:03:36 +0000', machine='x86_64') ==
Loading weights [5cbd0d7407] from stable-diffusion-webui/models/Stable-diffusion/hentai17_v10.ckpt
stable-diffusion-webui/modules/gradio_extensons.py:25: GradioUnusedKwargWarning: You have unused kwarg parameters in Slider, please remove them: {'minumum': 0}
  res = original_IOComponent_init(self, *args, **kwargs)
stable-diffusion-webui/extensions/stable-diffusion-webui-two-shot/scripts/two_shot.py:397: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  canvas_image = gr.Image(source='upload', mirror_webcam=False, type='numpy', tool='color-sketch',
stable-diffusion-webui/extensions/stable-diffusion-webui-two-shot/scripts/two_shot.py:471: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  visual_regions = gr.Gallery(label="Regions").style(grid=(4, 4, 4, 8), height="auto")
stable-diffusion-webui/extensions/stable-diffusion-webui-two-shot/scripts/two_shot.py:471: GradioDeprecationWarning: The 'grid' parameter will be deprecated. Please use 'columns' in the constructor instead.
  visual_regions = gr.Gallery(label="Regions").style(grid=(4, 4, 4, 8), height="auto")
stable-diffusion-webui/extensions/StylePile/scripts/StylePile.py:412: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  gr.Gallery(value=ResultDirectionImages, show_label=False).style(
stable-diffusion-webui/extensions/StylePile/scripts/StylePile.py:412: GradioDeprecationWarning: The 'grid' parameter will be deprecated. Please use 'columns' in the constructor instead.
  gr.Gallery(value=ResultDirectionImages, show_label=False).style(
stable-diffusion-webui/extensions/StylePile/scripts/StylePile.py:416: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  gr.Gallery(value=ResultMoodImages, show_label=False).style(
stable-diffusion-webui/extensions/StylePile/scripts/StylePile.py:416: GradioDeprecationWarning: The 'grid' parameter will be deprecated. Please use 'columns' in the constructor instead.
  gr.Gallery(value=ResultMoodImages, show_label=False).style(
stable-diffusion-webui/extensions/StylePile/scripts/StylePile.py:420: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  gr.Gallery(value=ResultArtistImages, show_label=False).style(
stable-diffusion-webui/extensions/StylePile/scripts/StylePile.py:420: GradioDeprecationWarning: The 'grid' parameter will be deprecated. Please use 'columns' in the constructor instead.
  gr.Gallery(value=ResultArtistImages, show_label=False).style(
stable-diffusion-webui/extensions/StylePile/scripts/StylePile.py:424: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  gr.Gallery(value=ArtMovementImages, show_label=False).style(
stable-diffusion-webui/extensions/StylePile/scripts/StylePile.py:424: GradioDeprecationWarning: The 'grid' parameter will be deprecated. Please use 'columns' in the constructor instead.
  gr.Gallery(value=ArtMovementImages, show_label=False).style(
stable-diffusion-webui/extensions/StylePile/scripts/StylePile.py:428: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  gr.Gallery(value=ResultColorImages, show_label=False).style(
stable-diffusion-webui/extensions/StylePile/scripts/StylePile.py:428: GradioDeprecationWarning: The 'grid' parameter will be deprecated. Please use 'columns' in the constructor instead.
  gr.Gallery(value=ResultColorImages, show_label=False).style(
stable-diffusion-webui/extensions/stable-diffusion-webui-wd14-tagger/tagger/settings.py:17: GradioDeprecationWarning: Usage of gradio.inputs is deprecated, and will not be supported in the future, please import your component from gradio.components
  return gr.Slider(**kwargs)
stable-diffusion-webui/modules/gradio_extensons.py:25: GradioDeprecationWarning: `optional` parameter is deprecated, and it has no effect
  res = original_IOComponent_init(self, *args, **kwargs)
stable-diffusion-webui/extensions/sd-webui-additional-networks/scripts/metadata_editor.py:399: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  with gr.Row().style(equal_height=False):
stable-diffusion-webui/extensions/sd-webui-additional-networks/scripts/metadata_editor.py:521: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  cover_image = gr.Image(
Scanning <DirEntry 'deepdanbooru-v3-20211112-sgd-e28'> as deepdanbooru project
Scanning <DirEntry 'deepdanbooru-v4-20200814-sgd-e30'> as deepdanbooru project
Scanning <DirEntry 'wd-v1-4-convnextv2-tagger-v2'> as onnx model
Scanning <DirEntry 'Z3D-E621-Convnext'> as onnx model
stable-diffusion-webui/modules/gradio_extensons.py:25: GradioUnusedKwargWarning: You have unused kwarg parameters in Number, please remove them: {'min': 1}
  res = original_IOComponent_init(self, *args, **kwargs)
stable-diffusion-webui/extensions/training-picker/scripts/training_picker.py:260: GradioDeprecationWarning: 'scale' value should be an integer. Using 0.3 will cause issues.
  with gr.Column(visible=False, scale=0.3) as original_image_outfill_setting_container:
stable-diffusion-webui/modules/gradio_extensons.py:25: GradioDeprecationWarning: 'scale' value should be an integer. Using 0.3 will cause issues.
  res = original_IOComponent_init(self, *args, **kwargs)
stable-diffusion-webui/modules/gradio_extensons.py:25: GradioUnusedKwargWarning: You have unused kwarg parameters in Slider, please remove them: {'min': 0, 'max': 100}
  res = original_IOComponent_init(self, *args, **kwargs)
stable-diffusion-webui/modules/gradio_extensons.py:25: GradioUnusedKwargWarning: You have unused kwarg parameters in Slider, please remove them: {'min': 1, 'max': 50}
  res = original_IOComponent_init(self, *args, **kwargs)
stable-diffusion-webui/modules/gradio_extensons.py:25: GradioUnusedKwargWarning: You have unused kwarg parameters in Number, please remove them: {'live': True}
  res = original_IOComponent_init(self, *args, **kwargs)
stable-diffusion-webui/modules/gradio_extensons.py:25: GradioUnusedKwargWarning: You have unused kwarg parameters in Button, please remove them: {'full_width': True}
  res = original_IOComponent_init(self, *args, **kwargs)
Running on local URL:  http://XXXXXXXXXXXXXXX
Creating model from config: stable-diffusion-webui/configs/v1-inference.yaml

To create a public link, set `share=True` in `launch()`.
Startup time: 20.1s (prepare environment: 8.6s, import torch: 3.0s, import gradio: 0.6s, setup paths: 0.3s, other imports: 0.5s, list SD models: 0.2s, load scripts: 2.6s, create ui: 1.2s, gradio launch: 3.0s).
Loading VAE weights specified in settings: stable-diffusion-webui/models/VAE/vae-ft-mse-840000-ema-pruned.safetensors
Applying attention optimization: InvokeAI... done.
Model loaded in 5.6s (load weights from disk: 2.8s, create model: 0.3s, apply weights to model: 1.6s, apply float(): 0.4s, load VAE: 0.2s, load textual inversion embeddings: 0.1s, calculate empty prompt: 0.1s).
picobyte commented 1 year ago

A checkpoint merge failure happened but seemed only for particular models - with 2 workflows(?) - e.g.alfheimr_04.safetensors, it was kind of resolved with below change (edit history of 1st message has some more details), I'm not 100% sure below change is a hack or the right way. Also the ui issues are not resolved with this, obviously.

@@ -244,10 +244,15 @@ def run_modelmerger(id_task, primary_model_name, secondary_model_name, tertiary_
     ckpt_dir = shared.cmd_opts.ckpt_dir or sd_models.model_path

     filename = filename_generator() if custom_name == '' else custom_name
     filename += ".inpainting" if result_is_inpainting_model else ""
     filename += ".instruct-pix2pix" if result_is_instruct_pix2pix_model else ""
+
+    if isinstance(checkpoint_format, list):
+        print("Unexpected format:  " + repr(checkpoint_format))
+        checkpoint_format = checkpoint_format[0]
+
     filename += "." + checkpoint_format

     output_modelname = os.path.join(ckpt_dir, filename)

     shared.state.nextjob()
@@ -308,10 +313,14 @@ def run_modelmerger(id_task, primary_model_name, secondary_model_name, tertiary_
             add_model_metadata(tertiary_model_info)

         metadata["sd_merge_recipe"] = json.dumps(merge_recipe)
         metadata["sd_merge_models"] = json.dumps(sd_merge_models)

+    for k in ["prompt", "workflow", "modelspec.predict_key"]:
+        if k in metadata:
+            del metadata[k]
+
     _, extension = os.path.splitext(output_modelname)
     if extension.lower() == ".safetensors":
         safetensors.torch.save_file(theta_0, output_modelname, metadata=metadata if len(metadata)>0 else None)
     else:
         torch.save(theta_0, output_modelname)
picobyte commented 1 year ago

the ui issue seems to be already mentioned in #12993

Diego-lg commented 1 year ago

same here

MattRM2 commented 1 year ago

Same problem, not working good because all values are in double like this ['4x_NMKD-Superscale-SP_178000_G', '4x_NMKD-Superscale-SP_178000_G']

picobyte commented 1 year ago

For me this fixed it: https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/12886#issuecomment-1701453329

MattRM2 commented 1 year ago

For me this fixed it: #12886 (comment)

Hi,

Thx, it fixed it for me too ;)

Matt