Gourieff / sd-webui-reactor

Fast and Simple Face Swap Extension for StableDiffusion WebUI (A1111 SD WebUI, SD WebUI Forge, SD.Next, Cagliostro)
GNU Affero General Public License v3.0
2.31k stars 247 forks source link

Help me get my auto1111-reactor working again #442

Open Skettalee opened 2 months ago

Skettalee commented 2 months ago

First, confirm

What happened?

having trouble finding and installing the right things, constantly uninstalling and reinstalling different versions and worse part is I dont know what im doing and ask chatGPT for help and it constantly gets the answer wrong I dont know where to turn...

Steps to reproduce the problem

trying to do a faceswap with reactor auto1111

Sysinfo

{ "Platform": "Windows-10-10.0.22631-SP0", "Python": "3.10.6", "Version": "v1.9.3", "Commit": "1c0a0c4c26f78c32095ebc7f8af82f5c04fca8c0", "Script path": "G:\Sd\webui", "Data path": "G:\Sd\webui", "Extensions dir": "G:\Sd\webui\extensions", "Checksum": "695615e1945b6fd25fd077a7e07d64d51bbf54d3b7ffb39bcf1f66f5d571fe75", "Commandline": [ "launch.py", "--xformers", "--api" ], "Torch env info": { "torch_version": "2.1.2+cu121", "is_debug_build": "False", "cuda_compiled_version": "12.1", "gcc_version": null, "clang_version": null, "cmake_version": "version 3.28.1", "os": null, "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.22631-SP0", "is_cuda_available": "True", "cuda_runtime_version": "12.1.66\r", "cuda_module_loading": "LAZY", "nvidia_driver_version": "552.22", "nvidia_gpu_models": "GPU 0: NVIDIA GeForce RTX 2080 SUPER", "cudnn_version": null, "pip_version": "pip3", "pip_packages": [ "numpy==1.26.2", "open-clip-torch==2.20.0", "pytorch-lightning==1.9.4", "torch==2.1.2+cu121", "torchdiffeq==0.2.3", "torchmetrics==1.3.2", "torchsde==0.2.6", "torchvision==0.16.2+cu121" ], "conda_packages": null, "hip_compiled_version": "N/A", "hip_runtime_version": "N/A", "miopen_runtime_version": "N/A", "caching_allocator_config": "", "is_xnnpack_available": "True", "cpu_info": [ "'wmic' is not recognized as an internal or external command,", "operable program or batch file." ] }, "Exceptions": [], "CPU": { "model": "Intel64 Family 6 Model 151 Stepping 2, GenuineIntel", "count logical": 20, "count physical": 12 }, "RAM": { "total": "32GB", "used": "13GB", "free": "18GB" }, "Extensions": [ { "name": "Auto-Photoshop-StableDiffusion-Plugin", "path": "G:\Sd\webui\extensions\Auto-Photoshop-StableDiffusion-Plugin", "version": "6f6d4907", "branch": "master", "remote": "https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin.git" }, { "name": "StyleSelectorXL", "path": "G:\Sd\webui\extensions\StyleSelectorXL", "version": "d538b0c4", "branch": "main", "remote": "https://github.com/ahgsql/StyleSelectorXL.git" }, { "name": "Stylez", "path": "G:\Sd\webui\extensions\Stylez", "version": "f93f6623", "branch": "main", "remote": "https://github.com/javsezlol1/Stylez.git" }, { "name": "adetailer", "path": "G:\Sd\webui\extensions\adetailer", "version": "ebd69df3", "branch": "main", "remote": "https://github.com/Bing-su/adetailer.git" }, { "name": "clip-interrogator-ext", "path": "G:\Sd\webui\extensions\clip-interrogator-ext", "version": "0f1a4591", "branch": "main", "remote": "https://github.com/pharmapsychotic/clip-interrogator-ext.git" }, { "name": "openOutpaint-webUI-extension", "path": "G:\Sd\webui\extensions\openOutpaint-webUI-extension", "version": "6b1c4e0b", "branch": "main", "remote": "https://github.com/zero01101/openOutpaint-webUI-extension.git" }, { "name": "sd-webui-animatediff", "path": "G:\Sd\webui\extensions\sd-webui-animatediff", "version": "", "branch": null, "remote": null }, { "name": "sd-webui-aspect-ratio-helper", "path": "G:\Sd\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": "G:\Sd\webui\extensions\sd-webui-controlnet", "version": "36a310f5", "branch": "main", "remote": "https://github.com/Mikubill/sd-webui-controlnet.git" }, { "name": "sd-webui-extensions-updater", "path": "G:\Sd\webui\extensions\sd-webui-extensions-updater", "version": "c5e62333", "branch": "main", "remote": "https://github.com/Gourieff/sd-webui-extensions-updater" }, { "name": "sd-webui-infinite-image-browsing", "path": "G:\Sd\webui\extensions\sd-webui-infinite-image-browsing", "version": "cadbe81c", "branch": "main", "remote": "https://github.com/zanllp/sd-webui-infinite-image-browsing.git" }, { "name": "sd-webui-inpaint-anything", "path": "G:\Sd\webui\extensions\sd-webui-inpaint-anything", "version": "a980f40a", "branch": "main", "remote": "https://github.com/Uminosachi/sd-webui-inpaint-anything" }, { "name": "sd-webui-kohya-hiresfix", "path": "G:\Sd\webui\extensions\sd-webui-kohya-hiresfix", "version": "05af9874", "branch": "main", "remote": "https://github.com/wcde/sd-webui-kohya-hiresfix.git" }, { "name": "sd-webui-prompt-all-in-one", "path": "G:\Sd\webui\extensions\sd-webui-prompt-all-in-one", "version": "eb924ba5", "branch": "main", "remote": "https://github.com/Physton/sd-webui-prompt-all-in-one" }, { "name": "sd-webui-prompt-history", "path": "G:\Sd\webui\extensions\sd-webui-prompt-history", "version": "dad4e456", "branch": "main", "remote": "https://github.com/namkazt/sd-webui-prompt-history" }, { "name": "sd-webui-reactor", "path": "G:\Sd\webui\extensions\sd-webui-reactor", "version": "d2e78be2", "branch": "main", "remote": "https://github.com/Gourieff/sd-webui-reactor.git" }, { "name": "sd-webui-segment-anything", "path": "G:\Sd\webui\extensions\sd-webui-segment-anything", "version": "", "branch": null, "remote": null }, { "name": "stable-diffusion-webui-rembg", "path": "G:\Sd\webui\extensions\stable-diffusion-webui-rembg", "version": "a4c07b85", "branch": "master", "remote": "https://github.com/AUTOMATIC1111/stable-diffusion-webui-rembg.git" }, { "name": "stable-diffusion-webui-state", "path": "G:\Sd\webui\extensions\stable-diffusion-webui-state", "version": "b6b1b3ec", "branch": "main", "remote": "https://github.com/ilian6806/stable-diffusion-webui-state.git" }, { "name": "ultimate-upscale-for-automatic1111", "path": "G:\Sd\webui\extensions\ultimate-upscale-for-automatic1111", "version": "2322caa4", "branch": "master", "remote": "https://github.com/Coyote-A/ultimate-upscale-for-automatic1111.git" } ], "Inactive extensions": [ { "name": "sd-civitai-browser-plus", "path": "G:\Sd\webui\extensions\sd-civitai-browser-plus", "version": "", "branch": null, "remote": null } ], "Environment": { "COMMANDLINE_ARGS": " --xformers --api", "GRADIO_ANALYTICS_ENABLED": "False" }, "Config": { "samples_save": true, "samples_format": "png", "samples_filename_pattern": "[date]", "save_images_add_number": true, "save_images_replace_action": "Add number suffix", "grid_save": true, "grid_format": "png", "grid_extended_filename": true, "grid_only_if_multiple": true, "grid_prevent_empty_spots": false, "grid_zip_filename_pattern": "", "n_rows": -1, "font": "", "grid_text_active_color": "#000000", "grid_text_inactive_color": "#999999", "grid_background_color": "#ffffff", "save_images_before_face_restoration": false, "save_images_before_highres_fix": false, "save_images_before_color_correction": false, "save_mask": false, "save_mask_composite": false, "jpeg_quality": 80, "webp_lossless": false, "export_for_4chan": 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": false, "save_selected_only": true, "save_init_img": false, "temp_dir": "", "clean_temp_dir_at_start": false, "save_incomplete_images": false, "notification_audio": true, "notification_volume": 63, "outdir_samples": "", "outdir_txt2img_samples": "outputs/images", "outdir_img2img_samples": "outputs/images", "outdir_extras_samples": "outputs/images", "outdir_grids": "", "outdir_txt2img_grids": "outputs/grids", "outdir_img2img_grids": "outputs/grids", "outdir_save": "log/images", "outdir_init_images": "outputs/init-images", "save_to_dirs": false, "grid_save_to_dirs": false, "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": false, "face_restoration_model": "CodeFormer", "code_former_weight": 0.5, "face_restoration_unload": false, "auto_launch_browser": "Local", "enable_console_prompts": false, "show_warnings": false, "show_gradio_deprecation_warnings": true, "memmon_poll_rate": 8, "samples_log_stdout": false, "multiple_tqdm": true, "print_hypernet_extra": false, "list_hidden_files": true, "disable_mmap_load_safetensors": false, "hide_ldm_prints": true, "dump_stacks_on_signal": false, "api_enable_requests": true, "api_forbid_local_requests": true, "api_useragent": "", "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": "sd15\dreamshaper_8.safetensors [879db523c3]", "sd_checkpoints_limit": 1, "sd_checkpoints_keep_in_cpu": true, "sd_checkpoint_cache": 0, "sd_unet": "Automatic", "enable_quantization": false, "enable_emphasis": true, "enable_batch_seeds": true, "comma_padding_backtrack": 20, "CLIP_stop_at_last_layers": 2, "upcast_attn": true, "randn_source": "GPU", "tiling": false, "hires_fix_refiner_pass": "second pass", "sdxl_crop_top": 0, "sdxl_crop_left": 0, "sdxl_refiner_low_aesthetic_score": 2.5, "sdxl_refiner_high_aesthetic_score": 6.0, "sd_vae_checkpoint_cache": 0, "sd_vae": "Automatic", "sd_vae_overrides_per_model_preferences": true, "auto_vae_precision": true, "sd_vae_encode_method": "Full", "sd_vae_decode_method": "Full", "inpainting_mask_weight": 1.0, "initial_noise_multiplier": 1.0, "img2img_extra_noise": 0.0, "img2img_color_correction": false, "img2img_fix_steps": false, "img2img_background_color": "#ffffff", "img2img_editor_height": 720, "img2img_sketch_default_brush_color": "#ffffff", "img2img_inpaint_mask_brush_color": "#ffffff", "img2img_inpaint_sketch_default_brush_color": "#ffffff", "return_mask": false, "return_mask_composite": false, "img2img_batch_show_results_limit": 32, "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, "persistent_cond_cache": true, "batch_cond_uncond": true, "use_old_emphasis_implementation": false, "use_old_karras_scheduler_sigmas": false, "no_dpmpp_sde_batch_determinism": false, "use_old_hires_fix_width_height": false, "dont_fix_second_order_samplers_schedule": false, "hires_fix_use_firstpass_conds": false, "use_old_scheduling": false, "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_dir_button_function": false, "extra_networks_hidden_models": "When searched", "extra_networks_default_multiplier": 1.0, "extra_networks_card_width": 0, "extra_networks_card_height": 0, "extra_networks_card_text_scale": 1.0, "extra_networks_card_show_desc": true, "extra_networks_card_order_field": "Path", "extra_networks_card_order": "Ascending", "extra_networks_add_text_separator": " ", "ui_extra_networks_tab_reorder": "", "textual_inversion_print_at_load": false, "textual_inversion_add_hashes_to_infotext": true, "sd_hypernetwork": "None", "keyedit_precision_attention": 0.1, "keyedit_precision_extra": 0.05, "keyedit_delimiters": ".,\/!?%^*;:{}=`~() ", "keyedit_delimiters_whitespace": [ "Tab", "Carriage Return", "Line Feed" ], "keyedit_move": true, "disable_token_counters": false, "return_grid": true, "do_not_show_images": false, "js_modal_lightbox": true, "js_modal_lightbox_initially_zoomed": true, "js_modal_lightbox_gamepad": false, "js_modal_lightbox_gamepad_repeat": 250, "gallery_height": "", "compact_prompt_box": false, "samplers_in_dropdown": true, "dimensions_and_batch_together": true, "sd_checkpoint_dropdown_use_short": false, "hires_fix_show_sampler": false, "hires_fix_show_prompts": false, "txt2img_settings_accordion": false, "img2img_settings_accordion": false, "localization": "None", "quicksettings_list": [ "sd_model_checkpoint", "CLIP_stop_at_last_layers", "sd_vae" ], "ui_tab_order": [], "hidden_tabs": [], "ui_reorder_list": [ "image", "prompt", "sampler", "accordions", "dimensions", "cfg", "seed", "extra_options", "checkboxes", "inpaint", "batch", "scripts" ], "gradio_theme": "Default", "gradio_themes_cache": false, "show_progress_in_title": true, "send_seed": true, "send_size": true, "enable_pnginfo": true, "save_txt": false, "add_model_name_to_info": true, "add_model_hash_to_info": true, "add_vae_name_to_info": true, "add_vae_hash_to_info": true, "add_user_name_to_info": false, "add_version_to_infotext": true, "disable_weights_auto_swap": true, "infotext_skip_pasting": [], "infotext_styles": "Apply if any", "show_progressbar": true, "live_previews_enable": true, "live_previews_image_format": "png", "show_progress_grid": true, "show_progress_every_n_steps": 10, "show_progress_type": "Approx NN", "live_preview_allow_lowvram_full": false, "live_preview_content": "Prompt", "live_preview_refresh_period": 1000, "live_preview_fast_interrupt": false, "js_live_preview_in_modal_lightbox": false, "hide_samplers": [], "eta_ddim": 0.0, "eta_ancestral": 1.0, "ddim_discretize": "uniform", "s_churn": 0.0, "s_tmin": 0.0, "s_tmax": 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, "sgm_noise_multiplier": 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, "postprocessing_existing_caption_action": "Ignore", "disabled_extensions": [ "sd-civitai-browser-plus" ], "disable_all_extensions": "none", "restore_config_state_file": "", "sd_checkpoint_hash": "879db523c30d3b9017143d56705015e15a2cb5628762c11d086fed9538abd7fd", "ldsr_steps": 100, "ldsr_cached": false, "SCUNET_tile": 256, "SCUNET_tile_overlap": 8, "SWIN_tile": 192, "SWIN_tile_overlap": 8, "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, "styles_ui": "radio-buttons", "enable_styleselector_by_default": false, "use_aria2": false, "disable_dns": false, "show_log": false, "split_aria2": 64, "aria2_flags": "", "unpack_zip": true, "custom_api_key": "dee402bf397bd6cc4902433806b56953", "hide_early_access": true, "use_LORA": true, "insert_sub": true, "dot_subfolders": true, "page_header": false, "video_playback": true, "update_log": true, "image_location": "", "sub_image_location": true, "Checkpoint_subfolder": "None", "LORA_LoCon_subfolder": "None", "TextualInversion_subfolder": "None", "Poses_subfolder": "None", "Controlnet_subfolder": "None", "Hypernetwork_subfolder": "None", "MotionModule_subfolder": "None", "SWINIR_upscale_subfolder": "None", "REALESRGAN_upscale_subfolder": "None", "GFPGAN_upscale_subfolder": "None", "BSRGAN_upscale_subfolder": "None", "ESRGAN_upscale_subfolder": "None", "VAE_subfolder": "None", "AestheticGradient_subfolder": "None", "Wildcards_subfolder": "None", "Workflows_subfolder": "None", "Other_subfolder": "None", "deforum_keep_3d_models_in_vram": false, "deforum_enable_persistent_settings": false, "deforum_persistent_settings_path": "models/Deforum/deforum_persistent_settings.txt", "deforum_ffmpeg_location": "G:\Sd\stable-diffusion-webui\venv\lib\site-packages\imageio_ffmpeg\binaries\ffmpeg-win64-v4.2.2.exe", "deforum_ffmpeg_crf": 17, "deforum_ffmpeg_preset": "slow", "deforum_debug_mode_enabled": false, "deforum_save_gen_info_as_srt": false, "deforum_embed_srt": false, "deforum_save_gen_info_as_srt_params": [ "Noise Schedule" ], "deforum_preview": "Off", "deforum_preview_interval_frames": 100, "civitai_link_key": "", "civitai_link_logging": false, "civitai_api_key": "dee402bf397bd6cc4902433806b56953", "civitai_download_previews": true, "civitai_download_triggers": true, "civitai_nsfw_previews": true, "civitai_download_missing_models": true, "civitai_hashify_resources": true, "civitai_folder_model": "G:\Sd\ΩModels\Stable-diffusion", "civitai_folder_lora": "G:\Sd\ΩModels\Lora", "civitai_folder_lyco": "G:\Sd\ΩModels\LyCORIS", "state": [ "tabs" ], "state_txt2img": [ "prompt", "hires_denoising_strength", "cfg_scale", "seed", "negative_prompt", "extra_networks", "styles", "sampling", "sampling_steps", "width", "height", "batch_count", "batch_size", "restore_faces", "tiling", "hires_fix", "hires_upscaler", "hires_steps", "hires_scale", "hires_resize_x", "hires_resize_y", "script" ], "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", "script" ], "state_extensions": [ "control-net", "adetailer", "multidiffusion", "dynamic prompting" ], "ad_max_models": 2, "ad_extra_models_dir": "", "ad_save_previews": false, "ad_save_images_before": false, "ad_only_seleted_scripts": true, "ad_script_names": "dynamic_prompting,dynamic_thresholding,wildcard_recursive,wildcards,lora_block_weight,negpip", "ad_bbox_sortby": "Position (left to right)", "ad_same_seed_for_each_tap": false, "additional_networks_extra_lora_path": "", "additional_networks_sort_models_by": "name", "additional_networks_reverse_sort_order": false, "additional_networks_model_name_filter": "", "additional_networks_xy_grid_model_metadata": "", "additional_networks_hash_thread_count": 1, "additional_networks_back_up_model_when_saving": true, "additional_networks_show_only_safetensors": false, "additional_networks_show_only_models_with_metadata": "disabled", "additional_networks_max_top_tags": 20, "additional_networks_max_dataset_folders": 20, "animatediff_model_path": "G:\Sd\webui\extensions\sd-webui-animatediff\model", "animatediff_optimize_gif_palette": true, "animatediff_optimize_gif_gifsicle": false, "animatediff_mp4_crf": 23, "animatediff_mp4_preset": "fast", "animatediff_mp4_tune": "", "animatediff_webp_quality": 80, "animatediff_webp_lossless": false, "animatediff_save_to_custom": false, "animatediff_xformers": "Optimize attention layers with xformers", "animatediff_disable_lcm": false, "animatediff_s3_enable": false, "animatediff_s3_host": "", "animatediff_s3_port": "", "animatediff_s3_access_key": "", "animatediff_s3_secret_key": "", "animatediff_s3_storge_bucket": "", "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%)", "control_net_detectedmap_dir": "", "control_net_models_path": "", "control_net_modules_path": "", "control_net_unit_count": 3, "control_net_model_cache_size": 1, "control_net_inpaint_blur_sigma": 7, "control_net_no_detectmap": false, "control_net_detectmap_autosaving": true, "control_net_allow_script_control": true, "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, "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": "", "prompt_history_enabled": true, "prompt_history_data_path": "G:\Sd\webui\extensions\sd-webui-prompt-history\data", "prompt_history_preview_thumb_size_inline": 45.0, "prompt_history_items_per_page": 30.0, "prompt_history_automatic_save_info": true, "prompt_history_save_thumbnail": "thumbnail", "sam_use_local_groundingdino": false, "lora_functional": false, "sd_lora": "None", "lora_preferred_name": "Alias from file", "lora_add_hashes_to_infotext": true, "lora_show_all": false, "lora_hide_unknown_for_versions": [], "lora_in_memory_limit": 0, "extra_options_txt2img": [], "extra_options_img2img": [], "extra_options_cols": 1, "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_auto_expand": true, "canvas_blur_prompt": false, "canvas_disabled_functions": [ "Overlap" ], "controlnet_clip_detector_on_cpu": false, "animatediff_default_save_formats": [ "GIF", "PNG" ], "animatediff_frame_extract_path": "GIF", "animatediff_frame_extract_remove": false, "image_browser_active_tabs": "txt2img, img2img, txt2img-grids, img2img-grids, Extras, Favorites, Others, All, Maintenance", "image_browser_hidden_components": [], "image_browser_with_subdirs": true, "image_browser_preload": false, "image_browser_copy_image": false, "image_browser_delete_message": true, "image_browser_txt_files": true, "image_browser_debug_level": "0 - none", "image_browser_delete_recycle": true, "image_browser_scan_exif": true, "image_browser_mod_shift": false, "image_browser_mod_ctrl_shift": false, "image_browser_ranking_pnginfo": false, "image_browser_page_columns": 6, "image_browser_page_rows": 6, "image_browser_pages_perload": 20, "image_browser_height_auto": false, "image_browser_use_thumbnail": false, "image_browser_thumbnail_size": 200, "image_browser_thumbnail_crop": false, "image_browser_swipe": false, "image_browser_img_tooltips": true, "image_browser_show_progress": true, "image_browser_info_add": false, "image_browser_video_pos": "Above", "image_browser_video_x": 640, "image_browser_video_y": 640, "SWIN_torch_compile": false, "save_api_info": false, "auto_save_all_img": false, "use_local_html": false, "local_path_in_html": false, "individual_meta_btn": true, "model_desc_to_json": true, "civitai_not_found_print": true, "civitai_send_to_browser": false, "save_to_custom": false, "custom_civitai_proxy": "", "cabundle_path_proxy": "", "disable_sll_proxy": false, "insert_sub_1": false, "insert_sub_2": false, "insert_sub_3": false, "insert_sub_4": false, "insert_sub_5": false, "insert_sub_6": false, "insert_sub_7": false, "insert_sub_8": false, "insert_sub_9": false, "insert_sub_10": false, "insert_sub_11": false, "insert_sub_12": false, "insert_sub_13": false, "insert_sub_14": false, "controlnet_control_type_dropdown": false, "animatediff_default_frame_extract_method": "ffmpeg", "auto_backcompat": true, "use_downcasted_alpha_bar": false, "refiner_switch_by_sample_steps": false, "extra_networks_card_description_is_html": false, "extra_networks_tree_view_style": "Dirs", "extra_networks_tree_view_default_enabled": true, "extra_networks_tree_view_default_width": 180.0, "lora_not_found_warning_console": false, "lora_not_found_gradio_warning": false, "pad_cond_uncond_v0": false, "fp8_storage": "Disable", "cache_fp16_weight": false, "sd_noise_schedule": "Default", "emphasis": "Original", "enable_prompt_comments": true, "auto_vae_precision_bfloat16": false, "overlay_inpaint": true, "sd_webui_modal_lightbox_icon_opacity": 1, "sd_webui_modal_lightbox_toolbar_opacity": 0.9, "open_dir_button_choice": "Subdirectory", "include_styles_into_token_counters": true, "interrupt_after_current": true, "enable_reloading_ui_scripts": false, "prioritized_callbacks_app_started": [], "prioritized_callbacks_model_loaded": [], "prioritized_callbacks_ui_tabs": [], "prioritized_callbacks_ui_settings": [], "prioritized_callbacks_cfg_denoiser": [], "prioritized_callbacks_after_component": [], "prioritized_callbacks_infotext_pasted": [], "prioritized_callbacks_script_unloaded": [], "prioritized_callbacks_before_ui": [], "prioritized_callbacks_on_reload": [], "prioritized_callbacks_list_optimizers": [], "prioritized_callbacks_before_token_counter": [], "prioritized_callbacks_script_before_process": [], "prioritized_callbacks_script_process": [], "prioritized_callbacks_script_before_process_batch": [], "prioritized_callbacks_script_postprocess": [], "prioritized_callbacks_script_postprocess_batch": [], "prioritized_callbacks_script_postprocess_batch_list": [], "prioritized_callbacks_script_post_sample": [], "prioritized_callbacks_script_on_mask_blend": [], "prioritized_callbacks_script_postprocess_image": [], "prioritized_callbacks_script_postprocess_maskoverlay": [], "prioritized_callbacks_script_after_component": [], "enable_upscale_progressbar": true, "postprocessing_disable_in_extras": [], "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" }, "Startup": { "total": 28.433632612228394, "records": { "initial startup": 0.014999866485595703, "prepare environment/checks": 0.007012367248535156, "prepare environment/git version info": 0.039991140365600586, "prepare environment/torch GPU test": 1.513481616973877, "prepare environment/clone repositores": 0.13027715682983398, "prepare environment/run extensions installers/adetailer": 0.128098726272583, "prepare environment/run extensions installers/Auto-Photoshop-StableDiffusion-Plugin": 1.230452299118042, "prepare environment/run extensions installers/clip-interrogator-ext": 3.0403852462768555, "prepare environment/run extensions installers/openOutpaint-webUI-extension": 5.717806816101074, "prepare environment/run extensions installers/sd-webui-animatediff": 0.0, "prepare environment/run extensions installers/sd-webui-aspect-ratio-helper": 0.0, "prepare environment/run extensions installers/sd-webui-controlnet": 0.12056660652160645, "prepare environment/run extensions installers/sd-webui-extensions-updater": 0.0, "prepare environment/run extensions installers/sd-webui-infinite-image-browsing": 0.24352312088012695, "prepare environment/run extensions installers/sd-webui-inpaint-anything": 0.12202119827270508, "prepare environment/run extensions installers/sd-webui-kohya-hiresfix": 0.0, "prepare environment/run extensions installers/sd-webui-prompt-all-in-one": 0.12143850326538086, "prepare environment/run extensions installers/sd-webui-prompt-history": 0.0, "prepare environment/run extensions installers/sd-webui-reactor": 1.6733043193817139, "prepare environment/run extensions installers/sd-webui-segment-anything": 0.1183629035949707, "prepare environment/run extensions installers/stable-diffusion-webui-rembg": 0.11870622634887695, "prepare environment/run extensions installers/stable-diffusion-webui-state": 0.0, "prepare environment/run extensions installers/StyleSelectorXL": 0.0, "prepare environment/run extensions installers/Stylez": 0.0, "prepare environment/run extensions installers/ultimate-upscale-for-automatic1111": 0.0, "prepare environment/run extensions installers": 12.634665966033936, "prepare environment": 14.349435329437256, "launcher": 0.0019991397857666016, "import torch": 3.1552813053131104, "import gradio": 0.668806791305542, "setup paths": 0.8666269779205322, "import ldm": 0.003990650177001953, "import sgm": 0.0, "initialize shared": 0.23566102981567383, "other imports": 0.5352468490600586, "opts onchange": 0.0, "setup SD model": 0.0, "setup codeformer": 0.0009918212890625, "setup gfpgan": 0.010008096694946289, "set samplers": 0.0, "list extensions": 0.0019998550415039062, "restore config state file": 0.0, "list SD models": 0.0321502685546875, "list localizations": 0.0015130043029785156, "load scripts/custom_code.py": 0.005016326904296875, "load scripts/img2imgalt.py": 0.0009915828704833984, "load scripts/loopback.py": 0.0, "load scripts/outpainting_mk_2.py": 0.0009999275207519531, "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.0010080337524414062, "load scripts/prompt_matrix.py": 0.0, "load scripts/prompts_from_file.py": 0.0, "load scripts/sd_upscale.py": 0.0, "load scripts/xyz_grid.py": 0.0010001659393310547, "load scripts/ldsr_model.py": 0.3598449230194092, "load scripts/lora_script.py": 0.12900018692016602, "load scripts/scunet_model.py": 0.01352238655090332, "load scripts/swinir_model.py": 0.011227130889892578, "load scripts/hotkey_config.py": 0.0009925365447998047, "load scripts/extra_options_section.py": 0.0, "load scripts/hypertile_script.py": 0.02601480484008789, "load scripts/hypertile_xyz.py": 0.0, "load scripts/postprocessing_autosized_crop.py": 0.0, "load scripts/postprocessing_caption.py": 0.0, "load scripts/postprocessing_create_flipped_copies.py": 0.0009853839874267578, "load scripts/postprocessing_focal_crop.py": 0.0010082721710205078, "load scripts/postprocessing_split_oversized.py": 0.0, "load scripts/soft_inpainting.py": 0.0009915828704833984, "load scripts/main.py": 0.06469011306762695, "load scripts/test.py": 0.0, "load scripts/StyleSelectorXL.py": 0.01250004768371582, "load scripts/Stylez.py": 0.01900005340576172, "load scripts/promptgen.py": 0.0, "load scripts/!adetailer.py": 0.4623591899871826, "load scripts/clip_interrogator_ext.py": 0.03783845901489258, "load scripts/api.py": 0.8971807956695557, "load scripts/interface.py": 0.0, "load scripts/animatediff.py": 0.06353998184204102, "load scripts/animatediff_freeinit.py": 0.00047707557678222656, "load scripts/animatediff_i2ibatch.py": 0.0005819797515869141, "load scripts/animatediff_infotext.py": 0.0, "load scripts/animatediff_infv2v.py": 0.0, "load scripts/animatediff_latent.py": 0.0010402202606201172, "load scripts/animatediff_logger.py": 0.0, "load scripts/animatediff_mm.py": 0.0, "load scripts/animatediff_output.py": 0.0010042190551757812, "load scripts/animatediff_prompt.py": 0.0, "load scripts/animatediff_settings.py": 0.0, "load scripts/animatediff_ui.py": 0.0, "load scripts/animatediff_utils.py": 0.0010004043579101562, "load scripts/animatediff_xyz.py": 0.0, "load scripts/sd_webui_aspect_ratio_helper.py": 0.039999961853027344, "load scripts/adapter.py": 0.0009992122650146484, "load scripts/batch_hijack.py": 0.00099945068359375, "load scripts/cldm.py": 0.0, "load scripts/controlnet.py": 0.10073566436767578, "load scripts/controlnet_diffusers.py": 0.0009989738464355469, "load scripts/controlnet_lllite.py": 0.0, "load scripts/controlnet_lora.py": 0.0010004043579101562, "load scripts/controlnet_model_guess.py": 0.0, "load scripts/controlnet_sparsectrl.py": 0.0, "load scripts/controlnet_version.py": 0.0010008811950683594, "load scripts/enums.py": 0.001016378402709961, "load scripts/external_code.py": 0.0, "load scripts/global_state.py": 0.0009832382202148438, "load scripts/hook.py": 0.000156402587890625, "load scripts/infotext.py": 0.0004990100860595703, "load scripts/logging.py": 0.0, "load scripts/lvminthin.py": 0.0, "load scripts/movie2movie.py": 0.0010120868682861328, "load scripts/supported_preprocessor.py": 0.0010101795196533203, "load scripts/utils.py": 0.0, "load scripts/xyz_grid_support.py": 0.0, "load scripts/iib_setup.py": 0.03899049758911133, "load scripts/inpaint_anything.py": 0.3018317222595215, "load scripts/khrfix.py": 0.0009999275207519531, "load scripts/on_app_started.py": 0.031014442443847656, "load scripts/prompt_history_script.py": 0.14207673072814941, "load scripts/console_log_patch.py": 0.1555469036102295, "load scripts/reactor_api.py": 0.05953383445739746, "load scripts/reactor_faceswap.py": 0.0030007362365722656, "load scripts/reactor_globals.py": 0.0010111331939697266, "load scripts/reactor_helpers.py": 0.0009887218475341797, "load scripts/reactor_logger.py": 0.0, "load scripts/reactor_swapper.py": 0.001999378204345703, "load scripts/reactor_version.py": 0.0, "load scripts/reactor_xyz.py": 0.0, "load scripts/auto.py": 0.0009920597076416016, "load scripts/dino.py": 0.0010085105895996094, "load scripts/process_params.py": 0.0, "load scripts/sam.py": 0.029013395309448242, "load scripts/postprocessing_rembg.py": 0.0, "load scripts/state_api.py": 0.015003442764282227, "load scripts/state_settings.py": 0.015989303588867188, "load scripts/ultimate-upscale.py": 0.0, "load scripts/comments.py": 0.027089357376098633, "load scripts/refiner.py": 0.0, "load scripts/sampler.py": 0.0010004043579101562, "load scripts/seed.py": 0.0, "load scripts": 3.091318130493164, "load upscalers": 0.004007101058959961, "refresh VAE": 0.002000570297241211, "refresh textual inversion templates": 0.00099945068359375, "scripts list_optimizers": 0.0, "scripts list_unets": 0.0, "reload hypernetworks": 0.0009918212890625, "initialize extra networks": 0.008509635925292969, "scripts before_ui_callback": 0.0009996891021728516, "create ui": 2.3224563598632812, "gradio launch": 2.318918228149414, "add APIs": 0.44655418395996094, "app_started_callback/lora_script.py": 0.0, "app_started_callback/main.py": 0.0029878616333007812, "app_started_callback/clip_interrogator_ext.py": 0.0009999275207519531, "app_started_callback/api.py": 0.007998943328857422, "app_started_callback/iib_setup.py": 0.014550447463989258, "app_started_callback/on_app_started.py": 0.35463619232177734, "app_started_callback/reactor_api.py": 0.0010001659393310547, "app_started_callback/state_api.py": 0.0, "app_started_callback": 0.3821735382080078 } }, "Packages": [ "absl-py==2.1.0", "accelerate==0.21.0", "addict==2.4.0", "aenum==3.1.15", "aiofiles==23.2.1", "aiohttp==3.9.5", "aiosignal==1.3.1", "albumentations==1.4.3", "aliyun-python-sdk-alimt==3.2.0", "aliyun-python-sdk-core==2.13.10", "altair==5.3.0", "antlr4-python3-runtime==4.9.3", "anyio==3.7.1", "async-timeout==4.0.3", "attrs==23.2.0", "av==12.0.0", "blendmodes==2022", "boto3==1.34.98", "botocore==1.34.98", "brotli==1.1.0", "certifi==2024.2.2", "cffi==1.16.0", "chardet==5.2.0", "charset-normalizer==3.3.2", "clean-fid==0.1.35", "click==8.1.7", "clip-interrogator==0.6.0", "clip==1.0", "colorama==0.4.6", "coloredlogs==15.0.1", "colorlog==6.8.2", "contourpy==1.2.1", "cryptography==42.0.5", "cssselect2==0.7.0", "cycler==0.12.1", "cython==3.0.10", "defusedxml==0.7.1", "deprecation==2.1.0", "depth-anything==2024.1.22.0", "diffusers==0.27.2", "dill==0.3.8", "diskcache==5.6.3", "distro==1.9.0", "dsine==2024.3.23", "duckduckgo-search==3.9.9", "easydict==1.13", "einops==0.4.1", "embreex==2.17.7.post4", "exceptiongroup==1.2.1", "facexlib==0.3.0", "fastapi==0.94.0", "ffmpy==0.3.2", "filelock==3.14.0", "filterpy==1.4.5", "flatbuffers==24.3.25", "fonttools==4.51.0", "frozenlist==1.4.1", "fsspec==2024.3.1", "ftfy==6.2.0", "fvcore==0.1.5.post20221221", "geffnet==1.0.2", "gitdb==4.0.11", "gitpython==3.1.32", "glob2==0.5", "gradio-client==0.5.0", "gradio==3.41.2", "h11==0.12.0", "h2==4.1.0", "handrefinerportable==2024.2.12.0", "hpack==4.0.0", "httpcore==0.15.0", "httpx==0.24.1", "huggingface-hub==0.23.0", "humanfriendly==10.0", "hyperframe==6.0.1", "idna==3.7", "imageio==2.34.1", "importlib-metadata==7.1.0", "importlib-resources==6.4.0", "inflection==0.5.1", "insightface==0.7.3", "iopath==0.1.9", "jax==0.4.26", "jaxlib==0.4.26", "jinja2==3.1.3", "jmespath==0.10.0", "joblib==1.4.2", "jsonmerge==1.8.0", "jsonschema-specifications==2023.12.1", "jsonschema==4.22.0", "kiwisolver==1.4.5", "kornia==0.6.7", "lark==1.1.2", "lazy-loader==0.4", "lightning-utilities==0.11.2", "llvmlite==0.42.0", "loguru==0.7.2", "lxml==5.2.1", "mapbox-earcut==1.0.1", "markdown-it-py==3.0.0", "markupsafe==2.1.5", "matplotlib==3.8.4", "mdurl==0.1.2", "mediapipe==0.10.13", "ml-dtypes==0.4.0", "mpmath==1.3.0", "multidict==6.0.5", "multiprocess==0.70.16", "networkx==3.3", "numba==0.59.1", "numpy==1.26.2", "omegaconf==2.2.3", "onnx==1.16.0", "onnxruntime-gpu==1.17.1", "open-clip-torch==2.20.0", "openai==1.25.1", "opencv-contrib-python==4.9.0.80", "opencv-python-headless==4.9.0.80", "opencv-python==4.9.0.80", "opt-einsum==3.3.0", "orjson==3.10.3", "packaging==24.0", "pandas==2.2.2", "pathos==0.3.2", "piexif==1.1.3", "pillow-avif-plugin==1.4.3", "pillow==9.5.0", "pip==24.0", "platformdirs==4.2.1", "pooch==1.8.1", "portalocker==2.8.2", "pox==0.3.4", "ppft==1.7.6.8", "prettytable==3.10.0", "protobuf==3.20.3", "psutil==5.9.5", "py-cpuinfo==9.0.0", "pycocotools==2.0.7", "pycollada==0.8", "pycparser==2.22", "pydantic==1.10.15", "pydub==0.25.1", "pyexecjs==1.5.1", "pygments==2.17.2", "pymatting==1.1.12", "pyparsing==3.1.2", "pyreadline3==3.4.1", "python-dateutil==2.9.0.post0", "python-dotenv==1.0.1", "python-multipart==0.0.9", "pytorch-lightning==1.9.4", "pytz==2024.1", "pywavelets==1.6.0", "pywin32==306", "pyyaml==6.0.1", "referencing==0.35.1", "regex==2024.4.28", "rembg==2.0.50", "reportlab==4.2.0", "requests==2.31.0", "resize-right==0.0.2", "rich==13.7.1", "rpds-py==0.18.0", "rtree==1.2.0", "s3transfer==0.10.1", "safetensors==0.4.2", "scikit-image==0.21.0", "scikit-learn==1.4.2", "scipy==1.13.0", "seaborn==0.13.2", "segment-anything==1.0", "semantic-version==2.10.0", "sentencepiece==0.2.0", "setuptools==63.2.0", "shapely==2.0.4", "six==1.16.0", "smmap==5.0.1", "sniffio==1.3.1", "socksio==1.0.0", "sounddevice==0.4.6", "spandrel==0.1.6", "starlette==0.26.1", "supervision==0.20.0", "svg.path==6.3", "svglib==1.5.1", "sympy==1.12", "tabulate==0.9.0", "termcolor==2.4.0", "thop==0.1.1.post2209072238", "threadpoolctl==3.5.0", "tifffile==2024.5.3", "timm==0.9.16", "tinycss2==1.3.0", "tokenizers==0.13.3", "tomesd==0.1.3", "tomli==2.0.1", "toolz==0.12.1", "torch==2.1.2+cu121", "torchdiffeq==0.2.3", "torchmetrics==1.3.2", "torchsde==0.2.6", "torchvision==0.16.2+cu121", "tqdm==4.66.4", "trampoline==0.1.2", "transformers==4.30.2", "trimesh==4.3.2", "typing-extensions==4.11.0", "tzdata==2024.1", "ultralytics==8.2.8", "urllib3==2.2.1", "uvicorn==0.29.0", "vhacdx==0.0.6", "wcwidth==0.2.13", "webencodings==0.5.1", "websockets==11.0.3", "win32-setctime==1.1.0", "xatlas==0.0.9", "xformers==0.0.23.post1", "xxhash==3.4.1", "yacs==0.1.8", "yapf==0.40.2", "yarl==1.9.4", "zipp==3.18.1" ] }

Relevant console log

venv "G:\Sd\webui\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: v1.9.3
Commit hash: 1c0a0c4c26f78c32095ebc7f8af82f5c04fca8c0
[Auto-Photoshop-SD] Attempting auto-update...
[Auto-Photoshop-SD] switch branch to extension branch.
checkout_result: Your branch is up to date with 'origin/master'.

[Auto-Photoshop-SD] Current Branch.
branch_result: * master

[Auto-Photoshop-SD] Fetch upstream.
fetch_result:
[Auto-Photoshop-SD] Pull upstream.
pull_result: Already up to date.
CUDA 12.1
Launching Web UI with arguments: --xformers --api
python_server_full_path:  G:\Sd\webui\extensions\Auto-Photoshop-StableDiffusion-Plugin\server/python_server
[-] ADetailer initialized. version: 24.1.1, num models: 9
ControlNet preprocessor location: G:\Sd\webui\extensions\sd-webui-controlnet\annotator\downloads
2024-05-04 06:27:36,909 - ControlNet - INFO - ControlNet v1.1.446
2024-05-04 06:27:36,995 - ControlNet - INFO - ControlNet v1.1.446
sd-webui-prompt-all-in-one background API service started successfully.
06:27:37 - ReActor - STATUS - Running v0.7.0-b7 on Device: CUDA
Loading weights [879db523c3] from G:\Sd\webui\models\Stable-diffusion\sd15\dreamshaper_8.safetensors
Creating model from config: G:\Sd\webui\configs\v1-inference.yaml
2024-05-04 06:27:38,877 - ControlNet - INFO - ControlNet UI callback registered.
Applying attention optimization: xformers... done.
Model loaded in 2.2s (create model: 0.4s, apply weights to model: 1.5s, load textual inversion embeddings: 0.1s).
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
IIB Database file has been successfully backed up to the backup folder.
Startup time: 28.7s (prepare environment: 14.5s, import torch: 3.2s, import gradio: 0.7s, setup paths: 0.9s, initialize shared: 0.3s, other imports: 0.5s, load scripts: 3.0s, create ui: 2.4s, gradio launch: 2.3s, add APIs: 0.5s, app_started_callback: 0.4s).
100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:01<00:00,  1.31s/it]
06:28:30 - ReActor - STATUS - Working: source face index [0], target face index [0]                                                               | 0/1 [00:00<?, ?it/s]
06:28:30 - ReActor - STATUS - Using Loaded Source Face Model: Casey 00.safetensors
06:28:30 - ReActor - STATUS - Analyzing Target Image...
2024-05-04 06:28:30.6340554 [E:onnxruntime:Default, provider_bridge_ort.cc:1548 onnxruntime::TryGetProviderInfo_CUDA] D:\a\_work\1\s\onnxruntime\core\session\provider_bridge_ort.cc:1209 onnxruntime::ProviderLibrary::Get [ONNXRuntimeError] : 1 : FAIL : LoadLibrary failed with error 126 "" when trying to load "G:\Sd\webui\venv\lib\site-packages\onnxruntime\capi\onnxruntime_providers_cuda.dll"

*************** EP Error ***************
EP Error D:\a\_work\1\s\onnxruntime\python\onnxruntime_pybind_state.cc:857 onnxruntime::python::CreateExecutionProviderInstance CUDA_PATH is set but CUDA wasnt able to be loaded. Please install the correct version of CUDA andcuDNN as mentioned in the GPU requirements page  (https://onnxruntime.ai/docs/execution-providers/CUDA-ExecutionProvider.html#requirements),  make sure they're in the PATH, and that your GPU is supported.
 when using ['CUDAExecutionProvider']
Falling back to ['CUDAExecutionProvider', 'CPUExecutionProvider'] and retrying.
****************************************
2024-05-04 06:28:30.9831473 [E:onnxruntime:Default, provider_bridge_ort.cc:1548 onnxruntime::TryGetProviderInfo_CUDA] D:\a\_work\1\s\onnxruntime\core\session\provider_bridge_ort.cc:1209 onnxruntime::ProviderLibrary::Get [ONNXRuntimeError] : 1 : FAIL : LoadLibrary failed with error 126 "" when trying to load "G:\Sd\webui\venv\lib\site-packages\onnxruntime\capi\onnxruntime_providers_cuda.dll"

*** Error running postprocess_image: G:\Sd\webui\extensions\sd-webui-reactor\scripts\reactor_faceswap.py
    Traceback (most recent call last):
      File "G:\Sd\webui\venv\lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 419, in __init__
        self._create_inference_session(providers, provider_options, disabled_optimizers)
      File "G:\Sd\webui\venv\lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 483, in _create_inference_session
        sess.initialize_session(providers, provider_options, disabled_optimizers)
    RuntimeError: D:\a\_work\1\s\onnxruntime\python\onnxruntime_pybind_state.cc:857 onnxruntime::python::CreateExecutionProviderInstance CUDA_PATH is set but CUDA wasnt able to be loaded. Please install the correct version of CUDA andcuDNN as mentioned in the GPU requirements page  (https://onnxruntime.ai/docs/execution-providers/CUDA-ExecutionProvider.html#requirements),  make sure they're in the PATH, and that your GPU is supported.

    The above exception was the direct cause of the following exception:

    Traceback (most recent call last):
      File "G:\Sd\webui\modules\scripts.py", line 897, in postprocess_image
        script.postprocess_image(p, pp, *script_args)
      File "G:\Sd\webui\extensions\sd-webui-reactor\scripts\reactor_faceswap.py", line 450, in postprocess_image
        result, output, swapped = swap_face(
      File "G:\Sd\webui\extensions\sd-webui-reactor\scripts\reactor_swapper.py", line 594, in swap_face
        target_faces = analyze_faces(target_img, det_thresh=detection_options.det_thresh, det_maxnum=detection_options.det_maxnum)
      File "G:\Sd\webui\extensions\sd-webui-reactor\scripts\reactor_swapper.py", line 302, in analyze_faces
        face_analyser = copy.deepcopy(getAnalysisModel())
      File "G:\Sd\webui\extensions\sd-webui-reactor\scripts\reactor_swapper.py", line 145, in getAnalysisModel
        ANALYSIS_MODEL = insightface.app.FaceAnalysis(
      File "G:\Sd\webui\extensions\sd-webui-reactor\scripts\console_log_patch.py", line 48, in patched_faceanalysis_init
        model = model_zoo.get_model(onnx_file, **kwargs)
      File "G:\Sd\webui\venv\lib\site-packages\insightface\model_zoo\model_zoo.py", line 96, in get_model
        model = router.get_model(providers=providers, provider_options=provider_options)
      File "G:\Sd\webui\extensions\sd-webui-reactor\scripts\console_log_patch.py", line 21, in patched_get_model
        session = PickableInferenceSession(self.onnx_file, **kwargs)
      File "G:\Sd\webui\venv\lib\site-packages\insightface\model_zoo\model_zoo.py", line 25, in __init__
        super().__init__(model_path, **kwargs)
      File "G:\Sd\webui\venv\lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 432, in __init__
        raise fallback_error from e
      File "G:\Sd\webui\venv\lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 427, in __init__
        self._create_inference_session(self._fallback_providers, None)
      File "G:\Sd\webui\venv\lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 483, in _create_inference_session
        sess.initialize_session(providers, provider_options, disabled_optimizers)
    RuntimeError: D:\a\_work\1\s\onnxruntime\python\onnxruntime_pybind_state.cc:857 onnxruntime::python::CreateExecutionProviderInstance CUDA_PATH is set but CUDA wasnt able to be loaded. Please install the correct version of CUDA andcuDNN as mentioned in the GPU requirements page  (https://onnxruntime.ai/docs/execution-providers/CUDA-ExecutionProvider.html#requirements),  make sure they're in the PATH, and that your GPU is supported.

Additional information

I have installed Cuda 12.1, and cudnn 9.1.1 and my environtment variables are: User Variables OneDrive C:\Users\damie\OneDrive PAI_MODEL_DIR C:\ProgramData\Topaz Labs LLC\Topaz Photo AI\models Path C:\Users\damie\AppData\Local\Programs\Python\Python310\Scripts\ C:\Users\damie\AppData\Local\Programs\Python\Python310\ G:\Sd\ComfyUI\python_embeded\Scripts G:\Sd\ComfyUI\python_embeded\ C:\Users\damie\AppData\Local\Microsoft\WindowsApps C:\Program Files\Advanced Renamer C:\Users\damie\AppData\Local\Microsoft\WinGet\Links C:\Windows\System32\wbem C:\Program Files\PowerShell\7 TEMP C:\Users\damie\AppData\Local\Temp TMP C:\Users\damie\AppData\Local\Temp Machine Variables __PSLockDownPolicy 0 ComSpec C:\WINDOWS\system32\cmd.exe CUDA_PATH C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.1 CUDA_PATH_V12_1 C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.1 CUDNN C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.1\bin INTEL_DEV_REDIST C:\Program Files (x86)\Common Files\Intel\Shared Libraries\ NUMBER_OF_PROCESSORS 20 NVAFX_SDK_DIR C:\Program Files\NVIDIA Corporation\NVIDIA Audio Effects SDK NVTOOLSEXT_PATH C:\Program Files\NVIDIA Corporation\NvToolsExt\ NVVFX_MODEL_DIR C:\Program Files\NVIDIA Corporation\NVIDIA Video Effects\models OS Windows_NT PAI_MODEL_DIR C:\ProgramData\Topaz Labs LLC\Topaz Photo AI\models path C:\Program Files\NVIDIA\CUDNN\v9.1\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.1\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.1\libnvvp;C:\Program Files;C:\Program Files\dotnet\;C:\Program Files\nodejs\;C:\Program Files\gs\gs10.02.1\bin;C:\Program Files\PowerShell\7;C:\Program Files\Java\jdk-21.0.2\bin;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\compiler;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS\System32\Wbem;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;D:_Damien\Portable Appz\Design Tools\Ffmpeg 2020\bin;C:\Program Files\NVIDIA Corporation\Nsight Compute 2023.1.0\;C:\Program Files\Git\cmd; PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC POWERSHELL_DISTRIBUTION_CHANNEL MSI:Windows 10 Pro PROCESSOR_ARCHITECTURE AMD64 PROCESSOR_IDENTIFIER Intel64 Family 6 Model 151 Stepping 2, GenuineIntel PROCESSOR_LEVEL 6 PROCESSOR_REVISION 9702 PSModulePath %ProgramFiles%\PowerShell\7\Modules %ProgramFiles%\WindowsPowerShell\Modules RG_GPU_FRAMEWORK_ENGINE_RESOURCEDIR %ProgramFiles%\Red Giant\RGFX RG_UNIVERSE_FRAMEWORK_RESOURCEDIR %ProgramFiles%\Red Giant\RGFX TEMP C:\WINDOWS\TEMP TMP C:\WINDOWS\TEMP USERNAME SYSTEM windir C:\WINDOWS

I dont know what more may be needed in order to help .. let me know and ill add that too!

Gourieff commented 2 months ago

You probably have ORT-GPU for CUDA 11.8 but not for CUDA 12.x Just remove the onnxruntime and onnxruntime_gpu-1.17.1.dist-info folders from the SD\system\python\Lib\site-packages and let ReActor to install ORT-GPU again

G-Grifflu commented 1 month ago

You probably have ORT-GPU for CUDA 11.8 but not for CUDA 12.x Just remove the onnxruntime and onnxruntime_gpu-1.17.1.dist-info folders from the SD\system\python\Lib\site-packages and let ReActor to install ORT-GPU again

Tried it but it doesn't work. Those two folders are reinstalled by ControlNet when starting WebUI.