AUTOMATIC1111 / stable-diffusion-webui

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

[Bug]: UI getting out of sync on slow connection #13037

Open van1027 opened 1 year ago

van1027 commented 1 year ago

Is there an existing issue for this?

What happened?

When you connect to a remote a1111 webui server over the slow internet connection it gets out of sync with the server. No generated images are displaying, progress bar doesn't change. It keeps saying it's in queue even if nothing is going on on the server. Seems like there is an uncaught exception in promise on timeout.

Steps to reproduce the problem

  1. Open webui site
  2. Click Generate
  3. Nothing goes on

What should have happened?

It should catch exception and re-establist connection.

Sysinfo

{ "Platform": "Windows-10-10.0.19045-SP0", "Python": "3.10.6", "Version": "v1.6.0", "Commit": "5ef669de080814067961f28357256e8fe27544f4", "Script path": "D:\stable-diffusion-webui", "Data path": "D:\stable-diffusion-webui", "Extensions dir": "D:\stable-diffusion-webui\extensions", "Checksum": "6691d2fbb78feaca9a24a392f5a51dc46e625aee63c31e4f28cfc60f50210225", "Commandline": [ "launch.py", "--listen", "--medvram", "--opt-split-attention-v1", "--xformers", "--ckpt-dir", "D:\stable-diffusion-ui\models\stable-diffusion", "--lora-dir", "D:\stable-diffusion-ui\models\lora" ], "Torch env info": { "torch_version": "2.0.0+cu118", "is_debug_build": "False", "cuda_compiled_version": "11.8", "gcc_version": null, "clang_version": null, "cmake_version": null, "os": "Microsoft Windows 10 Home", "libc_version": "N/A", "python_version": "3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)] (64-bit runtime)", "python_platform": "Windows-10-10.0.19045-SP0", "is_cuda_available": "True", "cuda_runtime_version": null, "cuda_module_loading": "LAZY", "nvidia_driver_version": "536.23", "nvidia_gpu_models": "GPU 0: NVIDIA GeForce RTX 3070 Ti", "cudnn_version": null, "pip_version": "pip3", "pip_packages": [ "lion-pytorch==0.1.2", "numpy==1.23.5", "open-clip-torch==2.20.0", "pytorch-lightning==1.9.4", "torch==2.0.0+cu118", "torchdiffeq==0.2.3", "torchmetrics==0.11.4", "torchsde==0.2.5", "torchvision==0.15.1+cu118" ], "conda_packages": null, "hip_compiled_version": "N/A", "hip_runtime_version": "N/A", "miopen_runtime_version": "N/A", "caching_allocator_config": "garbage_collection_threshold:0.6,max_split_size_mb:128", "is_xnnpack_available": "True", "cpu_info": [ "Architecture=9", "CurrentClockSpeed=3401", "DeviceID=CPU0", "Family=191", "L2CacheSize=1024", "L2CacheSpeed=", "Manufacturer=GenuineIntel", "MaxClockSpeed=3401", "Name=Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz", "ProcessorType=3", "Revision=14857" ] }, "Exceptions": [], "CPU": { "model": "Intel64 Family 6 Model 58 Stepping 9, GenuineIntel", "count logical": 4, "count physical": 4 }, "RAM": { "total": "32GB", "used": "11GB", "free": "20GB" }, "Extensions": [ { "name": "Stable-Diffusion-Webui-Civitai-Helper", "path": "D:\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": "a1111-stable-diffusion-webui-vram-estimator", "path": "D:\stable-diffusion-webui\extensions\a1111-stable-diffusion-webui-vram-estimator", "version": "8ecde47f", "branch": "master", "remote": "https://github.com/space-nuko/a1111-stable-diffusion-webui-vram-estimator.git" }, { "name": "adetailer", "path": "D:\stable-diffusion-webui\extensions\adetailer", "version": "0eb6a818", "branch": "main", "remote": "https://github.com/Bing-su/adetailer.git" }, { "name": "ebsynth_utility", "path": "D:\stable-diffusion-webui\extensions\ebsynth_utility", "version": "3858f120", "branch": "main", "remote": "https://github.com/s9roll7/ebsynth_utility.git" }, { "name": "multidiffusion-upscaler-for-automatic1111", "path": "D:\stable-diffusion-webui\extensions\multidiffusion-upscaler-for-automatic1111", "version": "f9f8073e", "branch": "main", "remote": "https://github.com/pkuliyi2015/multidiffusion-upscaler-for-automatic1111.git" }, { "name": "next-diffusion-prompt-generator", "path": "D:\stable-diffusion-webui\extensions\next-diffusion-prompt-generator", "version": "cd0ff1d8", "branch": "master", "remote": "https://github.com/NextDiffusion/next-diffusion-prompt-generator" }, { "name": "posex", "path": "D:\stable-diffusion-webui\extensions\posex", "version": "292f92d5", "branch": "master", "remote": "https://github.com/hnmr293/posex.git" }, { "name": "sd-dynamic-prompts", "path": "D:\stable-diffusion-webui\extensions\sd-dynamic-prompts", "version": "39c06b30", "branch": "main", "remote": "https://github.com/adieyal/sd-dynamic-prompts.git" }, { "name": "sd-ratio-lock", "path": "D:\stable-diffusion-webui\extensions\sd-ratio-lock", "version": "c15daeac", "branch": "master", "remote": "https://github.com/bit9labs/sd-ratio-lock.git" }, { "name": "sd-webui-3d-open-pose-editor", "path": "D:\stable-diffusion-webui\extensions\sd-webui-3d-open-pose-editor", "version": "f2d5aac5", "branch": "main", "remote": "https://github.com/nonnonstop/sd-webui-3d-open-pose-editor.git" }, { "name": "sd-webui-controlnet", "path": "D:\stable-diffusion-webui\extensions\sd-webui-controlnet", "version": "c3b32f25", "branch": "main", "remote": "https://github.com/Mikubill/sd-webui-controlnet.git" }, { "name": "sd-webui-llul", "path": "D:\stable-diffusion-webui\extensions\sd-webui-llul", "version": "aa47b3ee", "branch": "master", "remote": "https://github.com/hnmr293/sd-webui-llul.git" }, { "name": "sd-webui-regional-prompter", "path": "D:\stable-diffusion-webui\extensions\sd-webui-regional-prompter", "version": "a7fbcc22", "branch": "main", "remote": "https://github.com/hako-mikan/sd-webui-regional-prompter.git" }, { "name": "sd_dreambooth_extension", "path": "D:\stable-diffusion-webui\extensions\sd_dreambooth_extension", "version": "cf086c53", "branch": "main", "remote": "https://github.com/d8ahazard/sd_dreambooth_extension.git" }, { "name": "stable-diffusion-webui-rembg", "path": "D:\stable-diffusion-webui\extensions\stable-diffusion-webui-rembg", "version": "3d9eedbb", "branch": "master", "remote": "https://github.com/AUTOMATIC1111/stable-diffusion-webui-rembg.git" }, { "name": "stable-diffusion-webui-state", "path": "D:\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-two-shot", "path": "D:\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": "ultimate-upscale-for-automatic1111", "path": "D:\stable-diffusion-webui\extensions\ultimate-upscale-for-automatic1111", "version": "c99f382b", "branch": "master", "remote": "https://github.com/Coyote-A/ultimate-upscale-for-automatic1111.git" } ], "Inactive extensions": [ { "name": "SDAtom-WebUi-client-queue-ext", "path": "D:\stable-diffusion-webui\extensions\SDAtom-WebUi-client-queue-ext", "version": "9cf161b2", "branch": "master", "remote": "https://github.com/Kryptortio/SDAtom-WebUi-client-queue-ext" }, { "name": "a1111-sd-webui-lycoris", "path": "D:\stable-diffusion-webui\extensions\a1111-sd-webui-lycoris", "version": "df9c0093", "branch": "main", "remote": "https://github.com/KohakuBlueleaf/a1111-sd-webui-lycoris.git" }, { "name": "sd-webui-lora-block-weight", "path": "D:\stable-diffusion-webui\extensions\sd-webui-lora-block-weight", "version": "3d226913", "branch": "main", "remote": "https://github.com/hako-mikan/sd-webui-lora-block-weight.git" }, { "name": "sd-webui-refiner", "path": "D:\stable-diffusion-webui\extensions\sd-webui-refiner", "version": "0ad12e75", "branch": "main", "remote": "https://github.com/wcde/sd-webui-refiner.git" }, { "name": "sd_civitai_extension", "path": "D:\stable-diffusion-webui\extensions\sd_civitai_extension", "version": "3ab9c6b1", "branch": "main", "remote": "https://github.com/civitai/sd_civitai_extension.git" }, { "name": "sd_smartprocess", "path": "D:\stable-diffusion-webui\extensions\sd_smartprocess", "version": "41fb35ef", "branch": "main", "remote": "https://github.com/d8ahazard/sd_smartprocess.git" }, { "name": "stable-diffusion-webui-artists-ui-tweak", "path": "D:\stable-diffusion-webui\extensions\stable-diffusion-webui-artists-ui-tweak", "version": "65530d3a", "branch": "master", "remote": "https://github.com/GeorgLegato/stable-diffusion-webui-artists-ui-tweak" }, { "name": "stable-diffusion-webui-composable-lora", "path": "D:\stable-diffusion-webui\extensions\stable-diffusion-webui-composable-lora", "version": "d4963e48", "branch": "main", "remote": "https://github.com/opparco/stable-diffusion-webui-composable-lora.git" } ], "Environment": { "COMMANDLINE_ARGS": "--listen --medvram --opt-split-attention-v1 --xformers --ckpt-dir \"D:\stable-diffusion-ui\models\stable-diffusion\" --lora-dir \"D:\stable-diffusion-ui\models\lora\"", "GRADIO_ANALYTICS_ENABLED": "False" }, "Config": { "samples_save": true, "samples_format": "png", "samples_filename_pattern": "", "save_images_add_number": true, "grid_save": false, "grid_format": "png", "grid_extended_filename": true, "grid_only_if_multiple": true, "grid_prevent_empty_spots": false, "n_rows": -1, "enable_pnginfo": true, "save_txt": true, "save_images_before_face_restoration": true, "save_images_before_highres_fix": true, "save_images_before_color_correction": false, "save_mask": false, "save_mask_composite": false, "jpeg_quality": 80, "webp_lossless": true, "export_for_4chan": false, "img_downscale_threshold": 4.0, "target_side_length": 4000, "img_max_size_mp": 200, "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, "outdir_samples": "", "outdir_txt2img_samples": "outputs/txt2img-images", "outdir_img2img_samples": "outputs/img2img-images", "outdir_extras_samples": "outputs/extras-images", "outdir_grids": "", "outdir_txt2img_grids": "outputs/txt2img-grids", "outdir_img2img_grids": "outputs/img2img-grids", "outdir_save": "log/images", "outdir_init_images": "outputs/init-images", "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 General 4xV3", "R-ESRGAN General WDN 4xV3", "R-ESRGAN 4x+", "R-ESRGAN 4x+ Anime6B", "R-ESRGAN 2x+" ], "upscaler_for_img2img": null, "SCUNET_tile": 192, "SCUNET_tile_overlap": 8, "face_restoration_model": "CodeFormer", "code_former_weight": 0.5, "face_restoration_unload": false, "show_warnings": false, "memmon_poll_rate": 8, "samples_log_stdout": false, "multiple_tqdm": true, "print_hypernet_extra": 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, "training_xattention_optimizations": false, "training_enable_tensorboard": false, "training_tensorboard_save_images": false, "training_tensorboard_flush_every": 120, "sd_model_checkpoint": "dreamshaper_8.safetensors [879db523c3]", "sd_checkpoint_cache": 0, "sd_vae_checkpoint_cache": 3, "sd_vae": "None", "sd_vae_as_default": true, "inpainting_mask_weight": 1.0, "initial_noise_multiplier": 1.0, "img2img_color_correction": true, "img2img_fix_steps": false, "img2img_background_color": "#ffffff", "enable_quantization": false, "enable_emphasis": true, "enable_batch_seeds": true, "comma_padding_backtrack": 20, "CLIP_stop_at_last_layers": 1, "upcast_attn": false, "randn_source": "GPU", "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, "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, "interrogate_clip_skip_categories": [], "interrogate_deepbooru_score_threshold": 0.5, "deepbooru_sort_alpha": true, "deepbooru_use_spaces": false, "deepbooru_escape": true, "deepbooru_filter_tags": "", "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": false, "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": [], "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, "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": [ "SDAtom-WebUi-client-queue-ext", "a1111-sd-webui-lycoris", "sd-webui-lora-block-weight", "sd-webui-refiner", "sd_civitai_extension", "sd_smartprocess", "stable-diffusion-webui-artists-ui-tweak", "stable-diffusion-webui-composable-lora" ], "disable_all_extensions": "none", "restore_config_state_file": "", "sd_checkpoint_hash": "879db523c30d3b9017143d56705015e15a2cb5628762c11d086fed9538abd7fd", "ldsr_steps": 100, "ldsr_cached": false, "SWIN_tile": 192, "SWIN_tile_overlap": 8, "sd_lora": "None", "openpose3d_use_online_version": false, "control_net_model_config": "models\cldm_v15.yaml", "control_net_model_adapter_config": "models\t2iadapter_sketch_sd14v1.yaml", "control_net_detectedmap_dir": "detected_maps", "control_net_models_path": "", "control_net_modules_path": "", "control_net_max_models_num": 1, "control_net_model_cache_size": 1, "control_net_no_detectmap": false, "control_net_detectmap_autosaving": false, "control_net_allow_script_control": true, "control_net_sync_field_args": false, "controlnet_show_batch_images_in_ui": false, "controlnet_increment_seed_during_batch": false, "state": [ "tabs" ], "state_txt2img": [ "prompt", "negative_prompt", "extra_networks", "styles", "sampling", "sampling_steps", "width", "height", "batch_count", "batch_size", "cfg_scale", "seed", "restore_faces", "tiling", "hires_fix", "hires_upscaler", "hires_steps", "hires_scale", "hires_resize_x", "hires_resize_y", "hires_denoising_strength" ], "state_img2img": [ "prompt", "negative_prompt", "extra_networks", "styles", "sampling", "resize_mode", "sampling_steps", "restore_faces", "tiling", "width", "height", "batch_count", "batch_size", "cfg_scale", "denoising_strength", "seed" ], "state_extensions": [ "control-net" ], "civitai_link_key": "", "civitai_link_logging": true, "civitai_api_key": "40f9d65a0db9458436648428fda42099", "civitai_download_previews": true, "civitai_nsfw_previews": true, "civitai_download_missing_models": true, "civitai_hashify_resources": true, "civitai_folder_lora": "", "civitai_folder_lyco": "", "sd_lyco": "None", "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", "dp_ignore_whitespace": false, "dp_write_raw_template": false, "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": false, "dp_wildcard_manager_no_dedupe": false, "dp_wildcard_manager_no_sort": false, "dp_magicprompt_default_model": "Gustavosta/MagicPrompt-Stable-Diffusion", "dp_magicprompt_batch_size": 1, "wildcard_dir": "D:\stable-diffusion-webui\extensions\sd-dynamic-prompts\wildcards", "quicksettings_list": [ "sd_model_checkpoint", "sd_vae", "CLIP_stop_at_last_layers", "grid_save" ], "ui_reorder_list": [ "inpaint", "sampler", "checkboxes", "hires_fix", "dimensions", "cfg", "seed", "batch", "override_settings", "scripts" ], "grid_zip_filename_pattern": "", "grid_text_active_color": "#000000", "grid_text_inactive_color": "#999999", "grid_background_color": "#ffffff", "list_hidden_files": true, "disable_mmap_load_safetensors": false, "sd_unet": "Automatic", "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, "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", "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_preferred_name": "Alias from file", "lora_add_hashes_to_infotext": true, "lora_show_all": false, "lora_hide_unknown_for_versions": [], "img2img_editor_height": 720, "js_modal_lightbox_gamepad": false, "js_modal_lightbox_gamepad_repeat": 250.0, "keyedit_move": false, "ui_tab_order": [], "hires_fix_show_sampler": false, "hires_fix_show_prompts": false, "disable_token_counters": false, "extra_options": [], "extra_options_accordion": false, "add_user_name_to_info": 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, "canvas_hotkey_zoom": "Alt", "canvas_hotkey_adjust": "Ctrl", "canvas_hotkey_move": "F", "canvas_hotkey_fullscreen": "S", "canvas_hotkey_reset": "R", "canvas_hotkey_overlap": "O", "canvas_show_tooltip": true, "canvas_blur_prompt": false, "canvas_disabled_functions": [ "Overlap" ], "control_net_inpaint_blur_sigma": 7, "control_net_no_high_res_fix": false, "controlnet_disable_control_type": false, "controlnet_disable_openpose_edit": false, "controlnet_ignore_noninpaint_mask": false, "regprp_debug": false, "regprp_hidepmask": false, "dp_wildcard_manager_shuffle": false, "artuitw_quicksettings2settings": true, "artuitw_settings2promptswidth": true, "artuitw_settings2promptsXratio": 0.6, "artuitw_galleryheightVH": 70, "sd_vae_overrides_per_model_preferences": true, "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": 3, "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": 127.47990465164185, "records": { "initial startup": 0.0, "prepare environment/checks": 0.031247854232788086, "prepare environment/git version info": 0.07811808586120605, "prepare environment/torch GPU test": 24.407442808151245, "prepare environment/clone repositores": 0.2537083625793457, "prepare environment/install requirements": 8.26254940032959, "prepare environment/run extensions installers/a1111-stable-diffusion-webui-vram-estimator": 0.0, "prepare environment/run extensions installers/adetailer": 0.2364647388458252, "prepare environment/run extensions installers/ebsynth_utility": 0.21336889266967773, "prepare environment/run extensions installers/multidiffusion-upscaler-for-automatic1111": 0.0, "prepare environment/run extensions installers/next-diffusion-prompt-generator": 0.0, "prepare environment/run extensions installers/posex": 0.0, "prepare environment/run extensions installers/sd-dynamic-prompts": 0.25711607933044434, "prepare environment/run extensions installers/sd-ratio-lock": 0.0, "prepare environment/run extensions installers/sd-webui-3d-open-pose-editor": 0.4028751850128174, "prepare environment/run extensions installers/sd-webui-controlnet": 0.7094306945800781, "prepare environment/run extensions installers/sd-webui-llul": 0.0, "prepare environment/run extensions installers/sd-webui-regional-prompter": 0.0, "prepare environment/run extensions installers/sd_dreambooth_extension": 36.46866512298584, "prepare environment/run extensions installers/Stable-Diffusion-Webui-Civitai-Helper": 0.0, "prepare environment/run extensions installers/stable-diffusion-webui-rembg": 0.15734267234802246, "prepare environment/run extensions installers/stable-diffusion-webui-state": 0.0, "prepare environment/run extensions installers/stable-diffusion-webui-two-shot": 0.0, "prepare environment/run extensions installers/ultimate-upscale-for-automatic1111": 0.0, "prepare environment/run extensions installers": 38.445263385772705, "prepare environment": 71.47832989692688, "launcher": 0.0, "import torch": 7.521470308303833, "import gradio": 1.438913106918335, "setup paths": 0.9842946529388428, "import ldm": 0.015624761581420898, "import sgm": 0.0, "initialize shared": 0.3911914825439453, "other imports": 4.145397186279297, "opts onchange": 0.0, "setup SD model": 0.0, "setup codeformer": 0.29684948921203613, "setup gfpgan": 0.046871185302734375, "set samplers": 0.0, "list extensions": 0.0, "restore config state file": 0.0, "list SD models": 0.3942420482635498, "list localizations": 0.0, "load scripts/custom_code.py": 0.015622615814208984, "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.0, "load scripts/prompts_from_file.py": 0.0, "load scripts/refiner.py": 0.0, "load scripts/sd_upscale.py": 0.0, "load scripts/seed.py": 0.01565861701965332, "load scripts/xyz_grid.py": 0.0, "load scripts/civitai_helper.py": 1.7393529415130615, "load scripts/vram_estimator.py": 0.062494754791259766, "load scripts/!adetailer.py": 2.1135053634643555, "load scripts/custom_script.py": 0.0, "load scripts/ui.py": 0.10953545570373535, "load scripts/tilediffusion.py": 0.015624523162841797, "load scripts/vae_optimize.py": 0.0, "load scripts/prompt_generator.py": 0.06249737739562988, "load scripts/posex.py": 0.0, "load scripts/dynamic_prompting.py": 0.12885284423828125, "load scripts/main.py": 0.21872949600219727, "load scripts/openpose_editor.py": 0.12499094009399414, "load scripts/adapter.py": 0.013867855072021484, "load scripts/api.py": 28.233553171157837, "load scripts/batch_hijack.py": 0.0, "load scripts/cldm.py": 0.0, "load scripts/controlnet.py": 0.39719605445861816, "load scripts/controlnet_version.py": 0.0, "load scripts/external_code.py": 0.0, "load scripts/global_state.py": 0.0, "load scripts/hook.py": 0.01563119888305664, "load scripts/infotext.py": 0.0, "load scripts/logging.py": 0.0, "load scripts/lvminthin.py": 0.0, "load scripts/movie2movie.py": 0.0, "load scripts/processor.py": 0.0, "load scripts/utils.py": 0.0, "load scripts/xyz_grid_support.py": 0.0, "load scripts/llul.py": 0.0, "load scripts/llul_hooker.py": 0.0, "load scripts/llul_xyz.py": 0.01561427116394043, "load scripts/sdhook.py": 0.0, "load scripts/attention.py": 0.0, "load scripts/latent.py": 0.0, "load scripts/regions.py": 0.0, "load scripts/rp.py": 0.07811903953552246, "load scripts/init__.py": 0.0, "load scripts/postprocessing_rembg.py": 0.0, "load scripts/state_api.py": 0.06249523162841797, "load scripts/state_settings.py": 0.06249523162841797, "load scripts/sketch_helper.py": 0.0, "load scripts/two_shot.py": 0.07811784744262695, "load scripts/ultimate-upscale.py": 0.0, "load scripts/ldsr_model.py": 0.07811951637268066, "load scripts/lora_script.py": 0.3905940055847168, "load scripts/scunet_model.py": 0.07811689376831055, "load scripts/swinir_model.py": 0.07811951637268066, "load scripts/hotkey_config.py": 0.0, "load scripts/extra_options_section.py": 0.0, "load scripts": 34.188904762268066, "load upscalers": 0.0, "refresh VAE": 0.0, "refresh textual inversion templates": 0.0, "scripts list_optimizers": 0.0, "scripts list_unets": 0.0, "reload hypernetworks": 0.0, "initialize extra networks": 0.015624046325683594, "scripts before_ui_callback": 0.0, "create ui": 2.124933958053589, "gradio launch": 4.421634912490845, "add APIs": 0.0, "app_started_callback/api.py": 0.015622854232788086, "app_started_callback/state_api.py": 0.0, "app_started_callback/lora_script.py": 0.0, "app_started_callback": 0.015622854232788086 } }, "Packages": [ "-.llow==9.5.0", "-==llow", "-illow==9.5.0", "-llow==9.5.0", "-rotobuf==4.22.4", "absl-py==1.4.0", "accelerate==0.21.0", "addict==2.4.0", "aenum==3.1.12", "aiofiles==23.1.0", "aiohttp==3.8.4", "aiosignal==1.3.1", "altair==4.2.2", "annotated-types==0.5.0", "antlr4-python3-runtime==4.9.3", "anyio==3.6.2", "asttokens==2.2.1", "astunparse==1.6.3", "async-timeout==4.0.2", "attrs==23.1.0", "backcall==0.2.0", "basicsr==1.4.2", "beautifulsoup4==4.12.2", "bidict==0.22.1", "bitsandbytes==0.35.4", "blendmodes==2022", "boltons==23.0.0", "cachetools==5.3.0", "certifi==2022.12.7", "cffi==1.15.1", "chardet==4.0.0", "charset-normalizer==3.1.0", "clean-fid==0.1.35", "click==8.1.3", "clip==1.0", "color-matcher==0.5.0", "colorama==0.4.6", "coloredlogs==15.0.1", "contourpy==1.0.7", "cssselect2==0.7.0", "cycler==0.11.0", "dadaptation==3.1", "ddt==1.6.0", "decorator==5.1.1", "deprecation==2.1.0", "diffusers==0.19.3", "discord-webhook==1.1.0", "docutils==0.19", "dynamicprompts==0.29.0", "einops==0.4.1", "entrypoints==0.4", "executing==1.2.0", "facexlib==0.3.0", "fairscale==0.4.13", "fastapi==0.94.1", "ffmpy==0.3.0", "filelock==3.12.0", "filterpy==1.4.5", "flatbuffers==23.3.3", "font-roboto==0.0.1", "fonts==0.0.3", "fonttools==4.39.3", "freetype-py==2.3.0", "frozenlist==1.3.3", "fsspec==2023.4.0", "ftfy==6.1.1", "future==0.18.3", "fvcore==0.1.5.post20221221", "gast==0.4.0", "gdown==4.7.1", "gfpgan==1.3.8", "gitdb==4.0.10", "gitpython==3.1.32", "google-auth-oauthlib==1.0.0", "google-auth==2.17.3", "google-pasta==0.2.0", "gradio-client==0.5.0", "gradio==3.41.2", "grpcio==1.54.0", "h11==0.12.0", "h5py==3.8.0", "httpcore==0.15.0", "httpx==0.24.0", "huggingface-hub==0.14.1", "humanfriendly==10.0", "idna==2.10", "imageio==2.28.1", "importlib-metadata==6.6.0", "importlib-resources==6.0.1", "inflection==0.5.1", "iopath==0.1.9", "ipython==8.6.0", "jax==0.4.8", "jedi==0.18.2", "jinja2==3.1.2", "jsonmerge==1.8.0", "jsonschema==4.17.3", "keras==2.12.0", "kiwisolver==1.4.4", "kornia==0.6.7", "lark==1.1.2", "lazy-loader==0.2", "libclang==16.0.0", "lightning-utilities==0.8.0", "linkify-it-py==2.0.2", "lion-pytorch==0.1.2", "llvmlite==0.40.0", "lmdb==1.4.1", "lpips==0.1.4", "lxml==4.9.2", "markdown-it-py==2.2.0", "markdown==3.4.3", "markupsafe==2.1.2", "matplotlib-inline==0.1.6", "matplotlib==3.7.1", "mdit-py-plugins==0.3.3", "mdurl==0.1.2", "mediapipe==0.10.3", "ml-dtypes==0.1.0", "mpmath==1.3.0", "multidict==6.0.4", "networkx==3.1", "numba==0.57.0", "numpy==1.23.5", "oauthlib==3.2.2", "omegaconf==2.2.3", "onnxruntime==1.14.1", "open-clip-torch==2.20.0", "opencv-contrib-python==4.7.0.72", "opencv-python==4.8.0.76", "opt-einsum==3.3.0", "orjson==3.8.11", "packaging==23.1", "pandas==2.0.1", "parso==0.8.3", "pickleshare==0.7.5", "piexif==1.1.3", "pillow==9.5.0", "pip==23.2.1", "platformdirs==3.5.0", "pooch==1.7.0", "portalocker==2.7.0", "prompt-toolkit==3.0.38", "protobuf==3.20.3", "psutil==5.9.5", "pure-eval==0.2.2", "py-cpuinfo==9.0.0", "pyasn1-modules==0.3.0", "pyasn1==0.5.0", "pycairo==1.23.0", "pycparser==2.21", "pydantic-core==2.1.2", "pydantic==1.10.11", "pydub==0.25.1", "pygments==2.15.1", "pymatting==1.1.8", "pyparsing==3.0.9", "pyreadline3==3.4.1", "pyrsistent==0.19.3", "pysocks==1.7.1", "python-dateutil==2.8.2", "python-engineio==4.4.1", "python-multipart==0.0.6", "python-socketio==5.7.2", "pytorch-lightning==1.9.4", "pytz==2023.3", "pyvirtualcam==0.10.2", "pywavelets==1.4.1", "pywin32==306", "pyyaml==6.0", "realesrgan==0.3.0", "regex==2023.5.5", "rembg==2.0.30", "reportlab==4.0.0", "requests-oauthlib==1.3.1", "requests==2.31.0", "resize-right==0.0.2", "rich==13.4.2", "rlpycairo==0.2.0", "rsa==4.9", "safetensors==0.3.1", "scikit-image==0.21.0", "scipy==1.10.1", "seaborn==0.12.1", "semantic-version==2.10.0", "send2trash==1.8.2", "sentencepiece==0.1.99", "setuptools==63.2.0", "six==1.16.0", "smmap==5.0.0", "sniffio==1.3.0", "sounddevice==0.4.6", "soupsieve==2.4.1", "stack-data==0.6.2", "starlette==0.26.1", "svglib==1.5.1", "sympy==1.11.1", "tabulate==0.9.0", "tb-nightly==2.13.0a20230503", "tensorboard-data-server==0.7.0", "tensorboard-plugin-wit==1.8.1", "tensorboard==2.13.0", "tensorflow-estimator==2.12.0", "tensorflow-intel==2.12.0", "tensorflow-io-gcs-filesystem==0.31.0", "tensorflow==2.12.0", "termcolor==2.3.0", "tifffile==2023.4.12", "timm==0.9.2", "tinycss2==1.2.1", "tokenizers==0.13.3", "tomesd==0.1.3", "tomli==2.0.1", "toolz==0.12.0", "torch==2.0.0+cu118", "torchdiffeq==0.2.3", "torchmetrics==0.11.4", "torchsde==0.2.5", "torchvision==0.15.1+cu118", "tqdm==4.65.0", "traitlets==5.9.0", "trampoline==0.1.2", "transformers==4.30.2", "transparent-background==1.2.3", "typing-extensions==4.7.1", "tzdata==2023.3", "uc-micro-py==1.0.2", "ultralytics==8.0.167", "urllib3==1.26.15", "uvicorn==0.22.0", "wcwidth==0.2.6", "webencodings==0.5.1", "websocket-client==1.5.2", "websockets==11.0.2", "werkzeug==2.3.3", "wheel==0.40.0", "wrapt==1.14.1", "xformers==0.0.20", "yacs==0.1.8", "yapf==0.33.0", "yarl==1.9.2", "zipp==3.15.0" ] }

What browsers do you use to access the UI ?

Google Chrome

Console logs

![image](https://github.com/AUTOMATIC1111/stable-diffusion-webui/assets/131382639/812c4915-1431-4071-aaf1-4d63cfb1a3af)

![image](https://github.com/AUTOMATIC1111/stable-diffusion-webui/assets/131382639/03b32172-601f-4e4c-acef-0c7d905311e9)

Additional information

No response

van1027 commented 1 year ago

image

Here is another error log from the browser

van1027 commented 1 year ago

image

van1027 commented 1 year ago

Here is the error from the server console:

remote: Enumerating objects: 14, done. remote: Counting objects: 100% (14/14), done. remote: Compressing objects: 100% (11/11), done. remote: Total 14 (delta 4), reused 11 (delta 3), pack-reused 0 Unpacking objects: 100% (14/14), 22.57 KiB | 722.00 KiB/s, done. From https://github.com/AUTOMATIC1111/stable-diffusion-webui

Initializing Dreambooth Dreambooth revision: cf086c536b141fc522ff11f6cffc8b7b12da04b9 Successfully installed fastapi-0.94.1

[+] xformers version 0.0.17 installed. [+] torch version 2.0.0+cu118 installed. [+] torchvision version 0.15.1+cu118 installed. [+] accelerate version 0.21.0 installed. [+] diffusers version 0.19.3 installed. [+] transformers version 4.30.2 installed. [+] bitsandbytes version 0.35.4 installed. Launching Web UI with arguments: --listen --medvram --opt-split-attention-v1 --xformers --ckpt-dir D:\stable-diffusion-ui\models\stable-diffusion --lora-dir D:\stable-diffusion-ui\models\lora D:\stable-diffusion-webui\venv\lib\site-packages\pkg_resources__init__.py:123: PkgResourcesDeprecationWarning: llow is an invalid version and will not be supported in a future release warnings.warn( Civitai Helper: Get Custom Model Folder Civitai Helper: Load setting from: D:\stable-diffusion-webui\extensions\Stable-Diffusion-Webui-Civitai-Helper\setting.json [-] ADetailer initialized. version: 23.9.0, num models: 9 2023-09-03 12:37:41,854 - ControlNet - INFO - ControlNet v1.1.313 ControlNet preprocessor location: D:\stable-diffusion-webui\extensions\sd-webui-controlnet\annotator\downloads 2023-09-03 12:37:42,235 - ControlNet - INFO - ControlNet v1.1.313 Loading weights [879db523c3] from D:\stable-diffusion-ui\models\stable-diffusion\dreamshaper_8.safetensors Creating model from config: D:\stable-diffusion-webui\configs\v1-inference.yaml No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. Model loaded in 24.3s (load weights from disk: 0.3s, create model: 1.1s, apply weights to model: 0.8s, load textual inversion embeddings: 17.4s, calculate empty prompt: 4.6s). Applying attention optimization: xformers... done. D:\stable-diffusion-webui\extensions\sd-webui-regional-prompter\scripts\rp.py:75: GradioDeprecationWarning: The style method is deprecated. Please set these arguments in the constructor instead. areasimg = gr.Image(type="pil", show_label = False).style(height=256,width=256) D:\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', D:\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") D:\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") [VRAMEstimator] Loaded benchmark data. D:\stable-diffusion-webui\extensions\a1111-stable-diffusion-webui-vram-estimator\scripts\vram_estimator.py:243: GradioDeprecationWarning: The style method is deprecated. Please set these arguments in the constructor instead. bench_run_btn = gr.Button("Run benchmark", variant="primary").style(full_width=False) D:\stable-diffusion-webui\extensions\a1111-stable-diffusion-webui-vram-estimator\scripts\vram_estimator.py:243: GradioDeprecationWarning: Use scale in place of full_width in the constructor. scale=1 will make the button expand, whereas 0 will not. bench_run_btn = gr.Button("Run benchmark", variant="primary").style(full_width=False) D:\stable-diffusion-webui\extensions\a1111-stable-diffusion-webui-vram-estimator\scripts\vram_estimator.py:244: GradioDeprecationWarning: The style method is deprecated. Please set these arguments in the constructor instead. load_results_button = gr.Button("Load results").style(full_width=False) D:\stable-diffusion-webui\extensions\a1111-stable-diffusion-webui-vram-estimator\scripts\vram_estimator.py:244: GradioDeprecationWarning: Use scale in place of full_width in the constructor. scale=1 will make the button expand, whereas 0 will not. load_results_button = gr.Button("Load results").style(full_width=False) D:\stable-diffusion-webui\extensions\ebsynth_utility\scripts\ui.py:11: GradioDeprecationWarning: The style method is deprecated. Please set these arguments in the constructor instead. with gr.Row().style(equal_height=False): D:\stable-diffusion-webui\extensions\next-diffusion-prompt-generator\scripts\prompt_generator.py:167: GradioDeprecationWarning: The style method is deprecated. Please set these arguments in the constructor instead. with gr.Row().style(equal_height=True): # Place dropdowns side by side D:\stable-diffusion-webui\extensions\sd_dreambooth_extension\scripts\main.py:257: GradioDeprecationWarning: The style method is deprecated. Please set these arguments in the constructor instead. with gr.Row().style(equal_height=False): CUDA SETUP: Loading binary D:\stable-diffusion-webui\venv\lib\site-packages\bitsandbytes\libbitsandbytes_cudaall.dll... D:\stable-diffusion-webui\extensions\sd_dreambooth_extension\scripts\main.py:1047: GradioDeprecationWarning: The style method is deprecated. Please set these arguments in the constructor instead. db_gallery = gr.Gallery( D:\stable-diffusion-webui\extensions\sd_dreambooth_extension\scripts\main.py:1047: GradioDeprecationWarning: The 'grid' parameter will be deprecated. Please use 'columns' in the constructor instead. db_gallery = gr.Gallery( Running on local URL: http://0.0.0.0:7860

To create a public link, set share=True in launch(). Startup time: 127.5s (prepare environment: 71.5s, import torch: 7.5s, import gradio: 1.4s, setup paths: 1.0s, initialize shared: 0.4s, other imports: 4.1s, setup codeformer: 0.3s, list SD models: 0.4s, load scripts: 34.2s, create ui: 2.1s, gradio launch: 4.4s). Traceback (most recent call last): File "D:\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 488, in run_predict output = await app.get_blocks().process_api( File "D:\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1431, in process_api result = await self.call_function( File "D:\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1077, in call_function assert block_fn.fn, f"function with index {fn_index} not defined." AssertionError: function with index 246 not defined. Traceback (most recent call last): File "D:\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 488, in run_predict output = await app.get_blocks().process_api( File "D:\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1431, in process_api result = await self.call_function( File "D:\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1077, in call_function assert block_fn.fn, f"function with index {fn_index} not defined." AssertionError: function with index 246 not defined. reading info for (test prompt): KeyError Traceback (most recent call last): File "D:\stable-diffusion-webui\modules\ui_extra_networks_user_metadata.py", line 102, in get_metadata_table filename = item["filename"] KeyError: 'filename'

Traceback (most recent call last): File "D:\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 488, in run_predict output = await app.get_blocks().process_api( File "D:\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1431, in process_api result = await self.call_function( File "D:\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1103, in call_function prediction = await anyio.to_thread.run_sync( File "D:\stable-diffusion-webui\venv\lib\site-packages\anyio\to_thread.py", line 31, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "D:\stable-diffusion-webui\venv\lib\site-packages\anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread return await future File "D:\stable-diffusion-webui\venv\lib\site-packages\anyio_backends_asyncio.py", line 867, in run result = context.run(func, args) File "D:\stable-diffusion-webui\venv\lib\site-packages\gradio\utils.py", line 707, in wrapper response = f(args, **kwargs) File "D:\stable-diffusion-webui\modules\ui_extra_networks_user_metadata.py", line 129, in put_values_into_components return html.escape(name), user_metadata.get('description', ''), table, self.get_card_html(name), user_metadata.get('notes', '') File "D:\stable-diffusion-webui\modules\ui_extra_networks_user_metadata.py", line 77, in get_cardhtml filename, = os.path.splitext(item["filename"]) KeyError: 'filename' reading info for (test prompt): KeyError Traceback (most recent call last): File "D:\stable-diffusion-webui\modules\ui_extra_networks_user_metadata.py", line 102, in get_metadata_table filename = item["filename"] KeyError: 'filename'

Traceback (most recent call last): File "D:\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 488, in run_predict output = await app.get_blocks().process_api( File "D:\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1431, in process_api result = await self.call_function( File "D:\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1103, in call_function prediction = await anyio.to_thread.run_sync( File "D:\stable-diffusion-webui\venv\lib\site-packages\anyio\to_thread.py", line 31, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "D:\stable-diffusion-webui\venv\lib\site-packages\anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread return await future File "D:\stable-diffusion-webui\venv\lib\site-packages\anyio_backends_asyncio.py", line 867, in run result = context.run(func, args) File "D:\stable-diffusion-webui\venv\lib\site-packages\gradio\utils.py", line 707, in wrapper response = f(args, **kwargs) File "D:\stable-diffusion-webui\modules\ui_extra_networks_user_metadata.py", line 129, in put_values_into_components return html.escape(name), user_metadata.get('description', ''), table, self.get_card_html(name), user_metadata.get('notes', '') File "D:\stable-diffusion-webui\modules\ui_extra_networks_user_metadata.py", line 77, in get_cardhtml filename, = os.path.splitext(item["filename"]) KeyError: 'filename' Traceback (most recent call last): File "D:\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 488, in run_predict output = await app.get_blocks().process_api( File "D:\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1431, in process_api result = await self.call_function( File "D:\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1077, in call_function assert block_fn.fn, f"function with index {fn_index} not defined." AssertionError: function with index 246 not defined.

w-e-w commented 1 year ago

interesting I artificially increase the latency to 5 seconds and webui is basically broken

clarify, I didn't manage to produce the error you got but other things about the webui is broken

missionfloyd commented 1 year ago

Possibly a gradio issue.