AUTOMATIC1111 / stable-diffusion-webui

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

[Bug]: conda命令行启动stable diffusion,开启并加载拓展 #14661

Closed bsszds closed 8 months ago

bsszds commented 8 months ago

Checklist

What happened?

本地下载了两个拓展并放置在对应的extensions位置 image 用condam命令行启动stable diffusion image 提示拓展选项被禁用。 全网我也没找到有解决方案说命令行启动方式能开启拓展选项。 设置界面没有其他选择了 image

Steps to reproduce the problem

如上面的所述

What should have happened?

能有什么选项支持开启拓展呀?还是有什么命令直接添加,而不是添加到Windows的.bat文件。

What browsers do you use to access the UI ?

Google Chrome

Sysinfo

sysinfo-2024-01-16-13-16.json

Console logs

(base) C:\Users\bsszds>conda activate sdui

(sdui) C:\Users\bsszds>d:

(sdui) D:\>cd D:\stable-diffusion-webui-1.7.0

(sdui) D:\stable-diffusion-webui-1.7.0>python launch.py
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
Python 3.10.6 | packaged by conda-forge | (main, Oct 24 2022, 16:02:16) [MSC v.1916 64 bit (AMD64)]
Version: 1.7.0
Commit hash: <none>
Launching Web UI with arguments:
no module 'xformers'. Processing without...
no module 'xformers'. Processing without...
No module 'xformers'. Proceeding without it.
Style database not found: D:\stable-diffusion-webui-1.7.0\styles.csv
*** "Disable all extensions" option was set, will not load any extensions ***
Loading weights [6ce0161689] from D:\stable-diffusion-webui-1.7.0\models\Stable-diffusion\v1-5-pruned-emaonly.safetensors
Creating model from config: D:\stable-diffusion-webui-1.7.0\configs\v1-inference.yaml
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Startup time: 11.4s (prepare environment: 2.5s, import torch: 4.1s, import gradio: 1.2s, setup paths: 0.9s, initialize shared: 0.3s, other imports: 0.6s, setup codeformer: 0.2s, scripts list_optimizers: 0.8s, create ui: 0.4s, gradio launch: 0.4s).
Applying attention optimization: Doggettx... done.
Model loaded in 4.0s (load weights from disk: 0.5s, create model: 0.3s, apply weights to model: 2.5s, load textual inversion embeddings: 0.2s, calculate empty prompt: 0.2s).

Additional information

全部更新了GPU驱动

w-e-w commented 8 months ago

image

bsszds commented 8 months ago

感谢感谢!!!~~~~ 早上又自己咨询了chatgpt写了自己的一个集合指令的.bat命令放在webui文件下 image 执行记录 image