Commit Graph

2607 Commits

Author SHA1 Message Date
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
1f4e4d8d82 change 2023-04-22 19:43:15 +05:30
cmdr2
4ef10222e1 changelog 2023-04-22 15:48:03 +05:30
cmdr2
d7b91db204 changelog 2023-04-22 15:47:26 +05:30
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
f7235cf82c Keep the task alive during step callbacks. Thanks Madrang 2023-04-21 20:59:14 +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
1967299417 Download GFPGAN 1.4 by default on new Windows installations (NSIS) 2023-04-21 16:21:24 +05:30
cmdr2
1864921d1d Don't copy bootstrap.bat unnecessarily 2023-04-21 16:09:32 +05:30
cmdr2
0b19adba75 changelog 2023-04-21 16:01:24 +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
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
cde57109e4 Revert "Fetch release notes only from the main or beta branches"
This reverts commit bc142c9ecd.
2023-04-20 16:57:52 +05:30
cmdr2
bc142c9ecd Fetch release notes only from the main or beta branches 2023-04-20 16:55:34 +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
fcbcb7d471 changelog 2023-04-19 16:46:34 +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
cmdr2
f22ecc454a Merge branch 'beta' of github.com:cmdr2/stable-diffusion-ui into beta 2023-04-18 17:14:44 +05:30
cmdr2
bf3df097b8 Don't use ROCm on Linux if an NVIDIA card is present 2023-04-18 17:14:24 +05:30
cmdr2
7fc2ed28b1
Merge pull request #1166 from JeLuF/not_yet
Don't save model_path if initial load fails
2023-04-18 16:34:12 +05:30
cmdr2
30a133bad9 Allow torch 1.11 to continue being installed 2023-04-18 16:10:46 +05:30
cmdr2
d8d44c579c Typo 2023-04-18 15:43:56 +05:30
cmdr2
80384e6ee1 Install PyTorch 2.0 by default, but allow existing PyTorch 1.13.1 installations to continue running; Unify and streamline the installation of dependencies 2023-04-18 15:42:33 +05:30
cmdr2
0898f98355 Merge branch 'beta' of github.com:cmdr2/stable-diffusion-ui into beta 2023-04-18 15:05:53 +05:30
Diana
e7dc41e271
Automatic AMD GPU detection on Linux (#1078)
* Automatic AMD GPU detection on Linux

Automatically detects AMD GPUs and installs the ROCm version of PyTorch instead of the cuda one

A later improvement may be to detect the GPU ROCm version and handle GPUs that dont work on upstream ROCm, ether because they're too old and need a special patched version, or too new and need `HSA_OVERRIDE_GFX_VERSION=10.3.0` added, possibly check through `rocminfo`?

* Address stdout suppression and download failure

* If any NVIDIA GPU is found, always use it

* Use /proc/bus/pci/devices to detect GPUs

* Fix comparisons

`-eq` and `-ne` only work for numbers

* Add back -q

---------

Co-authored-by: JeLuF <jf@mormo.org>
2023-04-18 15:02:39 +05:30
cmdr2
0f0f475241 Merge branch 'beta' of github.com:cmdr2/stable-diffusion-ui into beta 2023-04-18 14:44:23 +05:30
cmdr2
127ee68486
Merge pull request #1171 from JeLuF/p0417
Don't download 1.4 if other models are available
2023-04-18 14:43:45 +05:30
cmdr2
b204b02b05
Merge pull request #1173 from JeLuF/patch-20
Add "Start scanning..." to getModels()
2023-04-18 14:41:09 +05:30
JeLuF
893b6d985c
Add "Start scanning..." to getModels()
Provide a hint to users what ED is currently using. 
Use case: User has built an infinite loop using symlinks, ED model scan will never finish.

https://discord.com/channels/1014774730907209781/1097764777553580092
2023-04-18 09:12:26 +02:00
JeLuF
44824fb5f9 Don't download 1.4 if other models are available 2023-04-17 23:22:44 +02:00
cmdr2
dc21cbe59d Typo 2023-04-17 16:25:49 +05:30
cmdr2
e16d9f4742 Merge branch 'torch2' into beta 2023-04-17 16:24:41 +05:30
cmdr2
f2b5843e6c merge beta 2023-04-17 15:50:51 +05:30
cmdr2
16229caa8e Merge branch 'beta' of github.com:cmdr2/stable-diffusion-ui into beta 2023-04-17 15:43:18 +05:30