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
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
Lincoln Stein
34fa6e38e7
fix long hex-encoded error message from legacy server
...
- closes issue #618
2022-09-17 08:39:20 -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
Armando C. Santisbon
fb7a9f37e4
Set temporary instructions
...
Set temporary instructions to use the branch that can currently be
containerized.
2022-09-16 18:35:50 -05:00
Armando C. Santisbon
b4debcc4ad
Merge remote-tracking branch 'origin/main'
2022-09-16 18:24:21 -05:00
Lincoln Stein
622db491b2
change tensor length to 768 per #572
2022-09-16 18:25:43 -04:00
Armando C. Santisbon
0db8d6943c
Merge branch 'lstein:main' into main
2022-09-16 17:14:34 -05: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
Kent Keirsey
2b9f8e7218
Update to add Adobe Photoshop Guide for inpainting ( #617 )
...
* updating with Adobe instructions & assets
* Assets for Adobe guide
* correcting paths
2022-09-16 17:31:26 -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