One Click Installer for Windows #234
Lukium
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
Neat. Submit a PR, include a bit in the readme, I'll incorporate it. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
UPDATE: Made several modifications to the script:
In the process of troubleshooting in my environment, I started building a batch script to make life easier for doing a clean install. Well the script has grown considerably now such that I think it could be really useful for others. So I'm posting it here in case anyone wants a super easy fast way of installing a working version of the extension in a single click.
It has one requirement: Miniconda3 or Anaconda3 installed. The steps for installing it are in the script itself towards the beginning. Keep in mind that you do need to re-initialize miniconda3 after a reboot using the command:
c:\miniconda3\library\bin\conda.bat init cmd.exe
(Adjust the path if you install in a different folder)
Options Explanation:
WebUI is set to Automatic1111 which means that it will clone Automatic1111's GIT. Can be changed to d8ahazard to clone their repo instead.
xformers is set to False as of this writing because I have not found a way to get xformers working. #228
UseCustomCKPTPath is set to True by default so that you can put checkpoints into their own folder outside of models, because for advanced users it can be helpful to be able to symlink the checkpoints and the models from different locations to save in storage. If this doesn't apply to you, you can just ignore it and put your checkpoints where you normally would have:
.\models\stable-diffusion
UseCustomDreamboothPath is set to false because it also seems to break the extension (it seems to work for creating models but not for training them). Will open an issue for this soon
Symlinkbitsandbytes is set to True because during install for some odd reason, bitsandbytes doesn't respect set VENV_DIR=- in webui-user and wants to be in its own venv folder
LaunchWebUI is set to True so that it can fully install in one shot. This means you will get an error at the end saying you don't have any checkpoints. This is fine. Just go into the folder and add your checkpoints then re-launch.
Here's the Script:
(Just save as a bat file to the folder where you want to install, and make sure that conda has been initialized with
c:\miniconda3\library\bin\conda.bat init cmd.exe
)Beta Was this translation helpful? Give feedback.
All reactions