首先前面的步骤中stable-diffusion已经创建了一个虚拟环境,拿到这个虚拟环境的python路径,比如是:D:\ai\stable-diffusion-webui\venv\Scripts\Python.exe 在执行上面那篇文章中的命令时,要变成 D:\ai\stable-diffusion-webui\venv\Scripts\Python.exe -m pip install basicsr facexlib D:\ai\stable-diffusion-webu...
最后运行webui-user.bat可能遇到python版本不符合运行torch的情况,如下: PS E:\aigc\stable-diffusion-webui> venv/Scripts/activate (venv) PS E:\aigc\stable-diffusion-webui> webui-user.bat webui-user.bat: The term 'webui-user.bat' is not recognized as a name of a cmdlet, function, scri...
启动webui-user.bat 启动无错误,在浏览器中打开http://127.0.0.1:7860 系统只有一个python环境 直接双击webui-user.bat conda启动 在安装目录上方地址栏输入cmd 在命令行中输入以下命令,回车激活前面创建的python310环境 activate py310 执行webui-user.bat 输入.\webui-user.bat并回车 访问web页面 在浏览器地址...
conda create -n stableDiffusionWebui python=3.10.6 conda activate stableDiffusionWebui 下载大模型,可以去https://hf-mirror.com/ 然后放到models/Stable-diffusion 默认需要电脑支持gpu,而且代码会下载最新的torch,先去https://pytorch.org/get-started/locally/找到符合自己电脑的torch,再修改源码,找到 prepare_e...
I am getting two different errors when I try to launch the webui.bat file from windows explorer. First one is this: Couldn't launch python exit code: 9009 stderr: Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > ...
launch to start the app #export LAUNCH_SCRIPT="launch.py" # install command for torch #export TORCH_COMMAND="pip install torch==1.12.1+cu113 --extra-index-url https://download.pytorch.org/whl/cu113" # Requirements file to use for stable-diffusion-webui #export REQS_FILE="requirements_...
简介:stable-diffusion-webui 更换 Python 版本 一、原因 stable-diffusion-webui 推荐版本是 Python 3.10 ,如果电脑中安装了其他版本到Python,会警告推荐使用Python 3.10版本。 官方安装教程 Automatic Installation on Windows 1.Install Python 3.10.6 (Newer version of Python does not support ...
如果系统之前安装过Python3.10或者使用过Pytorch深度学习框架,那么推荐直接本地安装Stable-Diffusion-Webui,因为Stable-Diffusion的核心依赖库也是Pytorch。 首先拉取官方的项目: 随后进入项目的目录: 官方文档建议直接在目录中运行shell脚本: 但事实上,shell脚本很容易在过程中报错,该项目的核心代码其实是launch.py,所以理论...
Moved to F:\stable-diffusion-webui Let me know if this works on your side. Hello, I get the same issue and solved it by moving the 'stable-diffusion-webui' folder in a shorter path. Was in F:\Users\UserName\Documents\StableDiffusion\stable-diffusion-webui Moved to F:\stable-diffusion...
UI-aki-v1.4\python\Lib\site-packages\bitsandbytes\autograd\_functions.py", line 462, in forward output = torch.nn.functional.linear(A, F.dequantize_4bit(B, quant_state).to(A.dtype).t(), bias) ^^^ File "E:\ComfyUI-aki-v1.4\python\Lib\site-packages\bitsandbytes\functional.py", l...