Lincoln Stein
b537e92789
move tokenizer into cpu cache as well
2022-10-12 03:03:29 -04:00
Lincoln Stein
7c06849c4d
Merge branch 'model-switching' of github.com:invoke-ai/InvokeAI into model-switching
2022-10-12 02:39:57 -04:00
Lincoln Stein
488334710b
enable fast switching between models in invoke.py
...
- This PR enables two new commands in the invoke.py script
!models -- list the available models and their cache status
!switch <model> -- switch to the indicated model
Example:
invoke> !models
laion400m not loaded Latent Diffusion LAION400M model
stable-diffusion-1.4 active Stable Diffusion inference model version 1.4
waifu-1.3 cached Waifu anime model version 1.3
invoke> !switch waifu-1.3
>> Caching model stable-diffusion-1.4 in system RAM
>> Retrieving model waifu-1.3 from system RAM cache
The name and descriptions of the models are taken from
`config/models.yaml`. A future enhancement to `model_cache.py` will be
to enable new model stanzas to be added to the file
programmatically. This will be useful for the WebGUI.
More details:
- Use fast switching algorithm described in PR #948
- Models are selected using their configuration stanza name
given in models.yaml.
- To avoid filling up CPU RAM with cached models, this PR
implements an LRU cache that monitors available CPU RAM.
- The caching code allows the minimum value of available RAM
to be adjusted, but invoke.py does not currently have a
command-line argument that allows you to set it. The
minimum free RAM is arbitrarily set to 2 GB.
- Add optional description field to configs/models.yaml
Unrelated fixes:
- Added ">>" to CompViz model loading messages in order to make user experience
more consistent.
- When generating an image greater than defaults, will only warn about possible
VRAM filling the first time.
- Fixed bug that was causing help message to be printed twice. This involved
moving the import line for the web backend into the section where it is
called.
Coauthored by: @ArDiouscuros
2022-10-12 02:37:42 -04:00
Lincoln Stein
19341e95a6
enable fast switching between models in invoke.py
...
- This PR enables two new commands in the invoke.py script
!models -- list the available models and their cache status
!switch <model> -- switch to the indicated model
Example:
invoke> !models
laion400m not loaded Latent Diffusion LAION400M model
stable-diffusion-1.4 active Stable Diffusion inference model version 1.4
waifu-1.3 cached Waifu anime model version 1.3
invoke> !switch waifu-1.3
>> Caching model stable-diffusion-1.4 in system RAM
>> Retrieving model waifu-1.3 from system RAM cache
More details:
- Use fast switching algorithm described in PR #948
- Models are selected using their configuration stanza name
given in models.yaml.
- To avoid filling up CPU RAM with cached models, this PR
implements an LRU cache that monitors available CPU RAM.
- The caching code allows the minimum value of available RAM
to be adjusted, but invoke.py does not currently have a
command-line argument that allows you to set it. The
minimum free RAM is arbitrarily set to 2 GB.
- Add optional description field to configs/models.yaml
Unrelated fixes:
- Added ">>" to CompViz model loading messages in order to make user experience
more consistent.
- When generating an image greater than defaults, will only warn about possible
VRAM filling the first time.
- Fixed bug that was causing help message to be printed twice. This involved
moving the import line for the web backend into the section where it is
called.
2022-10-12 02:19:12 -04:00
Chloe
c82e94811b
Update Stable_Diffusion_AI_Notebook.ipynb
2022-10-11 21:42:31 -04:00
Chloe
c15a902e8d
Update Stable_Diffusion_AI_Notebook.ipynb
...
Making Stable_Diffusion_AI_Notebook.ipynb work smoothly on Google Colab
2022-10-11 21:42:31 -04:00
mauwii
ca6385e6fa
fix TEXTUAL_INVERSION.md emoji
2022-10-11 21:41:52 -04:00
mauwii
828ec1fb5c
fix emoji im PROMPTS.md
2022-10-11 21:41:52 -04:00
mauwii
1c687d6d03
more updates to many docs, including:
...
- better readability in dark mode since color change
- better looking changelog
- fix images which where not loading
- also center most of the images
- fix some syntax errors like
- headlines ending with a colon
- codeblocks with wrong fences
- codeblocks without shell
- update conda prompts from ldm to invokeai
- ....
2022-10-11 21:41:52 -04:00
Lincoln Stein
b9e910b5f4
add mostly functional model caching module
2022-10-11 17:24:10 -04:00
Jan Skurovec
101cac6a21
reintroduce fix for m1 from PR#579 missing after merge
...
Make results reproducible (so runs with the same seed produce the same result).
Implements fix by @wbowling referenced in https://github.com/invoke-ai/InvokeAI/issues/397#issuecomment-1240679294
2022-10-11 23:00:20 +02:00
Jan Skurovec
8ea07f3bb0
reintroduce fix for m1 from PR#579 missing after merge
...
Make results reproducible (so runs with the same seed produce the same result).
Implements fix by @wbowling referenced in https://github.com/invoke-ai/InvokeAI/issues/397#issuecomment-1240679294
2022-10-11 21:50:59 +02:00
Lincoln Stein
79e79b78aa
mkdocs fixes, PR #1032
...
Squashed commit of the following:
commit 2c1e0168bb03a2cd625f2d4aca40eee0fdf7e4af
Merge: 2325c6c
31f2733
Author: Lincoln Stein <lincoln.stein@gmail.com>
Date: Tue Oct 11 08:33:18 2022 -0400
Merge branch 'mkdocs-fixes' of https://github.com/mauwii/stable-diffusion into mauwii-mkdocs-fixes
commit 31f2733e89
Merge: d9d6d3a
a61a690
Author: Lincoln Stein <lincoln.stein@gmail.com>
Date: Tue Oct 11 08:05:52 2022 -0400
Merge branch 'main' into mkdocs-fixes
commit d9d6d3af3f
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 08:13:04 2022 +0200
some more minor, overseen fixes to IMG2IMG
commit 4ab5a2aeba
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 07:49:11 2022 +0200
add 4gotten alt-text to images
commit f778bd9c0f
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 07:18:11 2022 +0200
update OTHER.md
- fix codeblocks, add admonitions, embed graphic
commit a19f148a8e
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 06:51:29 2022 +0200
update IMG2IMG.md
commit c1f1dfa714
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 06:10:25 2022 +0200
update EMBIGGEN.md
- fix codeblocks
- fix toc
- use admonitions
commit 791e6c63ef
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 05:58:53 2022 +0200
better admonitions for CLI.md
commit e078025f00
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 05:50:32 2022 +0200
huge update to CLI.md
way too many updates to list them all, including:
- render keys for keyboard-shortcuts
- quote commands and "unhide" parameter-values (like `<int>`, `<string>`
- fix codeblocks
- quote commands
- quote filenames
- use admonitions
- ....
commit bd98dd2307
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 04:49:57 2022 +0200
fix INPAINTING.md
- fix numbered List
- replace text key combos with actual rendered keyboard keys
commit 5392000335
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 04:30:11 2022 +0200
fix nubered list and codeblocks in INSTALL_WINDOWS
commit ffe9276f1e
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 04:12:56 2022 +0200
fix numbered list in INSTALL_LINUX.md
also fix blank lines, codeblocks and admonition
commit 2c6a6a567f
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 03:51:03 2022 +0200
upgrade INSTALL_MAC.md:
- use annotations and content-tabs
yes, this looks ugly in repo afterwards, but plz also look at mkdocs:
https://mauwii.github.io/stable-diffusion/installation/INSTALL_MAC/
commit 8f6c544480
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 01:43:11 2022 +0200
comment out PR part in mkdocs-flow.yml
commit b52c14a67f
Merge: 97ebe58
a1b0b91
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 01:17:28 2022 +0200
Merge branch 'mkdocs-fixes' of github.com:mauwii/stable-diffusion into mkdocs-fixes
commit a1b0b91bb3
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 00:59:44 2022 +0200
fix conda env in codeblock
commit 5f9f9a266e
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 00:43:46 2022 +0200
fix 4gotten title in TEXTUAL_INVERSION
commit 8f025b034e
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 00:41:52 2022 +0200
quote repo_url and repo_name
otherwise the version/stars/forks did not appear
commit 3a52b7deb3
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 00:39:54 2022 +0200
fix TEXTUAL_INVERSION headline to fit the others
commit 389b21f966
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 00:35:48 2022 +0200
fix SAMPLER_CONVERGENCE and add emoji
commit f26fc79a18
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 00:32:04 2022 +0200
fix INSTALL_DOCKER.md:
- fix title (Docker instead of "Before you begin")
- add headline with Emoji
- fix headlines to render toc correct
commit cbc3520489
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 00:24:58 2022 +0200
add headline with emoji to INSTALL_MAC.md
commit 25f0614d66
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 00:21:01 2022 +0200
add log emoji to docs/CHANGELOG.md
commit 42005688fa
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 00:20:47 2022 +0200
use better fitting Icon for new Name
commit 0c65bad7f5
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 00:09:07 2022 +0200
add Headline with Emoji to WEB and POSTPROCESS
commit 1c1cf2692e
Author: mauwii <Mauwii@outlook.de>
Date: Mon Oct 10 23:56:16 2022 +0200
update index.md:
- remove unused template reference
- make headline rendered bold and underlined, add (kind of) subtitle
- update discord badge and link
- update Quick links to look like in GH-Readme
- also remove self reference to docs
- add screenshot as in GH-Readme
- add note pointing to issues tab
- update path in command line to reflect new Repo Name
commit 0e29b0737e
Author: mauwii <Mauwii@outlook.de>
Date: Mon Oct 10 23:23:10 2022 +0200
chng site_name to `Stable Diffusion Toolkit Docs`
commit ad8a60d992
Author: mauwii <Mauwii@outlook.de>
Date: Mon Oct 10 23:00:02 2022 +0200
fix repo_url in mkdocs.yml
commit 234569d6b6
Author: mauwii <Mauwii@outlook.de>
Date: Mon Oct 10 22:54:39 2022 +0200
fix link to upscaling in WEB.md and TOC
- TOC fixed by adding `#` to every headline after `## Parting remarks`
- add missing blank lines
commit 97c84ad824
Author: mauwii <Mauwii@outlook.de>
Date: Mon Oct 10 22:25:32 2022 +0200
fix broken links in docs/CHANGELOG.md
commit bce62b3a32
Author: mauwii <Mauwii@outlook.de>
Date: Mon Oct 10 22:15:37 2022 +0200
add title to CHANGELOG.md to render TOC wo. `**`
alternatively remove `**` around headline
commit 97ebe58b5b
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 00:59:44 2022 +0200
fix conda env in codeblock
commit 87ac217e43
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 00:43:46 2022 +0200
fix 4gotten title in TEXTUAL_INVERSION
commit 91439e8a52
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 00:41:52 2022 +0200
quote repo_url and repo_name
otherwise the version/stars/forks did not appear
commit 8a632a9e8f
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 00:39:54 2022 +0200
fix TEXTUAL_INVERSION headline to fit the others
commit 7c8ffe2feb
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 00:35:48 2022 +0200
fix SAMPLER_CONVERGENCE and add emoji
commit e2e86d2d11
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 00:32:04 2022 +0200
fix INSTALL_DOCKER.md:
- fix title (Docker instead of "Before you begin")
- add headline with Emoji
- fix headlines to render toc correct
commit 8b54c083fe
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 00:24:58 2022 +0200
add headline with emoji to INSTALL_MAC.md
commit 8d8a032434
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 00:21:01 2022 +0200
add log emoji to docs/CHANGELOG.md
commit 76519f6fa4
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 00:20:47 2022 +0200
use better fitting Icon for new Name
commit aff0725533
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 00:09:07 2022 +0200
add Headline with Emoji to WEB and POSTPROCESS
commit 0f7898cbdd
Author: mauwii <Mauwii@outlook.de>
Date: Mon Oct 10 23:56:16 2022 +0200
update index.md:
- remove unused template reference
- make headline rendered bold and underlined, add (kind of) subtitle
- update discord badge and link
- update Quick links to look like in GH-Readme
- also remove self reference to docs
- add screenshot as in GH-Readme
- add note pointing to issues tab
- update path in command line to reflect new Repo Name
commit f4c04eadf8
Author: mauwii <Mauwii@outlook.de>
Date: Mon Oct 10 23:23:10 2022 +0200
chng site_name to `Stable Diffusion Toolkit Docs`
commit 6e624827c0
Author: mauwii <Mauwii@outlook.de>
Date: Mon Oct 10 23:00:02 2022 +0200
fix repo_url in mkdocs.yml
commit 158848dd7e
Author: mauwii <Mauwii@outlook.de>
Date: Mon Oct 10 22:54:39 2022 +0200
fix link to upscaling in WEB.md and TOC
- TOC fixed by adding `#` to every headline after `## Parting remarks`
- add missing blank lines
commit 533736e135
Author: mauwii <Mauwii@outlook.de>
Date: Mon Oct 10 22:29:46 2022 +0200
fix link to truncation_comparison.jpg in OTHER.md
commit dd335142df
Author: mauwii <Mauwii@outlook.de>
Date: Mon Oct 10 22:25:32 2022 +0200
fix broken links in docs/CHANGELOG.md
commit 374dd54f30
Author: mauwii <Mauwii@outlook.de>
Date: Mon Oct 10 22:15:37 2022 +0200
add title to CHANGELOG.md to render TOC wo. `**`
alternatively remove `**` around headline
2022-10-11 08:36:00 -04:00
Lincoln Stein
2325c6cd40
Update index.md
...
Bump up disk requirements to 12 GB.
2022-10-11 08:17:37 -04:00
Lincoln Stein
3ec33414ec
Update README.md
...
Bump up disk storage requirements to 12 GB.
2022-10-11 08:16:36 -04:00
hj
a61a690f6c
Fix the url
2022-10-11 08:03:19 -04:00
blessedcoolant
06f542ed7a
Update .gitignore
2022-10-11 16:28:48 +13:00
Lincoln Stein
8954171eea
add steps for updating environment
...
Closes #1017
2022-10-10 18:16:08 -04:00
Lincoln Stein
e0e69ad279
Fix broken path in CodeFormer instructions
...
Closes #1023
2022-10-10 18:07:20 -04:00
Lincoln Stein
e3e8024e15
Update OTHER.md
...
Fix up reference to perlin demo image.
2022-10-10 18:04:14 -04:00
Lincoln Stein
c4cf888532
Update IMG2IMG.md
...
Fix merge messages inadvertently left in file.
2022-10-10 17:56:28 -04:00
Will
9eff9e5752
update mac instructions to use invokeai for env name
2022-10-10 17:45:18 -04:00
Nuno Coração
84c1825abc
fixed old reference to ldm on activate env
2022-10-10 17:44:30 -04:00
Rich Jones
0621dd7ed4
Fix two broken links in README
...
Trivial change, two links went to `.m` rather than `.md`.
2022-10-10 17:43:58 -04:00
Lincoln Stein
67ddba9cff
add discussion of samplers to VARIATIONS.md doc
2022-10-10 14:15:08 -04:00
Ben Alkov
cbf5426d27
fix(venv): rename 'ldm' -> 'invokeai'
2022-10-10 13:04:03 -04:00
Lincoln Stein
bac60ca21e
Update index.md
...
-add Discord link
2022-10-10 12:38:31 -04:00
Lincoln Stein
8e0d671488
Update README.md
2022-10-10 12:36:50 -04:00
Lincoln Stein
ee6deef14c
Update README.md
2022-10-10 12:33:00 -04:00
Lincoln Stein
5d8c048d0d
Update README.md
...
Add quick links to documentation, bug reports and discussion.
2022-10-10 11:33:45 -04:00
Lincoln Stein
f8fd6e39a3
add quicklinks to README
2022-10-10 11:28:53 -04:00
Lincoln Stein
dafca16c8b
Merge branch 'main' of github.com:invoke-ai/InvokeAI into main
2022-10-10 11:23:49 -04:00
Lincoln Stein
3449c05bf4
fix embedded images
2022-10-10 11:23:43 -04:00
Lincoln Stein
5c3fad22fd
Update mkdocs.yml
...
Changed owner and repo name
2022-10-10 11:11:06 -04:00
Lincoln Stein
425cf67ee5
bring gh-page landing page up to date
2022-10-10 11:05:14 -04:00
Lincoln Stein
4f9529db9e
Merge branch 'main' of github.com:invoke-ai/InvokeAI into main
2022-10-10 10:51:06 -04:00
Lincoln Stein
f3931a031d
update changelog for gh-pages
2022-10-10 10:50:59 -04:00
Lincoln Stein
a4995b7878
README fixes
...
-add screenshot of WebGUI
-remove redundant TOC
2022-10-10 10:03:55 -04:00
Lincoln Stein
10d8d1bb25
Merge branch 'main' of github.com:invoke-ai/InvokeAI into main
2022-10-10 09:35:54 -04:00
Lincoln Stein
b30ae57731
update web gui walkthrough
2022-10-10 09:35:40 -04:00
Lincoln Stein
b0bfbafd3d
update web gui walkthrough
2022-10-10 09:33:40 -04:00
Lincoln Stein
7c50bd2039
rebuild front end
2022-10-10 09:19:52 -04:00
Lincoln Stein
ae4e385abd
merge changes to mac installation instructions
2022-10-10 09:18:48 -04:00
Lincoln Stein
e301cd3321
Update OUTPAINTING.md
...
fix typo
2022-10-10 09:13:35 -04:00
Lincoln Stein
2977680ca1
add links for history processing
2022-10-10 09:13:35 -04:00
Lincoln Stein
2a5aa6e986
fix typos
2022-10-10 09:13:35 -04:00
Lincoln Stein
3bba41ee89
add more features to changelog
2022-10-10 09:13:35 -04:00
Lincoln Stein
179b5f7839
frontend rebuild
2022-10-10 09:13:35 -04:00
Lincoln Stein
26d7712f03
fix link error
2022-10-10 09:13:35 -04:00
Lincoln Stein
c0b370e1b9
add perlin noise to list of new features
2022-10-10 09:13:34 -04:00