Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: REinstalling mmcv on every launch #16642

Open
1 of 6 tasks
venzen opened this issue Nov 11, 2024 · 1 comment
Open
1 of 6 tasks

[Bug]: REinstalling mmcv on every launch #16642

venzen opened this issue Nov 11, 2024 · 1 comment
Labels
bug-report Report of a bug, yet to be confirmed

Comments

@venzen
Copy link

venzen commented Nov 11, 2024

Checklist

  • The issue exists after disabling all extensions
  • The issue exists on a clean installation of webui
  • The issue is caused by an extension, but I believe it is caused by a bug in the webui
  • The issue exists in the current version of the webui
  • The issue has not been reported before recently
  • The issue has been reported before but has not been fixed yet

What happened?

Whenever I launch ./webui.sh on Ubuntu 22.04 the script outputs: "Installing dependencies" and then uninstalls mmcv, mmdet and openmim.

It then proceeds to reinstall the 3 packages but installs mmcv 2.2 and immediately complains with an AssertionError that mmcv 2.0.0rc4 should be installed.

If I uninstall 2.2 and manually reinstall 2.0.0rc4 in the venv, on the next launch it uninstalls the package and groundhog day...

When passing --disable-all-extensions then the script does not install dependencies.

Steps to reproduce the problem

pip uninstall mmcv
pip install mmvc==2.0.0rc4
./webui.sh

What should have happened?

If manual installation of mmcv does not meet the requirement, then why is the script upgrading to 2.2 every time?

What browsers do you use to access the UI ?

Other

Sysinfo

{
"Platform": "Linux-5.15.0-125-generic-x86_64-with-glibc2.35",
"Python": "3.10.12",
"Version": "v1.10.1",
"Commit": "82a973c04367123ae98bd9abdf80d9eda9b910e2",
"Git status": "On branch master\nYour branch is up to date with 'origin/master'.\n\nChanges not staged for commit:\n (use "git add ..." to update what will be committed)\n (use "git restore ..." to discard changes in working directory)\n\tmodified: requirements.txt\n\tmodified: webui-user.bat\n\tmodified: webui-user.sh\n\nUntracked files:\n (use "git add ..." to include in what will be committed)\n\t.webui-user.bat.un~\n\t.webui-user.sh.un~\n\t.webui.sh.un~\n\t=2.0.0\n\t=3.0.0\n\tapi_out/\n\thtml/img/\n\tnohup.out\n\tscripts/detect_extension.py\n\nno changes added to commit (use "git add" and/or "git commit -a")",
"Script path": "/data/stable-diffusion-webui",
"Data path": "/data/stable-diffusion-webui",
"Extensions dir": "/data/stable-diffusion-webui/extensions",
"Checksum": "2fba5f7e0e22457b806051af343991029b79abbfe12017f5cdbbd81626cc07aa",
"Commandline": [
"launch.py",
"--medvram",
"--xformers",
"--no-half-vae"
],
"Torch env info": {
"torch_version": "2.1.2+cu121",
"is_debug_build": "False",
"cuda_compiled_version": "12.1",
"gcc_version": "(Ubuntu 11.4.0-1ubuntu122.04) 11.4.0",
"clang_version": null,
"cmake_version": null,
"os": "Ubuntu 22.04.5 LTS (x86_64)",
"libc_version": "glibc-2.35",
"python_version": "3.10.12 (main, Sep 11 2024, 15:47:36) [GCC 11.4.0] (64-bit runtime)",
"python_platform": "Linux-5.15.0-125-generic-x86_64-with-glibc2.35",
"is_cuda_available": "True",
"cuda_runtime_version": null,
"cuda_module_loading": "LAZY",
"nvidia_driver_version": "535.216.01",
"nvidia_gpu_models": "GPU 0: NVIDIA GeForce RTX 3060 Ti",
"cudnn_version": null,
"pip_version": "pip3",
"pip_packages": [
"numpy==1.26.2",
"open-clip-torch==2.20.0",
"pytorch-lightning==1.9.4",
"torch==2.1.2+cu121",
"torchdiffeq==0.2.3",
"torchmetrics==1.5.2",
"torchsde==0.2.6",
"torchvision==0.16.2+cu121",
"triton==2.1.0"
],
"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.9,max_split_size_mb:512",
"is_xnnpack_available": "True",
"cpu_info": [
"Architecture: x86_64",
"CPU op-mode(s): 32-bit, 64-bit",
"Address sizes: 46 bits physical, 48 bits virtual",
"Byte Order: Little Endian",
"CPU(s): 48",
"On-line CPU(s) list: 0-47",
"Vendor ID: GenuineIntel",
"Model name: Intel(R) Xeon(R) CPU E5-2697 v2 @ 2.70GHz",
"CPU family: 6",
"Model: 62",
"Thread(s) per core: 2",
"Core(s) per socket: 12",
"Socket(s): 2",
"Stepping: 4",
"CPU max MHz: 3500.0000",
"CPU min MHz: 1200.0000",
"BogoMIPS: 5400.22",
"Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm cpuid_fault epb pti intel_ppin ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms xsaveopt dtherm ida arat pln pts md_clear flush_l1d",
"Virtualization: VT-x",
"L1d cache: 768 KiB (24 instances)",
"L1i cache: 768 KiB (24 instances)",
"L2 cache: 6 MiB (24 instances)",
"L3 cache: 60 MiB (2 instances)",
"NUMA node(s): 2",
"NUMA node0 CPU(s): 0-11,24-35",
"NUMA node1 CPU(s): 12-23,36-47",
"Vulnerability Gather data sampling: Not affected",
"Vulnerability Itlb multihit: KVM: Mitigation: VMX disabled",
"Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT vulnerable",
"Vulnerability Mds: Mitigation; Clear CPU buffers; SMT vulnerable",
"Vulnerability Meltdown: Mitigation; PTI",
"Vulnerability Mmio stale data: Unknown: No mitigations",
"Vulnerability Reg file data sampling: Not affected",
"Vulnerability Retbleed: Not affected",
"Vulnerability Spec rstack overflow: Not affected",
"Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp",
"Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization",
"Vulnerability Spectre v2: Mitigation; Retpolines; IBPB conditional; IBRS_FW; STIBP conditional; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected",
"Vulnerability Srbds: Not affected",
"Vulnerability Tsx async abort: Not affected"
]
},
"Exceptions": [
{
"exception": "MMCV==2.2.0 is used but incompatible. Please install mmcv>=2.0.0rc4, <2.2.0.",
"traceback": [
[
"/data/stable-diffusion-webui/modules/scripts.py, line 515, load_scripts",
"script_module = script_loading.load_module(scriptfile.path)"
],
[
"/data/stable-diffusion-webui/modules/script_loading.py, line 13, load_module",
"module_spec.loader.exec_module(module)"
],
[
", line 883, exec_module",
""
],
[
", line 241, _call_with_frames_removed",
""
],
[
"/data/stable-diffusion-webui/extensions/dddetailer/scripts/dddetailer.py, line 975, ",
"from mmdet.apis import inference_detector, init_detector"
],
[
"/data/stable-diffusion-webui/venv/lib/python3.10/site-packages/mmdet/init.py, line 17, ",
"and mmcv_version < digit_version(mmcv_maximum_version)), \"
]
]
}
],
"CPU": {
"model": "x86_64",
"count logical": 48,
"count physical": 24
},
"RAM": {
"total": "126GB",
"used": "7GB",
"free": "4GB",
"active": "21GB",
"inactive": "98GB",
"buffers": "696MB",
"cached": "114GB",
"shared": "192MB"
},
"Extensions": [
{
"name": "adetailer",
"path": "/data/stable-diffusion-webui/extensions/adetailer",
"commit": "8ddf919e1e5c234d6398e83f9cee6565acf550f3",
"branch": "main",
"remote": "https://github.com/Bing-su/adetailer.git"
},
{
"name": "canvas-zoom",
"path": "/data/stable-diffusion-webui/extensions/canvas-zoom",
"commit": "b9c3cff892d448f8825186500aeca710f243752a",
"branch": "main",
"remote": "https://github.com/richrobber2/canvas-zoom.git"
},
{
"name": "controlnet",
"path": "/data/stable-diffusion-webui/extensions/controlnet",
"commit": "",
"branch": null,
"remote": null
},
{
"name": "dddetailer",
"path": "/data/stable-diffusion-webui/extensions/dddetailer",
"commit": "f82fe8980ebc5c93f8b5c2c7a36133dc3422c098",
"branch": "master",
"remote": "https://github.com/Bing-su/dddetailer"
},
{
"name": "multidiffusion-upscaler-for-automatic1111",
"path": "/data/stable-diffusion-webui/extensions/multidiffusion-upscaler-for-automatic1111",
"commit": "22798f6822bc9c8a905b51da8954ee313b973331",
"branch": "main",
"remote": "https://github.com/pkuliyi2015/multidiffusion-upscaler-for-automatic1111.git"
},
{
"name": "sd-webui-aspect-ratio-helper",
"path": "/data/stable-diffusion-webui/extensions/sd-webui-aspect-ratio-helper",
"commit": "99fcf9b0a4e3f8c8cac07b12d17b66f12297b828",
"branch": "main",
"remote": "https://github.com/thomasasfk/sd-webui-aspect-ratio-helper.git"
},
{
"name": "sd-webui-controlnet",
"path": "/data/stable-diffusion-webui/extensions/sd-webui-controlnet",
"commit": "56cec5b2958edf3b1807b7e7b2b1b5186dbd2f81",
"branch": "main",
"remote": "https://github.com/Mikubill/sd-webui-controlnet.git"
},
{
"name": "sd-webui-infinite-image-browsing",
"path": "/data/stable-diffusion-webui/extensions/sd-webui-infinite-image-browsing",
"commit": "7215a4cadfc14151a3ef8e036ecb0ba8e27d8a68",
"branch": "main",
"remote": "https://github.com/zanllp/sd-webui-infinite-image-browsing.git"
},
{
"name": "sd-webui-inpaint-anything",
"path": "/data/stable-diffusion-webui/extensions/sd-webui-inpaint-anything",
"commit": "91568a8c5f581c15fd5439dba5e25bdc49c563b1",
"branch": "main",
"remote": "https://github.com/Uminosachi/sd-webui-inpaint-anything.git"
},
{
"name": "ultimate-upscale-for-automatic1111",
"path": "/data/stable-diffusion-webui/extensions/ultimate-upscale-for-automatic1111",
"commit": "2322caa480535b1011a1f9c18126d85ea444f146",
"branch": "master",
"remote": "https://github.com/Coyote-A/ultimate-upscale-for-automatic1111.git"
}
],
"Inactive extensions": [],
"Environment": {
"COMMANDLINE_ARGS": "--medvram --xformers --no-half-vae",
"GIT": "git",
"GRADIO_ANALYTICS_ENABLED": "False"
},
"Config": {
"samples_save": false,
"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,
"grid_zip_filename_pattern": "",
"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": 200,
"use_original_name_batch": true,
"use_upscaler_name_as_suffix": true,
"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 4x+",
"R-ESRGAN 4x+ Anime6B"
],
"upscaler_for_img2img": null,
"face_restoration_model": "CodeFormer",
"code_former_weight": 0.5,
"face_restoration_unload": false,
"show_warnings": true,
"memmon_poll_rate": 8,
"samples_log_stdout": false,
"multiple_tqdm": true,
"print_hypernet_extra": false,
"list_hidden_files": true,
"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": "v1-5-pruned-emaonly.safetensors [6ce0161689]",
"sd_checkpoint_cache": 0,
"sd_vae_checkpoint_cache": 0,
"sd_vae": "vaeFtMse840000EmaPruned_vaeFtMse840k.safetensors",
"sd_vae_as_default": true,
"sd_unet": "Automatic",
"inpainting_mask_weight": 1.0,
"initial_noise_multiplier": 1.0,
"img2img_color_correction": false,
"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",
"cross_attention_optimization": "Automatic",
"s_min_uncond": 0.0,
"token_merging_ratio": 0.0,
"token_merging_ratio_img2img": 0.0,
"token_merging_ratio_hr": 0.0,
"pad_cond_uncond": false,
"experimental_persistent_cond_cache": false,
"use_old_emphasis_implementation": false,
"use_old_karras_scheduler_sigmas": false,
"no_dpmpp_sde_batch_determinism": false,
"use_old_hires_fix_width_height": false,
"dont_fix_second_order_samplers_schedule": false,
"hires_fix_use_firstpass_conds": false,
"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": true,
"deepbooru_escape": true,
"deepbooru_filter_tags": "",
"extra_networks_show_hidden_directories": true,
"extra_networks_hidden_models": "Always",
"extra_networks_default_view": "cards",
"extra_networks_default_multiplier": 1.0,
"extra_networks_card_width": 300.0,
"extra_networks_card_height": 200.0,
"extra_networks_add_text_separator": " ",
"ui_extra_networks_tab_reorder": "",
"sd_hypernetwork": "None",
"localization": "None",
"gradio_theme": "Default",
"img2img_editor_height": 720,
"return_grid": true,
"return_mask": false,
"return_mask_composite": false,
"do_not_show_images": false,
"send_seed": true,
"send_size": true,
"font": "",
"js_modal_lightbox": true,
"js_modal_lightbox_initially_zoomed": true,
"js_modal_lightbox_gamepad": false,
"js_modal_lightbox_gamepad_repeat": 250,
"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_list": [
"sd_model_checkpoint",
"sd_vae",
"CLIP_stop_at_last_layers",
"face_restoration",
"save_images_before_face_restoration",
"face_restoration_model",
"img2img_color_correction",
"initial_noise_multiplier"
],
"ui_tab_order": [],
"hidden_tabs": [],
"ui_reorder_list": [],
"hires_fix_show_sampler": false,
"hires_fix_show_prompts": false,
"disable_token_counters": false,
"add_model_hash_to_info": true,
"add_model_name_to_info": true,
"add_version_to_infotext": true,
"disable_weights_auto_swap": true,
"infotext_styles": "Apply if any",
"show_progressbar": true,
"live_previews_enable": true,
"live_previews_image_format": "png",
"show_progress_grid": true,
"show_progress_every_n_steps": 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_tmin": 0.0,
"s_noise": 1.0,
"k_sched_type": "Automatic",
"sigma_min": 0.0,
"sigma_max": 0.0,
"rho": 0.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": [],
"disable_all_extensions": "none",
"restore_config_state_file": "",
"sd_checkpoint_hash": "6ce0161689b3853acaa03779ec93eafe75a02f4ced659bee03f50797806fa2fa",
"ldsr_steps": 100,
"ldsr_cached": false,
"SCUNET_tile": 256,
"SCUNET_tile_overlap": 8,
"SWIN_tile": 192,
"SWIN_tile_overlap": 8,
"lora_functional": false,
"sd_lora": "None",
"lora_preferred_name": "Alias from file",
"lora_add_hashes_to_infotext": true,
"extra_options": [],
"extra_options_accordion": false,
"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_disabled_functions": [
"Overlap"
],
"sd_vae_overrides_per_model_preferences": false,
"SWIN_torch_compile": false,
"hypertile_enable_unet": false,
"hypertile_enable_unet_secondpass": false,
"hypertile_max_depth_unet": 3,
"hypertile_max_tile_unet": 256,
"hypertile_swap_size_unet": 3,
"hypertile_enable_vae": false,
"hypertile_max_depth_vae": 3,
"hypertile_max_tile_vae": 128,
"hypertile_swap_size_vae": 3,
"save_images_replace_action": "Replace",
"grid_text_active_color": "#000000",
"grid_text_inactive_color": "#999999",
"grid_background_color": "#ffffff",
"save_incomplete_images": false,
"notification_audio": true,
"notification_volume": 100,
"auto_backcompat": true,
"use_old_scheduling": false,
"use_downcasted_alpha_bar": false,
"refiner_switch_by_sample_steps": false,
"extra_networks_dir_button_function": false,
"extra_networks_card_text_scale": 1,
"extra_networks_card_show_desc": true,
"extra_networks_card_description_is_html": false,
"extra_networks_card_order_field": "Path",
"extra_networks_card_order": "Ascending",
"extra_networks_tree_view_style": "Dirs",
"extra_networks_tree_view_default_enabled": true,
"extra_networks_tree_view_default_width": 180.0,
"textual_inversion_print_at_load": false,
"textual_inversion_add_hashes_to_infotext": true,
"lora_show_all": true,
"lora_hide_unknown_for_versions": [],
"lora_in_memory_limit": 0,
"lora_not_found_warning_console": true,
"lora_not_found_gradio_warning": true,
"pad_cond_uncond_v0": false,
"persistent_cond_cache": true,
"batch_cond_uncond": true,
"fp8_storage": "Disable",
"cache_fp16_weight": false,
"s_tmax": 0,
"sgm_noise_multiplier": false,
"sd_noise_schedule": "Default",
"sd_checkpoints_limit": 1,
"sd_checkpoints_keep_in_cpu": true,
"emphasis": "Original",
"tiling": false,
"hires_fix_refiner_pass": "second pass",
"enable_prompt_comments": true,
"sdxl_crop_top": 0.0,
"sdxl_crop_left": 0.0,
"sdxl_refiner_low_aesthetic_score": 2.5,
"sdxl_refiner_high_aesthetic_score": 6.0,
"auto_vae_precision_bfloat16": true,
"auto_vae_precision": false,
"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",
"img2img_batch_show_results_limit": 32,
"overlay_inpaint": true,
"sd_webui_modal_lightbox_icon_opacity": 1,
"sd_webui_modal_lightbox_toolbar_opacity": 0.9,
"gallery_height": "",
"open_dir_button_choice": "Subdirectory",
"add_vae_name_to_info": true,
"add_vae_hash_to_info": true,
"add_user_name_to_info": false,
"infotext_skip_pasting": [],
"live_preview_allow_lowvram_full": false,
"live_preview_fast_interrupt": false,
"js_live_preview_in_modal_lightbox": false,
"keyedit_delimiters_whitespace": [
"Tab",
"Carriage Return",
"Line Feed"
],
"keyedit_move": true,
"include_styles_into_token_counters": true,
"extra_options_txt2img": [],
"extra_options_img2img": [],
"extra_options_cols": 1,
"compact_prompt_box": false,
"sd_checkpoint_dropdown_use_short": false,
"txt2img_settings_accordion": false,
"img2img_settings_accordion": false,
"interrupt_after_current": true,
"gradio_themes_cache": true,
"enable_reloading_ui_scripts": false,
"api_enable_requests": true,
"api_forbid_local_requests": true,
"api_useragent": "",
"prioritized_callbacks_app_started": [],
"prioritized_callbacks_model_loaded": [],
"prioritized_callbacks_ui_settings": [],
"prioritized_callbacks_infotext_pasted": [],
"prioritized_callbacks_script_unloaded": [],
"prioritized_callbacks_before_ui": [],
"prioritized_callbacks_list_optimizers": [],
"prioritized_callbacks_before_token_counter": [],
"prioritized_callbacks_script_before_process": [],
"prioritized_callbacks_script_process": [],
"prioritized_callbacks_script_post_sample": [],
"prioritized_callbacks_script_on_mask_blend": [],
"prioritized_callbacks_script_postprocess_maskoverlay": [],
"auto_launch_browser": "Local",
"enable_console_prompts": false,
"show_gradio_deprecation_warnings": true,
"enable_upscale_progressbar": true,
"disable_mmap_load_safetensors": false,
"hide_ldm_prints": true,
"dump_stacks_on_signal": false,
"face_restoration": false,
"postprocessing_disable_in_extras": [],
"postprocessing_existing_caption_action": "Ignore",
"dat_enabled_models": [
"DAT x2",
"DAT x3",
"DAT x4"
],
"DAT_tile": 192,
"DAT_tile_overlap": 8,
"set_scale_by_when_changing_upscaler": false,
"canvas_hotkey_shrink_brush": "Q",
"canvas_hotkey_grow_brush": "W",
"canvas_auto_expand": true,
"canvas_blur_prompt": false,
"prioritized_callbacks_ui_tabs": [],
"arh_javascript_aspect_ratio_show": true,
"arh_javascript_aspect_ratio": "1:1, 3:2, 4:3, 5:4, 16:9",
"arh_ui_javascript_selection_method": "Aspect Ratios Dropdown",
"arh_hide_accordion_by_default": true,
"arh_expand_by_default": false,
"arh_ui_component_order_key": "MaxDimensionScaler, MinDimensionScaler, PredefinedAspectRatioButtons, PredefinedPercentageButtons",
"arh_show_max_width_or_height": false,
"arh_max_width_or_height": 1024.0,
"arh_show_min_width_or_height": false,
"arh_min_width_or_height": 1024.0,
"arh_show_predefined_aspect_ratios": false,
"arh_predefined_aspect_ratio_use_max_dim": false,
"arh_predefined_aspect_ratios": "1:1, 4:3, 16:9, 9:16, 21:9",
"arh_show_predefined_percentages": false,
"arh_predefined_percentages": "25, 50, 75, 125, 150, 175, 200",
"arh_predefined_percentages_display_key": "Incremental/decremental percentage (-50%, +50%)",
"dd_save_previews": false,
"outdir_ddetailer_previews": "extensions/dddetailer/outputs/masks-previews",
"dd_save_masks": false,
"outdir_ddetailer_masks": "extensions/dddetailer/outputs/masks",
"control_net_detectedmap_dir": "detected_maps",
"control_net_models_path": "",
"control_net_modules_path": "",
"control_net_unit_count": 3,
"control_net_model_cache_size": 2,
"control_net_inpaint_blur_sigma": 7,
"control_net_no_detectmap": false,
"control_net_detectmap_autosaving": false,
"control_net_allow_script_control": false,
"control_net_sync_field_args": true,
"controlnet_show_batch_images_in_ui": false,
"controlnet_increment_seed_during_batch": false,
"controlnet_disable_openpose_edit": false,
"controlnet_disable_photopea_edit": false,
"controlnet_photopea_warning": true,
"controlnet_ignore_noninpaint_mask": false,
"controlnet_clip_detector_on_cpu": false,
"controlnet_control_type_dropdown": false,
"ad_max_models": 4,
"ad_extra_models_dir": "",
"ad_save_previews": false,
"ad_save_images_before": false,
"ad_only_selected_scripts": true,
"ad_script_names": "dynamic_prompting,dynamic_thresholding,lora_block_weight,negpip,wildcard_recursive,wildcards",
"ad_bbox_sortby": "None",
"ad_same_seed_for_each_tab": false,
"prioritized_callbacks_after_component": [],
"prioritized_callbacks_on_reload": [],
"prioritized_callbacks_script_before_process_batch": [],
"prioritized_callbacks_script_postprocess": [],
"prioritized_callbacks_script_postprocess_batch": [],
"prioritized_callbacks_script_after_component": [],
"prioritized_callbacks_script_postprocess_image": [],
"canvas_zoom_undo_extra_key": "Ctrl",
"canvas_zoom_hotkey_undo": "Z",
"canvas_zoom_inc_brush_size": "]",
"canvas_zoom_dec_brush_size": "[",
"canvas_zoom_hotkey_open_colorpanel": "Q",
"canvas_zoom_hotkey_pin_colorpanel": "T",
"canvas_zoom_hotkey_dropper": "A",
"canvas_zoom_hotkey_fill": "X",
"canvas_zoom_hotkey_transparency": "C",
"canvas_zoom_hide_btn": true,
"canvas_zoom_mask_clear": true,
"canvas_zoom_enable_integration": true,
"canvas_zoom_brush_size": 200,
"canvas_zoom_brush_size_change": 5,
"canvas_zoom_transparency_level": 70,
"canvas_zoom_brush_opacity": false,
"canvas_zoom_inpaint_label": true,
"canvas_zoom_inpaint_warning": true,
"canvas_zoom_inpaint_change_btn_color": false,
"canvas_zoom_inpaint_btn_color": "#C33227",
"canvas_zoom_brush_outline": false,
"canvas_zoom_add_buttons": false,
"canvas_zoom_draw_staight_lines": false,
"canvas_zoom_inpaint_brushcolor": "#000000",
"canvas_zoom_disabled_functions": [
"Overlap"
],
"ad_save_images_dir": "",
"ad_dynamic_denoise_power": 0,
"ad_match_inpaint_bbox_size": "Off",
"inpaint_anything_save_folder": "inpaint-anything",
"inpaint_anything_sam_oncpu": false,
"inpaint_anything_offline_inpainting": false,
"inpaint_anything_padding_fill": 127,
"inpain_anything_sam_models_dir": ""
},
"Startup": {
"total": 71.07646226882935,
"records": {
"initial startup": 0.006743669509887695,
"prepare environment/checks": 0.00014019012451171875,
"prepare environment/git version info": 0.016297340393066406,
"prepare environment/torch GPU test": 2.610452651977539,
"prepare environment/clone repositores": 0.05684089660644531,
"prepare environment/install requirements": 4.551353693008423,
"prepare environment/run extensions installers/controlnet": 0.001188516616821289,
"prepare environment/run extensions installers/sd-webui-controlnet": 0.14631366729736328,
"prepare environment/run extensions installers/sd-webui-inpaint-anything": 5.030036687850952,
"prepare environment/run extensions installers/canvas-zoom": 2.4369723796844482,
"prepare environment/run extensions installers/dddetailer": 20.710227251052856,
"prepare environment/run extensions installers/sd-webui-aspect-ratio-helper": 0.0001430511474609375,
"prepare environment/run extensions installers/ultimate-upscale-for-automatic1111": 2.765655517578125e-05,
"prepare environment/run extensions installers/multidiffusion-upscaler-for-automatic1111": 2.3126602172851562e-05,
"prepare environment/run extensions installers/sd-webui-infinite-image-browsing": 0.2711906433105469,
"prepare environment/run extensions installers/adetailer": 5.347283363342285,
"prepare environment/run extensions installers": 33.94344687461853,
"prepare environment": 41.17867851257324,
"launcher": 0.0021791458129882812,
"import torch": 4.757909536361694,
"import gradio": 1.0641181468963623,
"setup paths": 1.707580804824829,
"import ldm": 0.0037512779235839844,
"import sgm": 5.4836273193359375e-06,
"initialize shared": 0.2651069164276123,
"other imports": 0.6259610652923584,
"opts onchange": 0.0006053447723388672,
"setup SD model": 9.799003601074219e-05,
"setup codeformer": 0.0008230209350585938,
"setup gfpgan": 0.007240772247314453,
"set samplers": 4.410743713378906e-05,
"list extensions": 0.002903461456298828,
"restore config state file": 1.52587890625e-05,
"list SD models": 0.026834487915039062,
"list localizations": 0.0003001689910888672,
"load scripts/custom_code.py": 0.004204988479614258,
"load scripts/detect_extension.py": 0.0006046295166015625,
"load scripts/img2imgalt.py": 0.0004169940948486328,
"load scripts/loopback.py": 0.00022220611572265625,
"load scripts/outpainting_mk_2.py": 0.0002722740173339844,
"load scripts/poor_mans_outpainting.py": 0.0002155303955078125,
"load scripts/postprocessing_codeformer.py": 0.0001819133758544922,
"load scripts/postprocessing_gfpgan.py": 0.00016450881958007812,
"load scripts/postprocessing_upscale.py": 0.0002722740173339844,
"load scripts/prompt_matrix.py": 0.000225067138671875,
"load scripts/prompts_from_file.py": 0.00023698806762695312,
"load scripts/sd_upscale.py": 0.000202178955078125,
"load scripts/xyz_grid.py": 0.002648591995239258,
"load scripts/ldsr_model.py": 0.420351505279541,
"load scripts/lora_script.py": 0.1832737922668457,
"load scripts/scunet_model.py": 0.027283668518066406,
"load scripts/swinir_model.py": 0.02671217918395996,
"load scripts/hotkey_config.py": 0.00019049644470214844,
"load scripts/extra_options_section.py": 0.00028014183044433594,
"load scripts/hypertile_script.py": 0.053967952728271484,
"load scripts/postprocessing_autosized_crop.py": 0.00022292137145996094,
"load scripts/postprocessing_caption.py": 0.0001900196075439453,
"load scripts/postprocessing_create_flipped_copies.py": 0.0001735687255859375,
"load scripts/postprocessing_focal_crop.py": 0.0009653568267822266,
"load scripts/postprocessing_split_oversized.py": 0.0001895427703857422,
"load scripts/soft_inpainting.py": 0.0004904270172119141,
"load scripts/!adetailer.py": 0.5497946739196777,
"load scripts/config.py": 0.00032830238342285156,
"load scripts/dddetailer.py": 16.50908327102661,
"load scripts/tilediffusion.py": 0.0053141117095947266,
"load scripts/tileglobal.py": 0.0011188983917236328,
"load scripts/tilevae.py": 0.0008006095886230469,
"load scripts/sd_webui_aspect_ratio_helper.py": 0.09862327575683594,
"load scripts/adapter.py": 0.00047659873962402344,
"load scripts/api.py": 0.3110339641571045,
"load scripts/batch_hijack.py": 0.0005223751068115234,
"load scripts/cldm.py": 0.001079559326171875,
"load scripts/controlnet.py": 0.5039541721343994,
"load scripts/controlnet_diffusers.py": 0.00034165382385253906,
"load scripts/controlnet_lllite.py": 0.00029468536376953125,
"load scripts/controlnet_lora.py": 0.0002913475036621094,
"load scripts/controlnet_model_guess.py": 0.0005085468292236328,
"load scripts/controlnet_sparsectrl.py": 0.00032448768615722656,
"load scripts/controlnet_version.py": 0.0001399517059326172,
"load scripts/enums.py": 0.002435445785522461,
"load scripts/external_code.py": 0.0001876354217529297,
"load scripts/global_state.py": 0.00030803680419921875,
"load scripts/hook.py": 0.0006806850433349609,
"load scripts/infotext.py": 0.00020742416381835938,
"load scripts/logging.py": 0.0004165172576904297,
"load scripts/lvminthin.py": 0.0006203651428222656,
"load scripts/movie2movie.py": 0.0002644062042236328,
"load scripts/supported_preprocessor.py": 0.0021371841430664062,
"load scripts/utils.py": 0.00033664703369140625,
"load scripts/xyz_grid_support.py": 0.0003867149353027344,
"load scripts/iib_setup.py": 0.10164618492126465,
"load scripts/inpaint_anything.py": 0.5150072574615479,
"load scripts/ultimate-upscale.py": 0.0007646083831787109,
"load scripts/comments.py": 0.0320131778717041,
"load scripts/refiner.py": 0.0002295970916748047,
"load scripts/sampler.py": 0.00019979476928710938,
"load scripts/seed.py": 0.000244140625,
"load scripts": 19.36632752418518,
"load upscalers": 0.0024099349975585938,
"refresh VAE": 0.001795053482055664,
"refresh textual inversion templates": 7.104873657226562e-05,
"scripts list_optimizers": 0.000644683837890625,
"scripts list_unets": 5.125999450683594e-05,
"reload hypernetworks": 0.0009043216705322266,
"initialize extra networks": 0.010030269622802734,
"scripts before_ui_callback": 0.00232696533203125,
"create ui": 1.5808982849121094,
"gradio launch": 0.33333706855773926,
"add APIs": 0.023990869522094727,
"app_started_callback/lora_script.py": 0.001112222671508789,
"app_started_callback/!adetailer.py": 0.0014429092407226562,
"app_started_callback/api.py": 0.014088869094848633,
"app_started_callback/iib_setup.py": 0.08627462387084961,
"app_started_callback": 0.10292911529541016
}
},
"Packages": [
"absl-py==2.1.0",
"accelerate==0.21.0",
"addict==2.4.0",
"aenum==3.1.15",
"aiofiles==23.2.1",
"aiohappyeyeballs==2.4.3",
"aiohttp==3.10.10",
"aiosignal==1.3.1",
"albumentations==1.4.3",
"aliyun-python-sdk-core==2.16.0",
"aliyun-python-sdk-kms==2.16.5",
"altair==5.4.1",
"antlr4-python3-runtime==4.9.3",
"anyio==3.7.1",
"async-timeout==4.0.3",
"attrs==24.2.0",
"av==13.1.0",
"basicsr==1.4.2",
"blendmodes==2022",
"certifi==2024.8.30",
"cffi==1.17.1",
"chardet==5.2.0",
"charset-normalizer==3.4.0",
"clean-fid==0.1.35",
"click==8.1.7",
"clip @ https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip#sha256=b5842c25da441d6c581b53a5c60e0c2127ebafe0f746f8e15561a006c6c3be6a",
"colorama==0.4.6",
"coloredlogs==15.0.1",
"colorlog==6.9.0",
"contourpy==1.3.0",
"controlnet-aux==0.0.9",
"crcmod==1.7",
"cryptography==43.0.3",
"cssselect2==0.7.0",
"cycler==0.12.1",
"Cython==3.0.11",
"deprecation==2.1.0",
"depth_anything @ https://github.com/huchenlei/Depth-Anything/releases/download/v1.0.0/depth_anything-2024.1.22.0-py2.py3-none-any.whl#sha256=26c1d38b8c3c306b4a2197d725a4b989ff65f7ebcf4fb5a96a1b6db7fbd56780",
"depth_anything_v2 @ https://github.com/MackinationsAi/UDAV2-ControlNet/releases/download/v1.0.0/depth_anything_v2-2024.7.1.0-py2.py3-none-any.whl#sha256=6848128867d1f7c7519d88df0f88bfab89100dc5225259c4d7cb90325c308c9f",
"diffusers==0.31.0",
"diskcache==5.6.3",
"dsine @ https://github.com/sdbds/DSINE/releases/download/1.0.2/dsine-2024.3.23-py3-none-any.whl#sha256=b9ea3bacce09f9b3f7fb4fa12471da7e465b2f9a60412711105a9238db280442",
"easydict==1.13",
"einops==0.4.1",
"embreex==2.17.7.post5",
"exceptiongroup==1.2.2",
"facexlib==0.3.0",
"fastapi==0.94.0",
"ffmpy==0.4.0",
"filelock==3.14.0",
"filterpy==1.4.5",
"flatbuffers==24.3.25",
"fonttools==4.54.1",
"frozenlist==1.5.0",
"fsspec==2024.10.0",
"ftfy==6.3.1",
"future==1.0.0",
"fvcore==0.1.5.post20221221",
"geffnet==1.0.2",
"gitdb==4.0.11",
"GitPython==3.1.32",
"glob2==0.5",
"gradio==3.41.2",
"gradio_client==0.5.0",
"grpcio==1.67.1",
"h11==0.12.0",
"handrefinerportable @ https://github.com/huchenlei/HandRefinerPortable/releases/download/v1.0.1/handrefinerportable-2024.2.12.0-py2.py3-none-any.whl#sha256=1e6c702905919f4c49bcb2db7b20d334e8458a7555cd57630600584ec38ca6a9",
"httpcore==0.15.0",
"httpx==0.24.1",
"huggingface-hub==0.26.2",
"humanfriendly==10.0",
"hydra-core==1.3.2",
"idna==3.10",
"imageio==2.36.0",
"importlib_metadata==8.5.0",
"importlib_resources==6.4.5",
"inflection==0.5.1",
"insightface==0.7.3",
"iopath==0.1.9",
"jax==0.4.35",
"jaxlib==0.4.35",
"Jinja2==3.1.4",
"jmespath==0.10.0",
"joblib==1.4.2",
"jsonmerge==1.8.0",
"jsonschema==4.23.0",
"jsonschema-specifications==2024.10.1",
"kiwisolver==1.4.7",
"kornia==0.6.7",
"lark==1.1.2",
"lazy_loader==0.4",
"lightning-utilities==0.11.8",
"llvmlite==0.43.0",
"lmdb==1.5.1",
"loguru==0.7.2",
"lxml==5.3.0",
"manifold3d==2.5.1",
"mapbox_earcut==1.0.2",
"Markdown==3.7",
"markdown-it-py==3.0.0",
"MarkupSafe==2.1.5",
"matplotlib==3.9.2",
"mdurl==0.1.2",
"mediapipe==0.10.15",
"ml_dtypes==0.5.0",
"mmcv==2.2.0",
"mmdet==3.3.0",
"mmengine==0.10.5",
"model-index==0.1.11",
"mpmath==1.3.0",
"multidict==6.1.0",
"narwhals==1.13.3",
"networkx==3.4.2",
"numba==0.60.0",
"numpy==1.26.2",
"omegaconf==2.2.3",
"onnx==1.17.0",
"onnxruntime-gpu==1.20.0",
"open-clip-torch==2.20.0",
"opencv-contrib-python==4.10.0.84",
"opencv-python==4.10.0.84",
"opencv-python-headless==4.10.0.84",
"opendatalab==0.0.10",
"openmim==0.3.9",
"openxlab==0.1.2",
"opt_einsum==3.4.0",
"ordered-set==4.1.0",
"orjson==3.10.11",
"oss2==2.17.0",
"packaging==24.2",
"pandas==2.2.3",
"piexif==1.1.3",
"Pillow==9.5.0",
"pillow-avif-plugin==1.4.3",
"pip==24.3.1",
"platformdirs==4.3.6",
"portalocker==2.10.1",
"prettytable==3.12.0",
"propcache==0.2.0",
"protobuf==4.25.5",
"psutil==5.9.5",
"py-cpuinfo==9.0.0",
"pycocotools==2.0.8",
"pycollada==0.8",
"pycparser==2.22",
"pycryptodome==3.21.0",
"pydantic==1.10.17",
"pydub==0.25.1",
"Pygments==2.18.0",
"pyparsing==3.2.0",
"python-dateutil==2.9.0.post0",
"python-dotenv==1.0.1",
"python-multipart==0.0.17",
"pytorch-lightning==1.9.4",
"pytz==2023.4",
"PyWavelets==1.7.0",
"PyYAML==6.0.2",
"referencing==0.35.1",
"regex==2024.11.6",
"reportlab==4.2.5",
"requests==2.28.2",
"resize-right==0.0.2",
"rich==13.4.2",
"rpds-py==0.21.0",
"Rtree==1.3.0",
"safetensors==0.4.2",
"scikit-image==0.21.0",
"scikit-learn==1.5.2",
"scipy==1.14.1",
"seaborn==0.13.2",
"segment-anything==1.0",
"semantic-version==2.10.0",
"sentencepiece==0.2.0",
"setuptools==60.2.0",
"shapely==2.0.6",
"six==1.16.0",
"smmap==5.0.1",
"sniffio==1.3.1",
"sounddevice==0.5.1",
"spandrel==0.3.4",
"spandrel_extra_arches==0.1.1",
"starlette==0.26.1",
"svg.path==6.3",
"svglib==1.5.1",
"sympy==1.13.3",
"tabulate==0.9.0",
"tb-nightly==2.19.0a20241110",
"tensorboard-data-server==0.7.2",
"termcolor==2.5.0",
"terminaltables==3.1.10",
"threadpoolctl==3.5.0",
"tifffile==2024.9.20",
"timm==0.6.7",
"tinycss2==1.4.0",
"tokenizers==0.13.3",
"tomesd==0.1.3",
"tomli==2.0.2",
"torch==2.1.2+cu121",
"torchdiffeq==0.2.3",
"torchmetrics==1.5.2",
"torchsde==0.2.6",
"torchvision==0.16.2+cu121",
"tqdm==4.65.2",
"trampoline==0.1.2",
"transformers==4.30.2",
"trimesh==4.5.2",
"triton==2.1.0",
"typing_extensions==4.12.2",
"tzdata==2024.2",
"ultralytics==8.3.28",
"ultralytics-thop==2.0.11",
"urllib3==1.26.20",
"uvicorn==0.32.0",
"vhacdx==0.0.8.post1",
"wcwidth==0.2.13",
"webencodings==0.5.1",
"websockets==11.0.3",
"Werkzeug==3.1.3",
"xatlas==0.0.9",
"xformers==0.0.23.post1",
"xxhash==3.5.0",
"yacs==0.1.8",
"yapf==0.40.2",
"yarl==1.17.1",
"zipp==3.21.0"
]
}

Console logs

Installing dependencies
.
.
Successfully uninstalled mmcv
Installing mmcv
AssertionError: 2.0.0rc4 is required

Additional information

none

@venzen venzen added the bug-report Report of a bug, yet to be confirmed label Nov 11, 2024
@venzen
Copy link
Author

venzen commented Nov 12, 2024

For now, I was able to stop this behavior by disabling the extension dddetailer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-report Report of a bug, yet to be confirmed
Projects
None yet
Development

No branches or pull requests

1 participant