找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz
查看: 485|回复: 1

Windows 安装Deforum

[复制链接]

93

主题

29

回帖

546

积分

高级会员

积分
546
发表于 2025-5-2 15:15:38 | 显示全部楼层 |阅读模式
本帖最后由 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
  1. git clone https://github.com/openvinotoolkit/stable-diffusion-webui.git
  2. cd stable-diffusion-webui
  3. 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


  • Now two ways: either clone the repo into the extensions directory via git commandline launched within in the stable-diffusion-webui folder

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!
  • Join our Discord where you can post generated stuff, ask questions and more: https://discord.gg/deforum.

  • There's also the 'Issues' tab in the repo, for well... reporting issues ;)
  • Profit!


回复

使用道具 举报

93

主题

29

回帖

546

积分

高级会员

积分
546
 楼主| 发表于 2025-5-2 16:32:46 | 显示全部楼层
本帖最后由 rafavi 于 2025-5-3 09:59 编辑

Intel 的 与Nvidia的不同,因为CUDA是Nvidia 的,而Intel没有Cuda,程序不同。所以注意别下载错了程序;
Intel:https://github.com/openvinotoolkit/stable-diffusion-webui.git
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则


QQ|Archiver|手机版|小黑屋|Bluetooth-UWB 联盟论坛 ( 京ICP备19003900号-5 )

GMT+8, 2025-12-5 04:36 , Processed in 0.015424 second(s), 27 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表