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
JeLuF
c0dcf1633c
Unset PYTHONHOME in start.sh
2023-05-09 18:07:46 +02:00
JeLuF
d8447ef1a9
Unset PYTHONHOME in Start Stable Diffusion UI.cmd
...
PYTHONHOME needs to be deleted before conda gets called for the first time.
2023-05-09 18:04:45 +02:00
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
cmdr2
bf3df097b8
Don't use ROCm on Linux if an NVIDIA card is present
2023-04-18 17:14:24 +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
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
0c0525e11b
sdkit 1.0.72 - use the extra attn precision yaml code for diffusers, which doesn't auto-detect black images yet
2023-04-17 15:43:08 +05:30
cmdr2
80bcfabc48
Upgrade to PyTorch 2.0; Doesn't use a special repo url for pytorch on Linux
2023-04-14 17:32:27 +05:30
cmdr2
03c8a0fca5
sdkit 1.0.70 - use plms for warming up the model, avoiding any non-deterministic effects from the default ancestral sampler
2023-04-12 15:31:10 +05:30
cmdr2
a3d2c71ed6
sdkit 1.0.69 - allow loading models without vae weights in diffusers
2023-04-11 15:34:44 +05:30
cmdr2
424ec40fa5
sdkit 1.0.68 - fix brainfade
2023-04-11 12:00:03 +05:30
cmdr2
210429a259
sdkit 1.0.67 - detect black-images on model load and use fp32 attention precision or full precision if needed
2023-04-10 17:59:14 +05:30
cmdr2
4cdb8a7d2a
sdkit 1.0.66 - lower VRAM usage for realesrgan upscaling
2023-04-10 16:29:30 +05:30
cmdr2
8a6cf3cfae
Remove redundant hotfix
2023-04-10 15:55:55 +05:30
cmdr2
e7c0b9bd76
Merge branch 'beta' of github.com:cmdr2/stable-diffusion-ui into beta
2023-04-07 15:52:02 +05:30
cmdr2
d7317e8252
sdkit 1.0.65 - upgrade compel to 1.0.5
2023-04-07 15:51:44 +05:30
cmdr2
4f899bd83d
Merge pull request #1112 from DianaNites/patch-2
...
Persistentish user configuration
2023-04-06 15:32:42 +05:30
cmdr2
899125cc41
sdkit 1.0.64 - bug fix - metadata embedding would ignore the jpeg quality
2023-04-05 08:07:53 +05:30
cmdr2
f0dbd87ba9
Merge pull request #1118 from cmdr2/main
...
Main
2023-04-04 15:55:37 +05:30
cmdr2
69380e3527
sdkit 1.0.63 - bug fix - samplers wouldn't get created if an inpainting was the first to load
2023-04-03 15:57:52 +05:30
Diana
ec0b08e4d0
user configuration
2023-04-02 09:16:33 -07:00
cmdr2
a03164f3bc
Slider to control LoRA strength
2023-04-01 16:08:14 +05:30
cmdr2
4f88939c77
sdkit 1.0.61 - reload a LoRA correctly if reloading the SD model
2023-03-31 16:26:11 +05:30
JeLuF
67746981e7
Merge beta
2023-03-29 15:39:37 +02:00
JeLuF
8149f97388
Linux ruamel.yaml installation
2023-03-29 15:28:05 +02:00
cmdr2
77246aeab1
sdkit 1.0.60 - lossless webp
2023-03-28 15:42:29 +05:30
cmdr2
27fb8ccd92
Fix DPM solver in diffusers beta
2023-03-27 16:57:55 +05:30
cmdr2
a573e61d36
Fix a bug where some non-square images would fail while inpainting with a 'The size of tensor a must match size of tensor b' error
2023-03-27 16:29:55 +05:30
cmdr2
0730400bc1
Fix the 'incorrect number of channels' error when given PNG images with an alpha channel (test diffusers)
2023-03-27 15:51:09 +05:30
cmdr2
de02435015
Fix inpainting in diffusers beta
2023-03-27 15:10:04 +05:30
cmdr2
55da2988b3
sdkit 1.0.55 - additional debug logging for prompts
2023-03-24 11:51:47 +05:30
cmdr2
d16783d0d1
sdkit upgrade - Use the latest version of compel
2023-03-24 10:15:51 +05:30
cmdr2
114363e22b
sdkit 1.0.53 - long prompt lengths
2023-03-24 09:27:15 +05:30
cmdr2
23e7a6b8b0
sdkit 1.0.52 - Use weighted prompt parsing using the Compel library
2023-03-23 13:10:00 +05:30
M.Hosoi
ac91a15aa9
fix: can't get file size if gnubin/stat is already installed in homebrew
2023-03-23 09:20:10 +09:00
cmdr2
f5be941a4a
sdkit 1.0.51 - convert ckpt was missing the new changes that diffusers hasn't merged in yet. bundling it along for now
2023-03-21 18:56:12 +05:30
cmdr2
eabe4cf58c
sdkit 1.0.50 - fix typo
2023-03-21 18:47:25 +05:30
cmdr2
f8bc50871a
sdkit 1.0.49; Use a test_diffusers flag to gate access to the new renderer and LoRA model selection
2023-03-21 17:59:20 +05:30
cmdr2
8aead029a8
temp fix for installations that installed torch 2.0 by mistake
2023-03-17 13:33:13 +05:30
cmdr2
a9da65c2cd
Temp fix for macOS installations that installed torch 2.0 by mistake, when torch 2 released yesterday
2023-03-17 13:27:44 +05:30
cmdr2
0324deec60
Use CUDA-specific torch only on Linux, not mac
2023-03-17 13:20:37 +05:30
cmdr2
28338612fa
Pin versions: torch 1.13.1 and torchvision 0.14.1, and update stable-diffusion-sdkit which also pins the torch and torchvision versions for macOS
2023-03-17 10:07:22 +05:30
cmdr2
5dd92b1d3f
sdkit 1.0.47 - mps buffer fix
2023-03-11 10:40:45 +05:30
cmdr2
7548f7cdbb
revert mps buffer fix
2023-03-11 10:27:57 +05:30
cmdr2
44da3d26f3
sdkit 1.0.45 - fix buffers used for mac mps
2023-03-11 10:24:01 +05:30
cmdr2
b6efa71efc
Merge pull request #981 from cmdr2/main
...
Main
2023-03-09 17:57:37 +05:30
cmdr2
fbeecda38c
Merge pull request #963 from JeLuF/patch-18
...
Remove AVX check
2023-03-08 13:37:59 +05:30
cmdr2
737a81570a
Merge pull request #975 from michaelgallacher/beta
...
Add support for MPS when running on Apple silicon
2023-03-08 10:00:10 +05:30
cmdr2
32d8f4d24b
sdkit 1.0.44 - mps support for mac
2023-03-08 09:57:45 +05:30
Michael Gallacher
11265c4034
Add support for MPS when running on Apple silicon
...
Changes:
* autodetect if MPS is available and the pytorch version has MPS support.
* change logic from "is the device CPU?" to "is the device not CUDA?".
* set PYTORCH_ENABLE_MPS_FALLBACK=1
Known issues:
* Some samplers (eg DDIM) will fail on MPS unless forced to CPU-only mode
2023-03-07 14:57:37 -07:00
cmdr2
1384c2f1bc
Keep bootstrap.bat in the repo, until the new installer releases. However it won't be copied or used after installation.
2023-03-07 21:17:04 +05:30
cmdr2
459b9428d4
Remove bootstrap.bat, since it's only needed during installation (and the current installer contains it, and this installer will soon be phased out)
2023-03-07 21:16:05 +05:30
JeLuF
88e3831bc6
Remove AVX check
...
https://discord.com/channels/1014774730907209781/1064237509913084087/1064237509913084087
2023-03-05 00:13:07 +01:00
cmdr2
2a597fcad7
Single-file installer - Include all the dependencies from an installed folder; Download the default models using the NSCurl plugin
2023-03-04 18:02:30 +05:30
cmdr2
5e2f31e3bf
Merge branch 'main' into beta
2023-03-02 10:15:51 +05:30
cmdr2
91c4b5865c
Pin the sdkit version during fresh installs
2023-02-21 10:40:17 +05:30
JeLuF
5e1e198a1f
Copy SSL DLLs
...
Prevent the 'SSL module is not available' error message
2023-02-20 23:02:27 +01:00
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