Lincoln Stein
55d2094094
Protect invocations against black autoformatting ( #2854 )
...
This places `#fmt: off` and `#fmt: on` blocks around sections of the
invocation code that shouldn't be reformatted by Black.
2023-03-04 12:26:43 -05:00
Lincoln Stein
a0d50a2b23
Merge branch 'main' into formatting/undo-black-formatting-of-invocations
2023-03-04 12:05:11 -05:00
blessedcoolant
86e2cb0428
Fix for txt2img2img.py ( #2856 )
...
Fix error when using txt2img
ModuleNotFoundError: No module named 'invokeai.backend.models'
and
ModuleNotFoundError: No module named
'invokeai.backend.generator.diffusers_pipeline'
2023-03-04 15:24:39 +13:00
mickr777
53c2c0f91d
Update txt2img2img.py
2023-03-04 12:58:33 +11:00
mickr777
1bfdd54810
Update txt2img2img.py
2023-03-04 11:23:21 +11:00
Lincoln Stein
ab35c241c2
protect invocations against black autoformatting
2023-03-03 15:25:08 -05:00
Lincoln Stein
b3dccfaeb6
Final phase of source tree restructure ( #2833 )
...
# All python code has been moved under `invokeai`. All vestiges of `ldm`
and `ldm.invoke` are now gone.
***You will need to run `pip install -e .` before the code will work
again!***
Everything seems to be functional, but extensive testing is advised.
A guide to where the files have gone is forthcoming.
2023-03-03 15:05:41 -05:00
Lincoln Stein
6477e31c1e
revert and disable auto-formatting of invocations
2023-03-03 14:59:17 -05:00
Lincoln Stein
dd4a1c998b
merge localisation files that were added in main
2023-03-03 14:47:01 -05:00
Lincoln Stein
70203e6e5a
CODEOWNERS coarse draft
2023-03-03 14:36:43 -05:00
psychedelicious
d778a7c5ca
ui: translations update from weblate ( #2850 )
...
Translations update from [Hosted Weblate](https://hosted.weblate.org )
for [InvokeAI/Web
UI](https://hosted.weblate.org/projects/invokeai/web-ui/ ).
Current translation status:

2023-03-03 20:07:34 +11:00
LemonDouble
f8e59636cd
translationBot(ui): update translation (Korean)
...
Currently translated at 15.5% (73 of 469 strings)
translationBot(ui): added translation (Korean)
Co-authored-by: LemonDouble <lemondouble2@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/ko/
Translation: InvokeAI/Web UI
2023-03-03 10:06:13 +01:00
Airton Silva
2d1a0b0a05
translationBot(ui): update translation (Portuguese)
...
Currently translated at 12.7% (60 of 469 strings)
Co-authored-by: Airton Silva <airtonsilva2009@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/pt/
Translation: InvokeAI/Web UI
2023-03-03 10:06:13 +01:00
Dennis
c9b2234d90
translationBot(ui): update translation (Dutch)
...
Currently translated at 100.0% (469 of 469 strings)
Co-authored-by: Dennis <dennis@vanzoerlandt.nl>
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/nl/
Translation: InvokeAI/Web UI
2023-03-03 10:06:12 +01:00
Netzer R
82b224539b
translationBot(ui): update translation (Hebrew)
...
Currently translated at 100.0% (469 of 469 strings)
translationBot(ui): added translation (Hebrew)
Co-authored-by: Netz <pixi@pixelabs.net>
Co-authored-by: Netzer R <pixi@pixelabs.net>
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/he/
Translation: InvokeAI/Web UI
2023-03-03 10:06:12 +01:00
Gabriel Mackievicz Telles
0b15ffb95b
translationBot(ui): update translation (Portuguese)
...
Currently translated at 12.5% (59 of 469 strings)
translationBot(ui): added translation (Portuguese)
Co-authored-by: Gabriel Mackievicz Telles <telles.gabriel@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/pt/
Translation: InvokeAI/Web UI
2023-03-03 10:06:11 +01:00
psychedelicious
ce9aaab22f
translationBot(ui): added translation (Chinese (Traditional))
...
Co-authored-by: psychedelicious <mabianfu@icloud.com>
2023-03-03 10:06:11 +01:00
Lincoln Stein
3f53f1186d
move diagnostic message to stderr; was confusing CI
2023-03-03 01:54:48 -05:00
Lincoln Stein
c0aff396d2
fix ldm->invokeai pathnames in workflows
2023-03-03 01:44:55 -05:00
Lincoln Stein
955900507f
fix issue with invokeai.version
2023-03-03 01:34:38 -05:00
Lincoln Stein
d606abc544
fix weblint call
2023-03-03 01:09:56 -05:00
Lincoln Stein
44400d2a66
fix incorrect import of merge code
2023-03-03 01:07:31 -05:00
Lincoln Stein
60a98cacef
all vestiges of ldm.invoke removed
2023-03-03 01:02:00 -05:00
Lincoln Stein
6a990565ff
all files migrated; tweaks needed
2023-03-03 00:02:15 -05:00
Lincoln Stein
3f0b0f3250
almost all of backend migrated; restoration next
2023-03-02 13:28:17 -05:00
Lincoln Stein
1a7371ea17
remove unused embeddings code
2023-03-01 21:09:22 -05:00
Lincoln Stein
850d1ee984
move models and modules under invokeai/backend/ldm
2023-03-01 18:24:18 -05:00
Lincoln Stein
2c7928b163
remove pycaches from repo
2023-02-28 23:25:35 -05:00
Lincoln Stein
87d1ec6a4c
Merge branch 'main' into refactor/move-models-and-generators
2023-02-28 17:34:05 -05:00
Lincoln Stein
53c62537f7
fix newlines causing negative prompt to be parsed incorrectly ( #2837 )
...
closes #2753
2023-02-28 17:29:46 -05:00
Damian Stewart
418d93fdfd
fix newlines causing negative prompt to be parsed incorrectly
2023-02-28 22:37:28 +01:00
Lincoln Stein
f2ce2f1778
fix import of moved model_manager module
2023-02-28 08:38:14 -05:00
Lincoln Stein
5b6c61fc75
move models and generator into backend
2023-02-28 08:32:11 -05:00
Lincoln Stein
1d77581d96
restore behavior of !import_model; fix initial models bug
2023-02-28 00:45:56 -05:00
Lincoln Stein
3b921cf393
add more missing files
2023-02-28 00:37:13 -05:00
Lincoln Stein
d334f7f1f6
add missing files
2023-02-28 00:31:15 -05:00
Lincoln Stein
8c9764476c
first phase of source tree restructure
...
This is the first phase of a big shifting of files and directories
in the source tree.
You will need to run `pip install -e .` before the code will work again!
Here's what's in the current commit:
1) Remove a lot of dead code that dealt with checkpoint and safetensor loading.
2) Entire ckpt_generator hierarchy is now gone!
3) ldm.invoke.generator.* => invokeai.generator.*
4) ldm.model.* => invokeai.model.*
5) ldm.invoke.model_manager => invokeai.model.model_manager
6) In addition, a number of frequently-accessed classes can be imported
from the invokeai.model and invokeai.generator modules:
from invokeai.generator import ( Generator, PipelineIntermediateState,
StableDiffusionGeneratorPipeline, infill_methods)
from invokeai.models import ( ModelManager, SDLegacyType
InvokeAIDiffuserComponent, AttentionMapSaver,
DDIMSampler, KSampler, PLMSSampler,
PostprocessingSettings )
2023-02-27 23:52:46 -05:00
Kyle Schouviller
b7d5a3e0b5
[nodes] Add better error handling to processor and CLI ( #2828 )
...
* [nodes] Add better error handling to processor and CLI
* [nodes] Use more explicit name for marking node execution error
* [nodes] Update the processor call to error
2023-02-27 10:01:07 -08:00
Lincoln Stein
e0405031a7
add a workflow to close stale issues ( #2808 )
...
with values set as discussed in discord
2023-02-26 16:14:42 -05:00
Lincoln Stein
ee24b686b3
Merge branch 'main' into dev/ci/add-close-inactive-issues
2023-02-26 16:14:03 -05:00
Lincoln Stein
835eb14c79
Split requirements / pyproject installation in Dockerfile ( #2815 )
...
This should make caching way easier and therefore speed up the image
(re-)creation a lot.
Other small improvements:
- reorder .dockerignore
- rename amd flavor to rocm to align with cuda flavor
- use `user:group` for definitions
- add `--platform=${TARGETPLATFORM}` to base
2023-02-26 13:48:32 -05:00
Lincoln Stein
9aadf7abc1
Merge branch 'main' into dev/ci/add-close-inactive-issues
2023-02-26 13:13:42 -05:00
Lincoln Stein
243f9e8377
Merge branch 'main' into dev/docker/separate-req-inst
2023-02-26 13:13:07 -05:00
blessedcoolant
6e0c6d9cc9
perf(invoke_ai_web_server): encode intermediate result previews as jpeg ( #2817 )
...
For size savings of about 80%, and jpeg encoding is still plenty fast.
2023-02-26 18:47:51 +13:00
Kevin Turner
a3076cf951
perf(invoke_ai_web_server): encode intermediate result previews as jpeg
...
For size savings of about 80%, and jpeg encoding is still plenty fast.
2023-02-25 21:23:25 -08:00
blessedcoolant
6696882c71
doc(invoke_ai_web_server): put docstrings inside their functions ( #2816 )
...
Documentation strings are the first thing inside the function body.
https://docs.python.org/3/tutorial/controlflow.html#defining-functions
2023-02-26 18:20:10 +13:00
Kevin Turner
17b039e85d
doc(invoke_ai_web_server): put docstrings inside their functions
...
Documentation strings are the first thing inside the function body.
https://docs.python.org/3/tutorial/controlflow.html#defining-functions
2023-02-25 20:21:47 -08:00
mauwii
81539e6ab4
Merge remote-tracking branch 'upstream/main' into dev/docker/separate-req-inst
2023-02-26 00:55:03 +01:00
mauwii
92304b9f8a
remove pip-tools, still split requirements install
...
- also use user:group for definitions
- add `--platform=${TARGETPLATFORM}` to base
2023-02-26 00:53:43 +01:00
mauwii
ec1de5ae8b
more detailed volume parameters
2023-02-26 00:51:30 +01:00