9a8fecb2cb
Merge branch 'development' into development
2022-09-16 08:52:27 -04:00
45af30f3a4
fix(install): unpinned 'protobuf' breaks macOS installs ( #596 )
...
Signed-off-by: Ben Alkov <ben.alkov@gmail.com >
Signed-off-by: Ben Alkov <ben.alkov@gmail.com >
2022-09-16 07:39:23 -04:00
58baf9533b
Make API return error before raising error again ( #606 )
...
This change makes it so any API clients can show the same error as what
happens in the terminal where you run the API. Useful for various WebUIs
to display more helpful error messages to users.
Co-authored-by: CapableWeb <capableweb@domain.com >
2022-09-16 07:33:42 -04:00
10f4c0c6b3
Merge branch 'development' into development
2022-09-15 20:25:34 -04:00
f9b272a7b9
Update to exclude GTX 16xx from autocast selection ( #576 )
...
* Update to exclude GTX 1660/1650 from autocast selection
2022-09-15 19:29:19 -04:00
e6011631a1
Mkdocs material ( #593 )
...
* Squashed commit of the following:
commit 82d9c25d9a
Author: mauwii <Mauwii@outlook.de >
Date: Wed Sep 14 19:29:11 2022 +0200
fix branch name in mkdocs-flow
commit 2e276cecc1
Author: mauwii <Mauwii@outlook.de >
Date: Wed Sep 14 19:28:35 2022 +0200
fix theme name
commit 2eb77c1173
Author: mauwii <Mauwii@outlook.de >
Date: Wed Sep 14 19:14:42 2022 +0200
fixed some links and formating in main README
commit 66a7152e48
Author: mauwii <Mauwii@outlook.de >
Date: Wed Sep 14 08:58:58 2022 +0200
trigger mkdocs deployment on main
commit 897cc373ce
Merge: 89da371
3b5a830
Author: Matthias Wild <40327258+mauwii@users.noreply.github.com >
Date: Wed Sep 14 07:51:23 2022 +0200
Merge pull request #1 from mauwii/mkdocs
Mkdocs
commit 3b5a8308eb
Author: mauwii <Mauwii@outlook.de >
Date: Wed Sep 14 07:42:56 2022 +0200
huge update
I was pretty busy trying to make the Readmes / docs look good in MkDocs
commit 0b4f5a926f
Author: mauwii <Mauwii@outlook.de >
Date: Wed Sep 14 07:41:45 2022 +0200
update mkdocs config
commit 872172ea70
Author: mauwii <Mauwii@outlook.de >
Date: Wed Sep 14 07:33:49 2022 +0200
added the mkdocs-git-revision-date-plugin
commit eac81bf875
Author: mauwii <Mauwii@outlook.de >
Date: Wed Sep 14 06:46:43 2022 +0200
add prettier config
remove markdownlint
move and rename requirements-mkdocs.txt
commit b36d4cc088
Author: mauwii <Mauwii@outlook.de >
Date: Wed Sep 14 02:06:39 2022 +0200
add dark theme
commit a14f18fede
Author: mauwii <Mauwii@outlook.de >
Date: Wed Sep 14 01:38:02 2022 +0200
update mkdocs flow and config
commit 2764b48693
Author: mauwii <Mauwii@outlook.de >
Date: Wed Sep 14 01:15:33 2022 +0200
add mkdocs workflow
commit 1bd22523b1
Author: mauwii <Mauwii@outlook.de >
Date: Wed Sep 14 00:57:37 2022 +0200
I already begun with formating / revising the sites
* change repository in mkdocs config to lstein
* adapt changes from repos main README.md
* add PR to mkdocs-flow
* update docs/index.md
- removed unecessary headlines
- added instructions how to host the docs locally
- removed TOC since it is already available via MkDocs
- update appearance of the latest changes
* Update appearance of docs/featuers/changelog
* add me to the contributors
and a small cosmetical change to docs/other/CLI.md
Co-authored-by: Lincoln Stein <lincoln.stein@gmail.com >
2022-09-15 14:35:22 -04:00
54b9cb49c1
Merge branch 'development' into development
2022-09-15 11:09:27 -04:00
60b731e7ab
Update dream.py. k_euler_a and k_dpm_2_a M1 fix ( #579 )
...
* Update dream.py. k_euler_a and k_dpm_2_a M1 fix
Make results reproducible (so runs with the same seed produce the same result).
Implements fix by @wbowling referenced in https://github.com/lstein/stable-diffusion/issues/397#issuecomment-1240679294
* Update dream.py. Remove import torch from dream.py
* generate.py: k_euler_a and k_dpm_2_a M1 fix #579
Co-authored-by: Lincoln Stein <lincoln.stein@gmail.com >
2022-09-15 11:02:17 -04:00
ec2dc24ad7
Mkdocs-material ( #575 )
...
* Squashed commit of the following:
commit 82d9c25d9a
Author: mauwii <Mauwii@outlook.de >
Date: Wed Sep 14 19:29:11 2022 +0200
fix branch name in mkdocs-flow
commit 2e276cecc1
Author: mauwii <Mauwii@outlook.de >
Date: Wed Sep 14 19:28:35 2022 +0200
fix theme name
commit 2eb77c1173
Author: mauwii <Mauwii@outlook.de >
Date: Wed Sep 14 19:14:42 2022 +0200
fixed some links and formating in main README
commit 66a7152e48
Author: mauwii <Mauwii@outlook.de >
Date: Wed Sep 14 08:58:58 2022 +0200
trigger mkdocs deployment on main
commit 897cc373ce
Merge: 89da371
3b5a830
Author: Matthias Wild <40327258+mauwii@users.noreply.github.com >
Date: Wed Sep 14 07:51:23 2022 +0200
Merge pull request #1 from mauwii/mkdocs
Mkdocs
commit 3b5a8308eb
Author: mauwii <Mauwii@outlook.de >
Date: Wed Sep 14 07:42:56 2022 +0200
huge update
I was pretty busy trying to make the Readmes / docs look good in MkDocs
commit 0b4f5a926f
Author: mauwii <Mauwii@outlook.de >
Date: Wed Sep 14 07:41:45 2022 +0200
update mkdocs config
commit 872172ea70
Author: mauwii <Mauwii@outlook.de >
Date: Wed Sep 14 07:33:49 2022 +0200
added the mkdocs-git-revision-date-plugin
commit eac81bf875
Author: mauwii <Mauwii@outlook.de >
Date: Wed Sep 14 06:46:43 2022 +0200
add prettier config
remove markdownlint
move and rename requirements-mkdocs.txt
commit b36d4cc088
Author: mauwii <Mauwii@outlook.de >
Date: Wed Sep 14 02:06:39 2022 +0200
add dark theme
commit a14f18fede
Author: mauwii <Mauwii@outlook.de >
Date: Wed Sep 14 01:38:02 2022 +0200
update mkdocs flow and config
commit 2764b48693
Author: mauwii <Mauwii@outlook.de >
Date: Wed Sep 14 01:15:33 2022 +0200
add mkdocs workflow
commit 1bd22523b1
Author: mauwii <Mauwii@outlook.de >
Date: Wed Sep 14 00:57:37 2022 +0200
I already begun with formating / revising the sites
* change repository in mkdocs config to lstein
* adapt changes from repos main README.md
Co-authored-by: Lincoln Stein <lincoln.stein@gmail.com >
2022-09-15 10:53:41 -04:00
357e1ad35f
Merge branch 'development' into development
2022-09-15 09:59:11 -04:00
9df743e2bf
Web cleanup ( #539 )
...
* Refactor generate.py and dream.py
* config file path (models.yaml) is parsed inside Generate() to simplify
API
* Better handling of keyboard interrupts in file loading mode vs
interactive
* Removed oodles of unused variables.
* move nonfunctional inpainting out of the scripts directory
* fix ugly ddim tqdm formatting
* fix embiggen breakage, formatting fixes
2022-09-15 07:43:43 -04:00
ccb2b7c2fb
Use cuda only when available in main.py. ( #567 )
...
Allows testing textual inversion / training flow on cpu only (very slow though).
Context: #508
2022-09-15 07:41:24 -04:00
30e69f8b32
Fix image location on webpage - windows ( #568 )
2022-09-15 07:40:27 -04:00
df4d1162b5
docs: VARIATIONS.md used wrong syntax in examples ( #589 )
2022-09-15 07:21:17 -04:00
66ff890b85
Merge branch 'development' into development
2022-09-14 20:03:39 -04:00
dd3fff1d3e
~7% speedup by switch to += in ldm.modules.attention. ( #569 )
...
Tested on 8GB eGPU nvidia setup so YMMV.
Re-land with .clone() fix, context #508
2022-09-14 18:10:33 -04:00
d8d2043467
Merge branch 'development' into development
2022-09-14 12:54:04 -04:00
94a7b3cc07
Merge branch 'development' of github.com:lstein/stable-diffusion into development
2022-09-14 10:05:32 -04:00
b02ea331df
Clarify behavior of -v and -n parameters ( #551 )
...
Fixes https://github.com/lstein/stable-diffusion/issues/544
2022-09-14 09:47:17 -04:00
9208bfd151
Merge branch 'development' of github.com:lstein/stable-diffusion into development
2022-09-14 07:13:32 -04:00
80579a30e5
Merge branch 'development' into development
2022-09-14 07:10:39 -04:00
5818528aa6
fix web server handling of rel and abs outdir paths ( #550 )
...
* fix web server handling of rel and abs outdir paths
* Can now specify either a relative or absolute path for outdir
* Outdir path does not need to be inside the stable-diffusion directory
* Closes security hole that allowed user to read any file within
stable-diffusion (eek!)
* Closes #536
2022-09-14 07:09:01 -04:00
6ec7eab85a
Merge branch 'development' of github.com:lstein/stable-diffusion into development
2022-09-14 07:07:20 -04:00
e6179af46a
Refactor generate.py and dream.py ( #534 )
...
* revert inadvertent change of conda env name (#528 )
* Refactor generate.py and dream.py
* config file path (models.yaml) is parsed inside Generate() to simplify
API
* Better handling of keyboard interrupts in file loading mode vs
interactive
* Removed oodles of unused variables.
* move nonfunctional inpainting out of the scripts directory
* fix ugly ddim tqdm formatting
2022-09-14 07:02:31 -04:00
d15c75ecae
TOIL(pip): Refactor pip requirements across the board ( #531 )
...
* Refactor pip requirements across the board
Signed-off-by: Ben Alkov <ben.alkov@gmail.com >
* fix name, version in setup.py
Signed-off-by: Ben Alkov <ben.alkov@gmail.com >
* Update notebooks for new requirements file changes
Signed-off-by: Ben Alkov <ben.alkov@gmail.com >
2022-09-14 07:01:58 -04:00
2e438542e9
* Fixes and updates for PR.
2022-09-13 21:56:17 -04:00
54c5665635
Merge branch 'development' into development
2022-09-13 21:26:34 -04:00
7fa45b0540
Merge branch 'main' into development
2022-09-13 15:50:26 -04:00
89da371f48
Fix images in Variations example ( #537 )
...
Images had their relative paths broken. Adjust paths.
2022-09-13 15:17:26 -04:00
10c51b4f35
Minor cleanup and re-arranging of PATH docs ( #533 )
...
* slightly more consistent in how the different scenarios are described
* moved the stuff about `/usr/bin/python` to be adjacent to the stuff about `/usr/bin/python3`
* added an example of the 'option 1' goal state
* described a way to directly answer the question: how many snakes are living in your computer?
2022-09-13 15:13:47 -04:00
ecb84ecc10
Add missing contributors.
...
* A more systematic review of contributors needed.
2022-09-13 11:38:43 -04:00
0d1aad53ef
Merge branch 'development' into development
2022-09-13 10:57:05 -04:00
d0a71dc361
Update attention.py for 16-32GB M1 performance ( #540 )
...
Code cleanup and attention.py einsum_ops update for M1 16-32GB performance.
Expected: On par with fastest ever from 8 to 128GB for 512x512. Allows large images.
2022-09-13 10:53:45 -04:00
f31aa32e4d
Merge branch 'development' into development
2022-09-13 09:11:53 -04:00
e1a6d0c138
web server does not supply embiggen options yet ( #535 )
2022-09-13 08:29:14 -04:00
e1f6ea2be7
Merge branch 'development' of https://github.com/pbaylies/stable-diffusion into development
2022-09-12 18:35:25 -04:00
5941ee620c
* check for missing parameters.
2022-09-12 18:35:10 -04:00
a18d0b9ef1
Squashed commit of the following:
...
commit 9b28c65e4b
Author: Lincoln Stein <lincoln.stein@gmail.com >
Date: Mon Sep 12 18:10:27 2022 -0400
revert inadvertent change of conda env name (#528 )
2022-09-12 18:12:44 -04:00
dfad1dccf4
Merge branch 'development' of github.com:lstein/stable-diffusion into development
2022-09-12 18:12:08 -04:00
d016017b6d
Merge branch 'main' into development
2022-09-12 18:11:14 -04:00
9b28c65e4b
revert inadvertent change of conda env name ( #528 )
release-1.14.1
2022-09-12 18:10:27 -04:00
0a6c98e47d
Merge branch 'development' into development
2022-09-12 17:58:27 -04:00
dedf8a3692
Remove pointless del statements in diffusionmodules.model. ( #520 )
2022-09-12 17:39:06 -04:00
5e15f1e017
Merge branch 'development' into development
2022-09-12 16:59:15 -04:00
b9592ff2dc
document ability to use -ve numbers to retrieve previous seeds and image paths ( #524 )
2022-09-12 16:55:39 -04:00
0bc6779361
Disable autocast for cpu to fix error. Remove unused precision arg. ( #518 )
...
When running on just cpu (intel), a call to torch.layer_norm would error with RuntimeError: expected scalar type BFloat16 but found Float
Fix buggy device handling in model.py.
Tested with scripts/dream.py --full_precision on just cpu on intel laptop. Works but slow at ~10s/it.
2022-09-12 16:55:21 -04:00
2a292d5b82
* Fallback in case we don't have get_noise() (using the base class for some reason...)
2022-09-12 16:52:22 -04:00
4a5a228fd8
Merge branch 'development' into development
2022-09-12 16:34:10 -04:00
6665f4494f
Add documentation for Embiggen
...
This was originally part of PR #437 , but was inside README.md
which was refactored. Now it is a standalone doc.
2022-09-12 15:46:07 -04:00
dbf2c63c90
Add Embiggen automation to upscale-cut-img2img-stitch and achieve high res without extra VRAM ( #437 )
...
* Add Embiggen automation
* Make embiggen_tiles masking more intelligent and count from one (at least for the user), rewrite sections of Embiggen README, fix various typos throughout README
* drop duplicate log message
2022-09-12 15:37:26 -04:00