Peter Baylies
2f93418095
Merge branch 'development' into development
2022-09-17 20:35:48 -04:00
tildebyte
9bcb0dff96
feat(docs): readme - add discord server badge/link ( #644 )
...
Signed-off-by: Ben Alkov <ben.alkov@gmail.com>
Signed-off-by: Ben Alkov <ben.alkov@gmail.com>
Co-authored-by: Lincoln Stein <lincoln.stein@gmail.com>
2022-09-17 18:28:26 -04:00
tildebyte
f84372efd8
fix(doc): readme - more meaningful CI links from badges ( #645 )
...
Signed-off-by: Ben Alkov <ben.alkov@gmail.com>
Signed-off-by: Ben Alkov <ben.alkov@gmail.com>
2022-09-17 18:26:09 -04:00
mauwii
334045b27d
fix CompViz assets
2022-09-18 00:13:45 +02:00
Mihai
071f65a892
Enable even larger images with one simple torch.nn.functional.silu import ( #653 )
...
Fixes:
File "stable-diffusion/ldm/modules/diffusionmodules/model.py", line 37, in nonlinearity
return x*torch.sigmoid(x)
RuntimeError: CUDA out of memory. Tried to allocate 1.56 GiB [..]
Now up to 1536x1280 is possible on 8GB VRAM.
Also remove unused SiLU class.
2022-09-17 18:03:52 -04:00
psychedelicious
e30827e19b
Adds enter keydown > generate
2022-09-18 06:13:27 +10:00
Armando C. Santisbon
af98524179
Merge branch 'lstein:main' into main
2022-09-17 13:42:38 -05:00
tildebyte
e994073b5b
fix(ci): Cherry-pick new CI to main ( #646 )
...
* Added linux to the workflows
- rename workflow files
Signed-off-by: Ben Alkov <ben.alkov@gmail.com>
* fixes: run on merge to 'main', 'dev';
- reduce dev merge test cases to 1 (1 takes 11 minutes 😯 )
- fix model cache name
Signed-off-by: Ben Alkov <ben.alkov@gmail.com>
* add test prompts to workflows
Signed-off-by: Ben Alkov <ben.alkov@gmail.com>
Signed-off-by: Ben Alkov <ben.alkov@gmail.com>
Co-authored-by: James Reynolds <magnsuviri@me.com>
2022-09-17 14:12:14 -04:00
Lincoln Stein
ad292b095d
minor fix to ldm.dream.args
...
- If no list of seeds is provided to metadata_dumps(), then the contents
of the Args object's seed attribute are used.
2022-09-17 13:44:39 -04:00
Lincoln Stein
d8685ad66b
Merge branch 'development' of github.com:lstein/stable-diffusion into development
2022-09-17 13:29:21 -04:00
Lincoln Stein
239f41f3e0
add sd-metadata metadata_loads() and metadata_dumps() functions
2022-09-17 13:28:37 -04:00
Mihail Dumitrescu
e0951f28cf
Refactor attention.CrossAttention to remove duplicate code and apply optimizations
...
Apply ~6% speedup by moving * self.scale to earlier on a smaller tensor.
When we have enough VRAM don't make a useless zeros tensor.
Switch between cuda/mps/cpu based on q.device.type to allow cleaner per architecture future optimizations.
For cuda and cpu keep VRAM usage and faster slicing consistent.
For cpu use smaller slices. Tested ~20% faster on i7, 9.8 to 7.7 s/it.
Fix = typo to self.mem_total >= 8 in einsum_op_mps_v2 as per #582 discussion.
2022-09-17 20:19:21 +03:00
Ben Alkov
100f2e8f57
toil(docs): readme - remove remaining markdown warts, HTML
...
Signed-off-by: Ben Alkov <ben.alkov@gmail.com>
2022-09-17 13:00:37 -04:00
Peter Baylies
7ade11c4f3
Merge branch 'development' into development
2022-09-17 12:29:25 -04:00
Lincoln Stein
2faa116238
tidy up generation of prompt when variations in use
2022-09-17 11:59:47 -04:00
Lincoln Stein
c94b8cd959
small bug fixes in prompt generation
...
- fixes no closing quote in pretty-printed dream_prompt string
- removes unecessary -f switch when txt2img used
In addition, this commit does an experimental commenting-out of the
random.seed() call in the variation-generating part of ldm.dream.generator.base.
This fixes the problem of two calls that use the same seed and -v0.1
generating different images (#641 ). However, it does not fix the issue
of two images generated using the same seed and -VXXXXXX being
different.
2022-09-17 10:18:55 -04:00
Peter Baylies
0c1a2b68bf
* Added parameters to new more verbose React app and rebuilt the app.
2022-09-17 09:11:29 -04:00
Peter Baylies
c06dc5b85b
Merge branch 'development' into development
2022-09-17 08:43:15 -04:00
Lincoln Stein
34fa6e38e7
fix long hex-encoded error message from legacy server
...
- closes issue #618
2022-09-17 08:39:20 -04:00
Peter Baylies
7b9958e59d
* Add fields back to new "legacy_web" index as well.
2022-09-17 03:53:10 -04:00
Peter Baylies
f8775f2f2d
Merge branch 'development' into development
2022-09-17 03:45:14 -04:00
psychedelicious
b74354795d
Delete sends img to trash instead of delete
2022-09-17 17:19:09 +10:00
Lincoln Stein
9461c8127d
upgrade Pillow
2022-09-17 02:44:31 -04:00
Lincoln Stein
b5ed668eff
small legacy web appearance tweaks
2022-09-17 02:44:07 -04:00
Armando C. Santisbon
c6c19f1b3c
Remove unnecessary wget
2022-09-17 01:39:49 -05:00
psychedelicious
20ba51ce7d
Merge remote-tracking branch 'upstream/development' into development
2022-09-17 16:35:47 +10:00
psychedelicious
e45f46d673
Improves code structure, comments, formatting, linting
2022-09-17 16:32:59 +10:00
Lincoln Stein
b3e026aa4e
point legacy web server at legacy static files
2022-09-17 02:18:52 -04:00
Lincoln Stein
89540f293b
Restored static files needed for new flask/react web server
...
WARNING: old web server will no longer display correct interface.
2022-09-17 02:01:55 -04:00
mauwii
ed8ee8c690
update install-mode refference
2022-09-17 07:55:55 +02:00
Lincoln Stein
31daf1f0d7
preload_models.py now downloads gfpgan model
2022-09-17 01:32:31 -04:00
Lincoln Stein
5b692f4720
include width and height in png dream prompt
2022-09-17 01:14:00 -04:00
Lincoln Stein
b89aadb3c9
fix crash on second prompt #636
2022-09-17 00:57:35 -04:00
mauwii
b9183b00a0
add Content tabs
2022-09-17 06:34:38 +02:00
mauwii
7b28b5c9a1
update format in EMBIGGEN.md to make use of mkdocs
2022-09-17 05:17:21 +02:00
Lincoln Stein
994c6b7512
Merge branch 'development' into bug-fixes
2022-09-16 23:08:02 -04:00
blessedcoolant
42072fc15c
Bug Fixes
2022-09-17 14:12:35 +12:00
mauwii
103b30f915
update index.md with the new badges
2022-09-17 03:49:11 +02:00
psychedelicious
1799bf5e42
Merge remote-tracking branch 'upstream/development' into development
2022-09-17 11:28:42 +10:00
mauwii
17e755e062
shorten long commands in codeblocks
...
this way it looks much better in MkDocs Codeblocks (and ofc still works)
also remove a markdown styled link from a bash-codeblock
2022-09-17 03:05:13 +02:00
mauwii
ae963fcfdc
fix codeblock anotations
2022-09-17 02:56:02 +02:00
mauwii
3c732500e7
many updatedes to INSTALL_MAC.md
2022-09-17 02:46:59 +02:00
mauwii
cd494c2f6c
fix some markdown violations as well
2022-09-17 02:34:25 +02:00
mauwii
443fcd030f
change printWidth for markdown files to 80
...
since 80 is the defautl lenght
2022-09-17 02:23:00 +02:00
tildebyte
fefcdffb55
fix(readme): switch last-commit badge to last DEV commit ( #626 )
...
- switch badge service to badgen, as I couldn't figure out shields.io
Signed-off-by: Ben Alkov <ben.alkov@gmail.com>
Signed-off-by: Ben Alkov <ben.alkov@gmail.com>
2022-09-16 20:21:19 -04:00
mauwii
fa7fe382b7
remove protobuf from brew install docs
2022-09-17 02:10:16 +02:00
mauwii
d8d30ab4cb
separate toc by disabling toc.integrate
...
this way the leftside menu does not look so bloated and users can
find what they are looking for much faster
2022-09-17 02:08:37 +02:00
Lincoln Stein
61f46cac31
Merge branch 'development' of github.com:lstein/stable-diffusion into development
2022-09-16 19:59:17 -04:00
Lincoln Stein
df4c80f177
respect --outdir again; fix issue #628
2022-09-16 19:58:45 -04:00
Lincoln Stein
df95a7ddf2
respect --outdir again; fix issue #628
2022-09-16 19:58:16 -04:00