psychedelicious
ef6609abcb
Updates frontend/README
2022-09-18 10:45:06 +10:00
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
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
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
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
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
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
psychedelicious
1799bf5e42
Merge remote-tracking branch 'upstream/development' into development
2022-09-17 11:28:42 +10: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
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
Peter Baylies
1e3200801f
Merge remote-tracking branch 'upstream/development' into development
2022-09-16 19:29:08 -04:00
Lincoln Stein
622db491b2
change tensor length to 768 per #572
2022-09-16 18:25:43 -04:00
James Reynolds
37e2418ee0
Added linux to the workflows ( #463 )
...
* 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>
Co-authored-by: Ben Alkov <ben.alkov@gmail.com>
Co-authored-by: Lincoln Stein <lincoln.stein@gmail.com>
2022-09-16 17:46:57 -04:00
SteveCaruso
40b61870f6
update Intel Mac instructions ( #599 )
...
Co-authored-by: Lincoln Stein <lincoln.stein@gmail.com>
2022-09-16 17:42:21 -04:00
冯不游
6cab2e0ca0
refine env rebuild tip ( #611 )
2022-09-16 17:32:52 -04:00
Kevin Schaul
ba4892e03f
Zero-pad intermediate image file names ( #616 )
2022-09-16 17:32:18 -04:00
Lincoln Stein
6cb6c4a911
restore static files for old web server
2022-09-16 17:27:08 -04:00
psychedelicious
693bed5514
Merge remote-tracking branch 'upstream/development' into development
2022-09-17 07:06:46 +10:00
Lincoln Stein
fe12c6c099
Squashed commit of the following:
...
commit 67fbaa7c31
Author: Lincoln Stein <lincoln.stein@gmail.com>
Date: Fri Sep 16 16:57:54 2022 -0400
reconciled conflicting changes to pngwriter call
commit ddc68b01f7
Merge: f9feaac
cbac95b
Author: psychedelicious <4822129+psychedelicious@users.noreply.github.com>
Date: Sat Sep 17 06:39:22 2022 +1000
Merge remote-tracking branch 'upstream/development' into development
commit f9feaac8c7
Author: psychedelicious <4822129+psychedelicious@users.noreply.github.com>
Date: Sat Sep 17 06:16:16 2022 +1000
Fixes metadata related to new args
commit d1de1e357a
Author: psychedelicious <4822129+psychedelicious@users.noreply.github.com>
Date: Sat Sep 17 06:15:55 2022 +1000
Fixes PromptFormatter import bug
2022-09-16 16:58:16 -04:00
Lincoln Stein
67fbaa7c31
reconciled conflicting changes to pngwriter call
2022-09-16 16:57:54 -04:00
psychedelicious
ddc68b01f7
Merge remote-tracking branch 'upstream/development' into development
2022-09-17 06:39:22 +10:00
psychedelicious
f9feaac8c7
Fixes metadata related to new args
2022-09-17 06:36:19 +10:00
psychedelicious
d1de1e357a
Fixes PromptFormatter import bug
2022-09-17 06:35:53 +10:00
Lincoln Stein
cbac95b02a
Merge with PR #602
...
- New and improved web api
- Author: @Kyle0654
2022-09-16 16:35:34 -04:00