Commit Graph

390 Commits

Author SHA1 Message Date
cmdr2
29ec34169c Merge branch 'beta' of github.com:cmdr2/stable-diffusion-ui into beta 2023-05-22 18:07:00 +05:30
cmdr2
d60cb61e58 sdkit 1.0.97 - flatten arguments sent to latent upscaler 2023-05-22 18:06:38 +05:30
JeLuF
0f6caaec33 get_config: return default value if conf file is corrupted 2023-05-22 10:21:19 +02:00
cmdr2
bdf36a8dab sdkit 1.0.96 - missing xformers import 2023-05-19 18:36:37 +05:30
cmdr2
107323d8e7 sdkit 1.0.95 - lower vram usage for high mode 2023-05-19 17:42:47 +05:30
cmdr2
83557d4b3c Merge branch 'beta' of github.com:cmdr2/stable-diffusion-ui into beta 2023-05-19 17:29:20 +05:30
cmdr2
415213878d sdkit 1.0.94 - vram optimizations - perform softmax in half precision 2023-05-19 17:28:54 +05:30
JeLuF
b77036443f Fail gracefully if proc access isn't possible 2023-05-18 16:04:28 +02:00
cmdr2
7562a882f4 sdkit 1.0.93 - lower vram usage for balanced mode, by using attention slice of 1 2023-05-16 16:02:20 +05:30
cmdr2
45db4bb036 sdkit 1.0.92 - more vram optimizations for low,balanced,high - reduces VRAM usage by 20% (especially with larger images) 2023-05-12 16:49:13 +05:30
cmdr2
add05228bd sdkit 1.0.91 - use slice size 1 for low vram usage mode, to reduce VRAM usage 2023-05-11 16:30:06 +05:30
cmdr2
566a83ce3f sdkit 1.0.89 - use half precision in test diffusers for low vram usage mode' 2023-05-11 14:49:15 +05:30
cmdr2
2d1be6186e sdkit 1.0.88 - Fix LoRA in low VRAM mode 2023-05-10 20:19:17 +05:30
cmdr2
64cfd55065 sdkit 1.0.87 - typo 2023-05-04 16:31:40 +05:30
cmdr2
f9cfe1da45 sdkit 1.0.86 - don't use cpu offload for mps/mac, doesn't make sense since the memory is shared between GPU/CPU 2023-05-04 16:09:28 +05:30
cmdr2
b27a14b1b4 sdkit 1.0.85 - torch.Generator fix for mps/mac 2023-05-04 16:04:45 +05:30
cmdr2
75f0780bd1 sdkit 1.0.84 - VRAM optimizations for the diffusers version 2023-05-03 16:12:11 +05:30
cmdr2
07f52c38ef sdkit 1.0.83 - formatting 2023-04-28 16:35:30 +05:30
cmdr2
a46ff731d8 sdkit 1.0.82 - VAE slicing for pytorch 2.0, don't fail to hash files smaller than 3 MB 2023-04-28 16:03:35 +05:30
cmdr2
6a6ea5009a
Merge pull request #1182 from JeLuF/get_config
Don't write config.bat and config.sh any more
2023-04-26 16:35:52 +05:30
cmdr2
24d0e7566f
Copy get_config.py in on_sd_start for the first run, when on_env_start hasn't yet been updated 2023-04-26 16:34:27 +05:30
cmdr2
fe8c208e7c
Copy get_config.py in on_sd_start for the first run, when on_env_start hasn't yet been updated 2023-04-26 16:33:43 +05:30
JeLuF
9399fb5371
Don't use python packages from the user's home directory
PYTHONNOUSERSITE is required to ignore packages installed to `/home/user/.local/`. Since these folders are outside of our control, they can cause conflicts in ED's python env.

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

Fixes #1193
2023-04-25 21:02:36 +02:00
cmdr2
3ae851ab1f
Revert "Revert "Stop messing with %USERPROFILE%"" 2023-04-24 14:32:18 +05:30
cmdr2
6fbb24ae3d
Revert "Stop messing with %USERPROFILE%" 2023-04-24 14:30:52 +05:30
JeLuF
bb607927d0
Stop messing with %USERPROFILE%
Set HF_HOME, so that the models don't get downloaded again.
2023-04-23 12:54:20 +02:00
cmdr2
5acf5949a6 sdkit 1.0.81 - use tf32 = True for ampere GPUs 2023-04-22 15:42:24 +05:30
cmdr2
3d740555c3 Force mac to downgrade from torch 2.0 2023-04-22 14:54:52 +05:30
cmdr2
eb16296873 Restrict AMD cards on Linux to torch 1.13.1 and ROCm 5.2. Avoids black images on some AMD cards. Temp hack until AMD works properly on torch 2.0 2023-04-21 19:08:51 +05:30
cmdr2
1864921d1d Don't copy bootstrap.bat unnecessarily 2023-04-21 16:09:32 +05:30
cmdr2
2e84a421f3 Show sdkit installation progress during the first run 2023-04-21 15:49:38 +05:30
cmdr2
fea77e97a0 actually fix the img2img error in the new diffusers version 2023-04-21 15:26:14 +05:30
cmdr2
e1b6cc2a86 typo 2023-04-21 15:13:29 +05:30
cmdr2
0921573644 sdkit 1.0.78 - fix the 'astype' error with the new diffusers version 2023-04-21 15:11:26 +05:30
JeLuF
5eec05c0c4 Don't write config.bat and config.sh any more 2023-04-21 00:09:27 +02:00
cmdr2
526fc989c1 Allow any version of torch/torchvision 2023-04-20 18:40:45 +05:30
cmdr2
023b78d1c9 Allow rocm5.2 2023-04-20 17:46:34 +05:30
cmdr2
670410b539 sdkit 1.0.77 - fix inpainting bug on diffusers 2023-04-20 17:42:12 +05:30
cmdr2
76e379d7e1 Don't install xformers, it downgrades the torch version. Still need to fix this 2023-04-20 17:07:10 +05:30
cmdr2
6c148f1791 Don't install xformers for AMD on Linux; changelog 2023-04-20 16:48:38 +05:30
cmdr2
534bb2dd84 Use xformers 0.0.16 to speed up image generation 2023-04-20 16:44:06 +05:30
cmdr2
d0f4476ba5 Suggest downloading a model downloading in the troubleshooting steps. Thanks JeLuf 2023-04-20 16:22:42 +05:30
cmdr2
6287bcd00a sdkit 1.0.76 - use 256 as the tile size for realesrgan, instead of 128. slightly more VRAM, but faster upscaling 2023-04-20 16:17:27 +05:30
cmdr2
cb527919a2 sdkit 1.0.75 - upgrade to diffusers 0.15.1 2023-04-19 16:45:28 +05:30
cmdr2
83c34ea52f Remove unnecessary hotfix 2023-04-19 16:31:04 +05:30
cmdr2
35c75115de Log errors during module and model initialization 2023-04-19 16:20:08 +05:30
cmdr2
7c75a61700 Typo 2023-04-19 16:15:15 +05:30
cmdr2
34ea49147c Update the check_models.py script during startup 2023-04-19 16:13:29 +05:30
cmdr2
c1e8637a9f Re-implement the code for downloading models in python. Save some eyeballs from bleeding 2023-04-19 16:11:16 +05:30
cmdr2
becbef4fac Include ROCm in the list of allowed versions 2023-04-18 17:36:52 +05:30