本帖最后由 rafavi 于 2025-5-3 11:19 编辑
1. 从v1.0.0-pre下载sd.webui.zip(stable-diffusion-webui) (这个用不到)
Note:The webui.zip is a binary distribution for people who can't install python and git.
Everything is included - just double click run.bat to launch.
No requirements apart from Windows 10. NVIDIA only.
After running once, should be possible to copy the installation to another computer and launch there offline.
2.安装stable-diffusion-webui
Installation on Windows 10/11 with NVidia-GPUs using release package
- Download sd.webui.zip from v1.0.0-pre and extract its contents.
- Run update.bat.
- Run run.bat.
Automatic Installation on Windows
Windows
- git clone https://github.com/openvinotoolkit/stable-diffusion-webui.git
- cd stable-diffusion-webui
- webui-user.bat
复制代码
- Use the OpenVINO custom script by following the instructions here
Notes: - The steps above will create a virtual environment and install the required packages into this environment. If you want to use your own virtual environment to run Stable Diffusion WebUI, please update VENV_DIR= lines to VENV_DIR=- in first-time-runner.bat and torch-install.ps1 files.
- PyTorch doesn't support torch.compile officially on windows yet. Launching torch-install.bat installs PyTorch and enables torch.compile for OpenVINO backend.
Enabling Public Access
To enable public access, please add "--share --listen" arguments into the COMMANLINE_ARGUMENTS variable (On Windows, you can do this by updating webui-user.bat file).
3.安装Deforum
git clone https://github.com/deforum-art/sd-webui-deforum extensions/deforum
git clone https://github.com/deforum-art/sd-webui-deforum extensions/deforum
Or download this repository, locate the extensions folder within your WebUI installation, create a folder named deforum and put the contents of the downloaded directory inside of it. Then restart WebUI. Or launch A1111, navigate to the Extensions tab, choose Available, find deforum in the list of available extensions and install it. Restart A1111 once the extension has been installed. 3. Open the webui, find the Deforum tab at the top of the page. Enter the animation settings. Refer to this general guide and this guide to math keyframing functions in Deforum. However, in this version prompt weights less than zero don't just like in original Deforum! Split the positive and the negative prompt in the json section using --neg argument like this "apple:`where(cos(t)>=0, cos(t), 0)`, snow --neg strawberry:`where(cos(t)<0, -cos(t), 0)`" To view animation frames as they're being made, without waiting for the completion of an animation, go to the 'Settings' tab and set the value of this toolbar above zero. Warning: it may slow down the generation process.
 Run the script and see if you got it working or even got something. In 3D mode a large delay is expected at first as the script loads the depth models. In the end, using the default settings the whole thing should consume 6.4 GBs of VRAM at 3D mode peaks and no more than 3.8 GB VRAM in 3D mode if you launch the webui with the '--lowvram' command line argument. After the generation process is completed, click the button with the self-describing name to show the video or gif result right in the GUI!
- There's also the 'Issues' tab in the repo, for well... reporting issues ;)
|