Commit Graph

581 Commits

Author SHA1 Message Date
cmdr2
4f8424c544 sdkit 1.0.43 - unipc samplers on any device, not just cuda 2023-02-20 19:31:47 +05:30
cmdr2
9970e505de sdkit version 1.0.42 - WEBP format support 2023-02-20 18:43:39 +05:30
JeLuF
0ccacd5eca 🔥 Installer: Fix ESRGAN anime model's path
The size check fails on every installation. The path name of the check wasn't changed when the model was moved to the models directory.
2023-02-20 18:40:13 +05:30
cmdr2
facfed07fe sdkit 1.0.41 - NSFW filter 2023-02-20 08:44:26 +05:30
JeLuF
bbda097aa8
Merge branch 'beta' into yaml 2023-02-19 21:11:28 +01:00
JeLuF
6a2c2152e2
🔥 Installer: Fix ESRGAN anime model's path
The size check fails on every installation. The path name of the check wasn't changed when the model was moved to the models directory.
2023-02-18 14:05:55 +01:00
cmdr2
b43f9fc4ee Upgrade stable-diffusion-sdkit to 2.1.3, to use transformers 4.26.1 2023-02-18 14:30:37 +05:30
cmdr2
51b6a2fd2a Pin the version of stable-diffusion-sdkit used, to avoid untested releases from getting used 2023-02-18 14:21:24 +05:30
cmdr2
5fffb82b16 Pin the version of stable-diffusion-sdkit used, to avoid untested releases from getting used 2023-02-18 14:17:28 +05:30
cmdr2
23f9bcb38b Upgrade sdkit, moving the experimental parser into a plugin 2023-02-17 15:22:59 +05:30
cmdr2
7fc46f3672 sdkit 1.0.39 - unipc samplers 2023-02-17 09:36:10 +05:30
cmdr2
3d3994bbad sdkit 1.0.38 - experimental parser, requires the prompt to start with an exclamation mark 2023-02-16 21:01:33 +05:30
cmdr2
16905a8999
Merge pull request #888 from JeLuF/macos2
No /proc/cpuinfo on MacOS
2023-02-16 19:29:42 +05:30
cmdr2
9fb5cac5d4 Bypass incorrect ERRORLEVEL values in nested code blocks by using something called delayedexpansion. Ugh 2023-02-16 19:21:51 +05:30
JeLuF
932ee11c91 Use yaml instead of json for the config file 2023-02-16 01:19:36 +01:00
JeLuF
5d3b59b94e No /proc/cpuinfo on MacOS
Check whether /proc/cpuinfo exists before checking for AVX support
2023-02-15 21:15:55 +01:00
cmdr2
744c6e4725 sdkit 1.0.37 2023-02-15 21:40:02 +05:30
JeLuF
2df4286256 Change SDUI to Easy Diffusion 2023-02-14 09:05:23 +01:00
Jens Frank
b89f689ea3 Fix functions.sh upgrade, change messages to Easy Diffusion 2023-02-14 09:00:02 +01:00
JeLuF
d3f42e47a7
Fix typo in cp functions.sh 2023-02-13 14:33:34 +01:00
JeLuF
e3e43913ab
Linux Installer fixes (#867)
Copy functions.sh from git repo as well
Remove duplicate 'Press any key' call
2023-02-13 09:02:31 +05:30
JeLuF
8465bc1bc9 Changes to make things work on MacOS/x64 2023-02-10 22:34:52 +01:00
cmdr2
ad249c4651 sdkit 1.0.36, for the image metadata embedding change 2023-02-10 18:09:23 +05:30
cmdr2
071a4d6f37 Use a fixed sdkit version, to avoid bumping to the latest sdkit version in the main branch 2023-02-10 18:05:17 +05:30
cmdr2
5f2fb19d71 Use a fixed sdkit version, to avoid bumping to the latest sdkit version in the main branch 2023-02-10 18:04:43 +05:30
cmdr2
a517255653
Merge pull request #784 from JeLuF/no-src
Warn when running installer from git checkout
2023-02-10 17:20:10 +05:30
cmdr2
8386cd5cf7
Merge pull request #817 from fernandoisnaldo/patch-1
Fix aarch64 (arm64) verification
2023-02-09 19:24:13 +05:30
JeLuF
4c8da67bb1
Use "python -m pip" instead of "pip" (#835)
* Use "python -m pip" instead of "pip"

https://discord.com/channels/1014774730907209781/1072423234676461619

* Use "python -m" instead of "pip" (Linux=
2023-02-07 15:39:02 +05:30
cmdr2
5c6c2303ba Why does this script file keep losing exec permission? 2023-02-06 20:05:40 +05:30
cmdr2
a0a58bcfa8
Merge branch 'main' into beta 2023-02-06 19:42:24 +05:30
cmdr2
86dc08130b typo 2023-02-06 16:47:48 +05:30
cmdr2
5cd8a732c7 grammar 2023-02-06 16:29:46 +05:30
Fernando Isnaldo Silva de Faria
b7047dafb2
Fix aarch64 (arm64) verification 2023-02-03 16:36:49 -03:00
JeLuF
409ec61be2 Fail fatally, add same check on Linux, add some extra checks on Linux
Linux: Check that curl, bzip2, tar are available, check whether there's a space character in the install path, check whether the CPU supports AVX.
2023-01-19 00:40:20 +01:00
JeLuF
79d112ca7b Warn when running installer from git checkout 2023-01-18 00:11:23 +01:00
cmdr2
493526c478 If downgrading to 2.4 (from 2.5), move the default models back to the legacy location 2022-12-29 13:00:57 +05:30
Jens Sülwald
ad07aeb041 Restore download link for Linux in beta, ...
and make shellscripts in scripts/ executable
2022-12-28 17:52:49 +01:00
cmdr2
451ab7e84c Create the folders before moving to them 2022-12-28 19:40:08 +05:30
cmdr2
27d69e2ac3 Upgrade stable-diffusion-sdkit during startup 2022-12-28 19:19:53 +05:30
cmdr2
91274a4df8 Move the mandatory models to the models folder, instead of the legacy location inside the stable-diffusion folder 2022-12-28 19:08:39 +05:30
cmdr2
280f0be690 Disable symlink warnings on Windows for huggingface cache 2022-12-28 16:48:12 +05:30
cmdr2
8cedeb349d Changes to allow rolling back from the upcoming sdkit-based system 2022-12-26 23:04:45 +05:30
cmdr2
5e553dd958 Skip sdkit upgrade if in developer mode 2022-12-26 21:00:46 +05:30
cmdr2
32bab80508 Show sdkit version during startup 2022-12-25 16:38:37 +05:30
cmdr2
5f6b798e35 Stop printing annoying ok messages 2022-12-24 19:13:17 +05:30
cmdr2
a4728190c0 Refactor server.py 2022-12-24 15:29:49 +05:30
cmdr2
e0b33a4feb Install rich 2022-12-24 15:10:46 +05:30
cmdr2
fb5c0a3db7 Install python 3.8.5 during installation. Torch isn't available for 3.11 2022-12-24 14:57:57 +05:30
cmdr2
8154a5709b disable the legacy src and ldm folder (otherwise this prevents installing gfpgan and realesrgan) 2022-12-24 14:01:33 +05:30
cmdr2
3a6780bd50 Copy check_modules.py the first time an existing user runs the new version 2022-12-24 13:56:05 +05:30
cmdr2
6662dc66d5 Updated scripts to install sdkit into existing installations, while still working with new installations 2022-12-24 13:37:50 +05:30
cmdr2
6b943f88d1 Set uvicorn log level to 'error' 2022-12-12 15:18:30 +05:30
cmdr2
a2af811ad2 Disable uvicorn access logging in favor of cleaner server-side logging, we already get all that info; Print the request metadata 2022-12-09 22:47:34 +05:30
cmdr2
f1de0be679 Fix integration issues after the refactor 2022-12-09 17:50:33 +05:30
cmdr2
f4a6910ab4 Work-in-progress: refactored the end-to-end codebase. Missing: hypernetworks, turbo config, and SD 2. Not tested yet 2022-12-08 21:39:09 +05:30
cmdr2
a8151176d7
SD 2.1 2022-12-08 10:04:33 +05:30
cmdr2
9ee0b7fe2e
SD 2.1 2022-12-08 10:04:14 +05:30
Guillaume Mercier
cbe91251ac
Hypernetwork support (#619)
* Update README.md

* Update README.md

* Make on_sd_start.sh executable

* Merge pull request #542 from patriceac/patch-1

Fix restoration of model and VAE

* Merge pull request #541 from patriceac/patch-2

Fix restoration of parallel output setting

* Hypernetwork support

Adds support for hypernetworks. Hypernetworks are stored in /models/hypernetworks

* forgot to remove unused code

Co-authored-by: cmdr2 <secondary.cmdr2@gmail.com>
2022-12-07 11:24:16 +05:30
JeLuF
7861c57317
Safetensor support (Fixes #599) (#608)
* safetensors support
Add support for checkpoints in safetensors format: https://github.com/huggingface/safetensors

This format shall be safer than pickle files

* pip install safetensors
2022-12-05 10:59:48 +05:30
cmdr2
8eb3a3536b
Update on_sd_start.bat 2022-12-02 12:06:41 +05:30
cmdr2
cfd50231e1
Update on_sd_start.sh 2022-12-02 12:06:39 +05:30
cmdr2
6a41540749 Remove unused scripts from the previous installer 2022-12-01 14:44:20 +05:30
cmdr2
54f7e6fcb8 SD2 fix - register buffer on the correct device 2022-11-30 16:05:06 +05:30
cmdr2
e37be0f954 Remove the need to use yield in the core loop for streaming results. This removes the need to patch the Stable Diffusion code, which can be fragile 2022-11-29 13:03:57 +05:30
cmdr2
13654cb8c0 Make on_sd_start.sh executable 2022-11-28 13:00:02 +05:30
cmdr2
347fa0fda1
Update on_sd_start.bat 2022-11-26 01:50:30 +05:30
cmdr2
91e4ccf6f8
Update on_sd_start.bat 2022-11-26 01:43:41 +05:30
cmdr2
642c114501 Working txt2img 2022-11-25 14:29:24 +05:30
cmdr2
02dd3e457d Tweaks to load sd1 models in sd2 code, typos 2022-11-25 13:57:15 +05:30
cmdr2
ea7b28c9d5 Placeholder changes for SD 2.0 support, haven't tested yet 2022-11-25 12:17:44 +05:30
cmdr2
b70235ff92 Set the PYTHONPATH in the developer console, before the prompt shows up 2022-11-24 11:48:27 +05:30
cmdr2
8a0ec95fe1
Merge branch 'main' into beta 2022-11-23 15:08:34 +05:30
cmdr2
5a9c8e1d87 Warn but don't fix whitespaces in a patch 2022-11-22 23:21:11 +05:30
cmdr2
daaa65dc0a Warn but don't fix whitespaces in a patch 2022-11-22 23:20:24 +05:30
cmdr2
ab4e371524 Fix whitespace during git apply 2022-11-22 22:25:36 +05:30
cmdr2
5af84b8e90 Fix whitespace during git apply 2022-11-22 22:21:54 +05:30
cmdr2
d9b9f80a93 diffusion-kit upgrade 2022-11-22 17:39:51 +05:30
cmdr2
d429505b71 Update version of diffusion-kit 2022-11-22 17:14:20 +05:30
cmdr2
72ee708917 Remove the need to install realesrgan, gfpgan and certain specific package versions, since the new backend should install them directly 2022-11-22 16:50:10 +05:30
cmdr2
93bbfac29a Change the backend to a custom fork of SD, since basujindal's fork is no longer under development. This fork is intended to include the common models/tools used like RealESRGAN, GFPGAN, Codeformer etc, and is meant to be a community-developed project 2022-11-22 16:38:39 +05:30
cmdr2
87a7b70a27
Shell error code check 2022-11-22 10:40:20 +05:30
cmdr2
9c71c966ca
Shell error code check 2022-11-22 10:39:47 +05:30
cmdr2
3bf5e11f94 Nowarn for fresh installation (git apply whitespace) 2022-11-21 17:19:55 +05:30
cmdr2
eef9af2266 Typo 2022-11-21 17:14:54 +05:30
cmdr2
8316a002da Don't warn about whitespace in the git patch application 2022-11-21 17:11:38 +05:30
cmdr2
5fe7807462 ERRORLEVEL is unreliable when conda is run 2022-11-21 12:38:46 +05:30
cmdr2
497e073a8c
Merge pull request #480 from JeLuF/patch-3
Handle %TMP% and %TEMP%
2022-11-21 12:34:31 +05:30
cmdr2
d4ce54a3c2
Merge pull request #521 from JeLuF/patch-4
Add --whitespace=fix to git apply
2022-11-21 12:33:04 +05:30
JeLuF
ed435d2b72
Add --whitespace=fix also on Linux 2022-11-20 23:09:27 +01:00
JeLuF
2b1f8533b0
Add --whitespace=fix to git apply
For some users who have git preinstalled, `git apply` fails due to whitespace errors.

Aracon found that applying `--whitespace=fix` to the `git apply` invocation fixes the problem.
https://discord.com/channels/1014774730907209781/1036679816713359471/1037025435491516548

ryz confirmed that `--reject` wasn't needed for him to make it work, and this explanation from the "git apply" manpage suggests 
that we shouldn't include `--reject`:

> For atomicity, git apply by default fails the whole patch and does not touch the working tree when some 
> of the hunks do not apply. This option makes it apply the parts of the patch that are applicable, and leave 
> the rejected hunks in corresponding *.rej files.

After having a look at https://github.com/git/git/blob/master/apply.c, I think that they only check for `correct_ws_error` if they couldn't apply the patch. It doesn't impact 'normal' patching. If the patch can be applied, it will be done, and only if the apply fails, they'll check whether adding or removing WS might help. It should thus be save to be added and didn't produce any errors on my installation using SDUI-provided git.
2022-11-20 23:07:44 +01:00
JeLuF
5ebc6b698c Rewrite easy_install.pth on each start
Fixes GFPGANer errors when the env has been moved.
2022-11-20 18:48:48 +01:00
cmdr2
462af9989a
Merge pull request #491 from JeLuF/inst1
Fix typo in the installer's error messages
2022-11-18 17:07:06 +05:30
JeLuF
3e18f2f09c Picklescan of model files
During getModel(), the server picklescans the model files for potential
malicious code in the pickled python objects. If a malicious file is
found, the web UI will show a big red error message, the makeImage
button will be disabled, and the user must remove the malicious file
and reload the UI page.
2022-11-16 22:34:02 +01:00
JeLuF
add09e52ef Fix typo in the installer's error messages 2022-11-16 20:56:11 +01:00
cmdr2
f5ec1cb3a4 Don't show the list of files that have been copied on startup 2022-11-16 11:31:16 +05:30
cmdr2
e99d54d1f6 Merge main 2022-11-16 11:19:10 +05:30
JeLuF
7f436061b8
RFC: how to handle %TMP% and %TEMP% - UNTESTED
`conda activate` fails if %TMP% or %TEMP% contains spaces. So instead of setting the temp variables in the installer steps, we need to set it at the beginning of the script. 

Would this break anything? 
https://discord.com/channels/1014774730907209781/1042190192049668106/1042190192049668106
2022-11-15 23:29:32 +01:00
cmdr2
e252c9ac05 Only set the userprofile if in a new micromamba installation 2022-11-14 10:11:28 +05:30
JeLuF
e59fbac761
set USERPROFILE to local profile (fixes #468)
According to this analysis: https://discord.com/channels/1014774730907209781/1040225028828057620/1040324719074889779
the USERPROFILE variable must not contain unicode characters as well. Only setting APPDATA is not sufficient.
2022-11-13 09:19:01 +01:00
cmdr2
c17222dbe4 The error level is unreliable on Windows when testing a command. My cmd.exe shell hooks are broken, and this condition always fails for me 2022-11-12 13:08:46 +05:30
cmdr2
abd8c69395 Bypass a bug in micromamba, where it fails silently if the APPDATA env variable has special characters like öäü 2022-11-12 13:07:29 +05:30
cmdr2
a7fde73df4 Tabs to spaces in bootstrap scripts 2022-11-12 12:47:39 +05:30
cmdr2
d1c9db874f Set the PYTHONPATH right at the start, to prevent it from picking up a system-wide python 2022-11-11 11:37:15 +05:30
cmdr2
65587536ab Fix typo in binding of host/ip 2022-11-09 11:08:25 +05:30
cmdr2
ad31be8344 Fix 2022-11-09 11:05:07 +05:30
cmdr2
25815c81bf Bring back the configurable host/port 2022-11-09 11:03:03 +05:30
cmdr2
852a22f86d temporary rollback of configurable host/port 2022-11-09 10:58:25 +05:30
cmdr2
e22b171b7b
Merge pull request #445 from JeLuF/err-handle
Improve error handling
2022-11-09 10:08:55 +05:30
cmdr2
9bc7521de0 Make custom VAE an Image Setting, rather than a System Setting; Don't load a VAE into memory by default 2022-11-08 16:54:15 +05:30
cmdr2
842e7e559e
Update bootstrap.bat 2022-11-08 10:30:26 +05:30
JeLuF
a62ee7850b Merge branch 'err-handle' of github.com:JeLuF/stable-diffusion-ui into err-handle 2022-11-05 23:31:19 +01:00
JeLuF
d3a90ccc0d Windows error handling
- cd to the script location on start of 'Start Stable Diffusion UI.cmd'
- Bail out when downloading micromamba fails
- add env variables SD_UI_BIND_IP and SD_UI_BIND_PORT to configure uvicorn
2022-11-05 23:30:40 +01:00
JeLuF
46b13ee664
Merge branch 'cmdr2:main' into err-handle 2022-11-05 20:49:19 +01:00
JeLuF
cfa6dc7836 Add blank lines to error message 2022-11-05 19:02:19 +01:00
JeLuF
f969bfa7be More error handling, central error function 2022-11-05 18:59:59 +01:00
cmdr2
ea7006eec4 Set the PYTHONPATH before installation to prevent conda from knowing about any system-wide python installations (and skipping package installs due to that) 2022-11-02 19:45:49 +05:30
cmdr2
33e25d9241 Deduce the filename in developer_console.sh instead of hardcoding it 2022-10-29 20:25:11 +05:30
cmdr2
fc11018158 Re-download micromamba if necessary 2022-10-29 19:41:52 +05:30
Michael Nahkies
840348b4eb fix: change to the correct working directory
changes to the directory containing `start.sh` prior to activating the conda environment

this allows you to run the program without first changing to the correct directory, eg: `$ ~/bin/stable-diffusion-ui/start.sh`
2022-10-29 15:09:04 +05:30
Michael Nahkies
450fb2553c fix: change to the correct working directory
changes to the directory containing `start.sh` prior to activating the conda environment

this allows you to run the program without first changing to the correct directory, eg: `$ ~/bin/stable-diffusion-ui/start.sh`
2022-10-29 15:08:25 +05:30
cmdr2
a8c16e39b8 Support custom VAE files; Use vae-ft-mse-840000-ema-pruned as the default VAE, which can be overridden by putting a .vae.pt file inside models/stable-diffusion with the same name as the ckpt model file. The UI / System Settings allows setting the default VAE model to use 2022-10-28 20:06:44 +05:30
cmdr2
cf313939aa
Merge pull request #402 from cmdr2/beta
Retry micromamba download on windows
2022-10-27 19:50:12 +05:30
cmdr2
873d4bd3f2 Retry micromamba download on windows 2022-10-27 19:47:20 +05:30
cmdr2
f43f3fc84b
Merge pull request #401 from cmdr2/beta
Download micromamba again if it failed to download the first time
2022-10-27 16:07:10 +05:30
cmdr2
0e1fed86ba Download micromamba again if it failed to download the first time 2022-10-27 16:06:16 +05:30
JeLuF
6ba32b95f3
Undo curl change
#392 Resume Downloads
The retry options also don't work on some windows machines:
https://discord.com/channels/1014774730907209781/1014774732018683926/1034935751332347922
2022-10-27 00:26:24 +02:00
cmdr2
6d43e0951c
Update on_sd_start.sh 2022-10-27 00:49:32 +05:30
cmdr2
088c546bee
Merge pull request #394 from JeLuF/patch-4
Retry downloads on flaky internet connections
2022-10-26 17:36:46 +05:30
JeLuF
4994a7ac85
Update on_sd_start.sh 2022-10-26 13:27:49 +02:00
JeLuF
a959c69d32
Retry downloads for flaky internet connections
See issue #392
2022-10-26 13:26:19 +02:00
cmdr2
c8fc0bb4f5 Remove the extra python version print 2022-10-26 16:02:00 +05:30
cmdr2
7b9d18caea Report the python version after activating the SD environment, that log is not very useful otherwise 2022-10-26 16:00:21 +05:30
cmdr2
137e519b66 Move the installer activation to on_sd_start 2022-10-26 12:15:58 +05:30
cmdr2
f732fa9736 Use call to start the conda script; activate the installer env first even in the developer console 2022-10-25 20:26:46 +05:30
cmdr2
0c2d227da1 Activate the installer env while starting up, like the previous installer did in the start script 2022-10-25 19:21:26 +05:30
cmdr2
a281efef04 deactivate any pre-activated conda environments, by returning to (base) and then deactivating that. On Windows and Linux 2022-10-25 18:07:29 +05:30
cmdr2
538dcec348 deactivate any pre-activated conda environments before installing 2022-10-25 17:26:33 +05:30
cmdr2
0d38c8ae8f Bring back the post-installation test for torch 2022-10-25 16:38:08 +05:30
cmdr2
967c1a2da9 No need for conda 4.14, disable the broken test for torch 2022-10-25 15:42:22 +05:30
cmdr2
f3da326b77 Remove debug logging 2022-10-25 14:36:57 +05:30
cmdr2
153a6e2cb0 Temporarily disable sd_start for linux 2022-10-25 14:30:08 +05:30
cmdr2
95f37b9d36 Use conda 4.14 in the new installer as well (like the previous installer did) 2022-10-25 13:00:57 +05:30
cmdr2
60c37a1fc7 Set the PYTHONPATH before testing the SD installation 2022-10-25 12:48:56 +05:30
cmdr2
615c61e230 Fix a broken PYTHONPATH export in the linux script, used ; instead of : 2022-10-25 12:44:05 +05:30
cmdr2
8d1adf4f80 Fix the incorrect command used for downloading and extracting micromamba on linux/osx 2022-10-23 15:13:24 +05:30
cmdr2
d0b7f58e7c Fix a bug in the new linux installer's legacy path 2022-10-23 15:02:03 +05:30
cmdr2
461f618b8a Replace grep with findstr on Windows 2022-10-23 14:37:59 +05:30
cmdr2
5ff14d1fed Install conda only if it's not present in the legacy and new installer dir 2022-10-23 11:57:23 +05:30
cmdr2
80c9c1bb05 Install a new conda only if not already present locally 2022-10-23 11:36:31 +05:30
cmdr2
a111d9b18a Supress detached head warning 2022-10-23 11:28:08 +05:30
cmdr2
df14913c67 Always install conda, don't use the system's version 2022-10-23 11:16:28 +05:30
cmdr2
b6c6fef770 Use findstr instead of grep on windows 2022-10-23 10:47:44 +05:30
cmdr2
1a2f37b0ec Make the micromamba binary executable after download on linux 2022-10-23 10:38:01 +05:30
cmdr2
3772137c8f Include usr/bin in the installer PATH; newlines at the end of all files 2022-10-23 10:23:43 +05:30
cmdr2
338c2243e3 Newline after printing env info in developer scripts 2022-10-22 23:28:43 +05:30
cmdr2
e8d61225f5 Make the linux installer executable 2022-10-22 23:26:59 +05:30
cmdr2
cc356ce67d Initial commit of the new micromamba-based installer; This should work seamlessly for new and existing users; Also allows the installer to run on mac (but the installation will fail because the mac-specific environment.yaml hasn't been added yet) 2022-10-22 23:24:13 +05:30
cmdr2
14e88706df Set and use a local profile directory for new installations - does not affect existing installations 2022-10-18 09:46:25 +05:30
cmdr2
e96312b470 Update the troubleshooting link to the new wiki page 2022-10-17 15:16:31 +05:30
cmdr2
91fccc6691 Executable permission 2022-10-13 10:39:34 +05:30
cmdr2
399642f958 Fix the broken linux developer console script 2022-10-10 19:37:05 +05:30
cmdr2
ffcf46a371
Set the custom temp variable only while installing 2022-10-09 10:02:59 +05:30
cmdr2
fc5eedbef5
Update on_sd_start.bat 2022-10-09 09:56:44 +05:30
cmdr2
d78b6c4445 Revert "Revert "Revert "Disable the uvicorn check, seems to be failing incorrectly for some reason"""
This reverts commit 6e056bb337.
2022-10-08 22:45:43 +05:30
cmdr2
6e056bb337 Revert "Revert "Disable the uvicorn check, seems to be failing incorrectly for some reason""
This reverts commit b5c2c1009c.
2022-10-08 22:43:37 +05:30
cmdr2
b5c2c1009c Revert "Disable the uvicorn check, seems to be failing incorrectly for some reason"
This reverts commit e30aca7531.
2022-10-08 22:37:44 +05:30
cmdr2
e30aca7531 Disable the uvicorn check, seems to be failing incorrectly for some reason 2022-10-08 22:26:14 +05:30
cmdr2
1024da601d Set a custom temp path to workaround the pip bug 2022-10-08 12:06:11 +05:30
cmdr2
06c8a004d8 Remove the old dev console scripts 2022-10-07 19:52:31 +05:30
cmdr2
4ab90fb14d Merge branch 'main' of github.com:cmdr2/stable-diffusion-ui 2022-10-07 19:48:40 +05:30
cmdr2
54d8feeaf0 Rename dev console script 2022-10-07 19:48:24 +05:30
cmdr2
10012d7125
Merge branch 'main' into beta 2022-10-07 19:38:53 +05:30
cmdr2
d70ea854b1 Create the custom model instruction file even on existing installations 2022-10-07 19:36:18 +05:30
cmdr2
8c576ece28 Instructions for where to place the custom ckpt file 2022-10-07 19:33:52 +05:30
cmdr2
ab987e73c6 Copy the dev console script for linux on the first restart 2022-10-07 18:50:07 +05:30
cmdr2
201a053025 Support an arbitrary number of custom models, placed in the models/stable-diffusion folder. Shows an option in the UI to select which model to use 2022-10-06 14:28:02 +05:30
cmdr2
703f987825 Copy the dev console script on the first update. Temporary until enough people have this update 2022-10-06 11:58:32 +05:30
cmdr2
4e3d677d8e Developer console, to enter the activated conda environment easily for debugging and fixing the environnment 2022-10-06 11:58:27 +05:30
cmdr2
aab90130d2 Copy the dev console script on the first update. Temporary until enough people have this update 2022-10-06 11:25:14 +05:30
cmdr2
9321dfdd89 Developer console, to enter the activated conda environment easily for debugging and fixing the environnment 2022-10-06 10:37:41 +05:30
cmdr2
fcb41e30dc Fix a bug with the linux script, where the file size check would fail if the group name had spaces 2022-09-30 10:45:08 +05:30
cmdr2
1cdb456216 Fix a bug with the linux script, where the file size check would fail if the group name had spaces 2022-09-30 10:44:47 +05:30
cmdr2
30c46c0858 Missing changes from main in beta, bad merge 2022-09-27 14:18:56 +05:30
cmdr2
a821b309f7 Merge branch 'main' into beta 2022-09-27 13:28:31 +05:30
cmdr2
939dd0b207 Empty the post-activate hook only if it exists 2022-09-26 23:02:03 +05:30
cmdr2
b652d0fc65 Merge branch 'win-installer-no-activate' into beta 2022-09-26 20:12:55 +05:30
cmdr2
e67843638f Fix errors with the new installer 2022-09-26 20:11:33 +05:30
cmdr2
ca704e1d51 Revert "Merge pull request #250 from cmdr2/win-installer-no-activate"
This reverts commit 04eb356c89, reversing
changes made to 300159c03b.
2022-09-26 20:07:04 +05:30
cmdr2
04eb356c89
Merge pull request #250 from cmdr2/win-installer-no-activate
Merge the new Windows Installer scripts, that doesn't use a post-activate hook
2022-09-26 19:53:46 +05:30
cmdr2
300159c03b Temporarily disable the check for whitelisted ckpt weights 2022-09-26 19:40:52 +05:30
cmdr2
2a46f6b225 Make the new installer work with existing installations (made with the old installer) 2022-09-26 19:19:11 +05:30
cmdr2
1bcb6738bb Temporarily disable check for whether uvicorn is installed 2022-09-24 23:56:59 +05:30
cmdr2
d14a13fcaf Temporarily revert the System32 patch 2022-09-24 23:38:56 +05:30
cmdr2
5facba4419 [installer] No need to go back a folder now, we're already in the right location 2022-09-24 23:23:35 +05:30
cmdr2
b4282a03ca Merge branch 'main' into win-installer-no-activate 2022-09-24 22:57:38 +05:30
cmdr2
858a1c7ae0 Include C:\Windows\System32 in the path anyway, to avoid the errors some users have 2022-09-24 13:23:04 +05:30
cmdr2
8cb340be9d Merge branch 'main' into beta 2022-09-23 20:19:12 +05:30
cmdr2
b0c15bc430 Latest commit on basujindal's fork for the Linux version 2022-09-22 23:04:29 +05:30
cmdr2
7b520942dc Update to the latest commit on basujindal's SD fork; More VRAM garbage-collection; Speed up live preview by displaying only every 5th step 2022-09-22 22:14:25 +05:30
cmdr2
1c5097b81b Hotfix for pywavelet version, attempt 1 2022-09-16 00:36:31 +05:30
cmdr2
5337153761 Remove the use of activate.d for the windows installer, since it allows for easier debugging later on 2022-09-15 15:14:48 +05:30
cmdr2
2587727087 Merge branch 'main' of github.com:cmdr2/stable-diffusion-ui 2022-09-15 13:21:14 +05:30
cmdr2
4ccf26c23f Patch the openAI code only if it exists 2022-09-15 13:19:42 +05:30
cmdr2
476d6fe85d Force-install antlr4, since pip (incorrectly) skips installing it occasionally 2022-09-15 12:10:21 +05:30
cmdr2
e59c66ae26 Backend changes to support stopping a task mid-way. Uses a custom patch for the stable-diffusion codebase, to make it call a callback for DDIM 2022-09-13 19:59:41 +05:30
cmdr2
9ec2010ac2 Log python version in the linux build 2022-09-13 11:41:38 +05:30
cmdr2
e928fee26f Log python version 2022-09-13 11:38:28 +05:30
cmdr2
db1fbad0db Force install basicsr, investigating a support query 2022-09-13 11:00:55 +05:30
cmdr2
812a0a14fc Export PYTHONPATH on linux 2022-09-13 10:36:50 +05:30
cmdr2
852875b440 Try force installing basicsr 1.4.2 2022-09-12 23:42:48 +05:30
cmdr2
4444525c01 Set the PYTHONPATH explicitly for the conda env 2022-09-12 23:06:51 +05:30
cmdr2
ba26f22f53 Compare file sizes 2022-09-12 21:44:16 +05:30
cmdr2
e1f37a2f3c Fix the comparison check for linux 2022-09-12 21:34:53 +05:30
cmdr2
e59287d736 Tweak the linux file size check code 2022-09-12 21:12:44 +05:30
cmdr2
a955730086 Allow using waifu 7 GB weights 2022-09-12 20:44:54 +05:30
cmdr2
a32a58bd0f Allow using the 7 GB model as well 2022-09-12 17:36:50 +05:30
cmdr2
ef46603f4e Tell conda to skip any pre-installed packages in the users' home/.local folder, since that can cause conflicts 2022-09-12 16:39:23 +05:30
cmdr2
905bcd8d1b Fix on linux 2022-09-10 00:37:04 +05:30
cmdr2
cd1db214b0 Fix 2022-09-10 00:34:51 +05:30
cmdr2
622322c878 Fix 2022-09-10 00:23:19 +05:30
cmdr2
7c580e276a Merge branch 'main' into beta 2022-09-10 00:14:51 +05:30
cmdr2
927013cd57 Hotfix for broken openAI dependency - bad json file 2022-09-10 00:13:16 +05:30
cmdr2
65b2c056c6 Revert "Revert "Revert "Revert "Merge pull request #112 from cmdr2/develop""""
This reverts commit 0dd38870e0.
2022-09-09 21:05:24 +05:30
cmdr2
53533e71e9 Revert "Revert "Revert "Revert "Merge main""""
This reverts commit 9d92174b1d.
2022-09-09 21:02:33 +05:30
cmdr2
dbd37a0961 Remove unnecessary quotes in the update_branch name 2022-09-09 19:08:50 +05:30
cmdr2
4eaba01de0 I don't think the ui was getting updated on Linux 2022-09-09 19:08:29 +05:30
cmdr2
09cdbe6b90 Download updates from the configured channel 2022-09-09 18:26:00 +05:30
cmdr2
0d33964a03 Fix a transient bug in the installer code (windows) where a script overwriting itself would cause problems 2022-09-09 17:24:30 +05:30
cmdr2
b14523ecfa Re-enable updates for linux 2022-09-09 14:06:37 +05:30
cmdr2
9d92174b1d Revert "Revert "Revert "Merge main"""
This reverts commit a715022049.
2022-09-08 23:45:44 +05:30
cmdr2
0dd38870e0 Revert "Revert "Revert "Merge pull request #112 from cmdr2/develop"""
This reverts commit 788dcbf471.
2022-09-08 23:45:21 +05:30
cmdr2
964d752e11 Fix 2022-09-08 23:28:22 +05:30
cmdr2
a4305540f0 use a certain working version of SD 2022-09-08 23:23:02 +05:30
cmdr2
788dcbf471 Revert "Revert "Merge pull request #112 from cmdr2/develop""
This reverts commit 9051bf6e68.
2022-09-08 23:19:35 +05:30
cmdr2
a715022049 Revert "Revert "Merge main""
This reverts commit d92fb1ec95.
2022-09-08 23:19:20 +05:30
cmdr2
5170f508f7 Revert "Emergency fix"
This reverts commit 72900eaf93.
2022-09-08 23:18:50 +05:30
cmdr2
72900eaf93 Emergency fix 2022-09-08 23:12:32 +05:30
cmdr2
d92fb1ec95 Revert "Merge main"
This reverts commit ff515f9bb0, reversing
changes made to 10ed23e144.
2022-09-08 22:55:12 +05:30
cmdr2
9051bf6e68 Revert "Merge pull request #112 from cmdr2/develop"
This reverts commit 598de3697d, reversing
changes made to 0eae17075f.
2022-09-08 22:54:54 +05:30
cmdr2
ff515f9bb0 Merge main 2022-09-08 21:22:47 +05:30
cmdr2
253e75c747 v2.1 - Face correction (GFPGAN) and Upscaling (RealESRGAN) 2022-09-08 21:20:27 +05:30
elwynelwyn
8d596c07df Add shebangs to all sh files 2022-09-08 19:53:06 +12:00
cmdr2
3224cd73ed can't overwrite self - linux install script 2022-09-07 20:01:39 +05:30
cmdr2
a1908de302 Also check for antlr4 during the post-install tests 2022-09-07 15:49:14 +05:30
cmdr2
c30678af98 Fix the link for the troubleshooting page in all the scripts 2022-09-07 15:35:19 +05:30
cmdr2
c4349951da Create a troubleshooting page; Clearer troubleshooting steps in the installation error messages 2022-09-07 14:44:01 +05:30
cmdr2
7388c13c63 Check if the installation dir isn't at the top of a drive (on windows) and show a warning 2022-09-07 13:02:41 +05:30
cmdr2
0772417f33 Test changing the main bootstrap code 2022-09-07 12:16:06 +05:30
cmdr2
0d9c8a804d Check the exact file size for the model file before allowing the installer to continue 2022-09-07 11:51:12 +05:30
cmdr2
0cc540b12a Incorrect file size check in linux 2022-09-06 19:13:03 +05:30
cmdr2
a1712a654d Add post-installation tests for the linux install script 2022-09-06 19:01:21 +05:30
cmdr2
e50c84ff28 Check whether the dependencies were downloaded correctly, else display an error 2022-09-06 18:32:36 +05:30
cmdr2
b5d2a23c64 Check the filesize of the ckpt model file; set variables didn't do what I thought it did, I'm new to DOS Batch scripting 2022-09-06 16:10:17 +05:30
cmdr2
2c38b51996 Fix a bug where it would show a failure even after conda created the environment successfully. Was caused by git clone returning an exit status of 1 even when successful 2022-09-06 11:43:12 +05:30
cmdr2
7d69f4d3ed Fix #58 - While a .. in the path shouldn't cause any problems, just avoiding it entirely 2022-09-05 15:30:04 +05:30
cmdr2
d9a6e41265 Switch to a standardized model link, for v2 public release 2022-09-04 19:15:42 +05:30
cmdr2
d52b973b44 Rename the linux v2 start script to start.sh 2022-09-03 20:04:55 +05:30
cmdr2
79d3f4ca9e Update test works for linux v2 script 2022-09-03 18:50:33 +05:30
cmdr2
06dd22d89a Test update of main linux v2 script 2022-09-03 18:49:18 +05:30
cmdr2
e79e425cf5 Typo in linux v2 script for env var 2022-09-03 18:48:11 +05:30
cmdr2
b4b2c351b4 Conda needs to be reactivated in the final script, l
inux v2
2022-09-03 18:26:14 +05:30
cmdr2
73acaadf70 Linux v2 newlines 2022-09-03 18:13:21 +05:30
cmdr2
18ef36bbc3 Init conda linux v2 2022-09-03 18:08:52 +05:30
cmdr2
a4ee103ff0 Simplified script for linux v2 2022-09-03 17:55:38 +05:30
cmdr2
9bf17a1c8d v2 linux, try without prefix mode 2022-09-03 14:12:47 +05:30
cmdr2
9a96ff2edc v2 Linux script update 2022-09-03 13:04:07 +05:30
cmdr2
9fa2e363cc Updated linux scripts 2022-09-03 12:34:23 +05:30
cmdr2
a65f8f5d5c Preserve across restarts the settings for 'use cpu', 'use full precision', 'use turbo' 2022-09-03 11:43:05 +05:30
cmdr2
c5475fb028 Linux v2 activate script 2022-09-02 23:31:51 +05:30
cmdr2
f267c46595 Make linux start command executable 2022-09-02 23:11:28 +05:30
cmdr2
b1f67a9a65 Merge branch 'main' of github.com:cmdr2/stable-diffusion-ui 2022-09-02 23:09:04 +05:30
cmdr2
044a7524a3 v2 start linux script 2022-09-02 23:08:53 +05:30
cmdr2
495b15e065 Make the new Linux v2 scripts executable 2022-09-02 22:48:43 +05:30
cmdr2
f4e6c399f2 Linux scripts for v2 2022-09-02 21:54:32 +05:30
cmdr2
cf1ba6d459 v2 scripts 2022-09-02 16:55:08 +05:30
cmdr2
c28cb67484 Script change 2022-09-02 16:31:34 +05:30
cmdr2
52086a2d39 v2 2022-09-02 16:13:03 +05:30
cmdr2
facec59fe8 v2: Use config.bat for host and port 2022-09-02 16:00:53 +05:30
cmdr2
75eb79bd55 v2 script file 2022-09-02 15:45:47 +05:30
cmdr2
8db9f40001 v2 scripts, trap more errors 2022-09-02 15:41:53 +05:30
cmdr2
472b8d0e51 Keep v2 files in the repo, for the updater 2022-09-02 13:58:36 +05:30