Brandon Rising
2b7b3dd4ba
Run python black
2023-07-28 09:46:44 -04:00
Lincoln Stein
4c79350300
persist LoRA model info in models.yaml
2023-07-28 11:38:52 +10:00
Brandon Rising
1ea9ba84f5
Release session if applying ti or lora
2023-07-27 15:20:38 -04:00
Lincoln Stein
0d8f9cbe55
resolved conflicts with main
2023-07-27 15:11:25 -04:00
Brandon Rising
bfdc8c80f3
Testing caching onnx sessions
2023-07-27 14:13:29 -04:00
Brandon Rising
59716938bf
Remove TensorRT support at the current time until we validate it works, remove time step recorder
2023-07-27 11:18:50 -04:00
Martin Kristiansen
218b6d0546
Apply black
2023-07-27 10:54:01 -04:00
Brandon Rising
f7bb4c3f05
Remove more files no longer needed in main
2023-07-27 10:49:43 -04:00
Brandon Rising
989d3d7f3c
Remove onnx changes from canvas img2img, inpaint, and linear image2image
2023-07-27 10:08:45 -04:00
Brandon Rising
eb1ba8d74b
Merge branch 'main' into feat/onnx
2023-07-27 09:54:30 -04:00
Brandon Rising
024f92f9a9
Add onnx models to the model manager UI
2023-07-27 09:37:37 -04:00
Lincoln Stein
b67041dd29
Merge branch 'main' into bugfix/convert-sdxl-models
2023-07-27 00:24:37 -04:00
Lincoln Stein
c02b9db064
Merge branch 'main' into bugfix/convert-sdxl-models
2023-07-27 00:08:15 -04:00
Lincoln Stein
2e19b23eed
Merge branch 'main' into feat/install-finetune-sdxl-vae
2023-07-27 00:06:00 -04:00
Lincoln Stein
61aff8540c
fix refiner conversion
2023-07-27 00:02:10 -04:00
Lincoln Stein
2b7807e6a0
Merge branch 'main' into fix/yaml-file-delete
2023-07-26 23:45:43 -04:00
Lincoln Stein
77946bfea5
restore ability to convert SDXL checkpoints to diffusers
2023-07-26 23:28:58 -04:00
Lincoln Stein
d4d4d749f2
Merge branch 'release/invokeai-3-0-1'
2023-07-26 23:15:26 -04:00
Lincoln Stein
43fe8b1dda
Merge branch 'main' into fix/reduce-configure-vertical
2023-07-26 23:12:25 -04:00
Lincoln Stein
9c4acb9d3f
install SDXL "fixed" VAE
2023-07-26 23:06:27 -04:00
Lincoln Stein
451b8c96e5
do not overwrite models.yaml if it is well formed
2023-07-26 22:29:39 -04:00
Lincoln Stein
83a981b585
merge with main; fix SDXL repo_ids
2023-07-26 17:38:06 -04:00
Lincoln Stein
049645d66e
updated LICENSE files and added information about watermarking
2023-07-26 17:27:33 -04:00
Lincoln Stein
0100ac8f2d
Merge branch 'main' into release/invokeai-3-0-1
2023-07-26 15:27:06 -04:00
Lincoln Stein
020031f376
add all legacy model .yaml files to configs directory unconditionally
2023-07-26 15:17:00 -04:00
Lincoln Stein
bf1f6619df
fix conversion for sd1 and sd2 models
2023-07-26 15:02:32 -04:00
Brandon Rising
861c0fe76b
Correct issues caused by merging main
2023-07-26 12:25:46 -04:00
Lincoln Stein
af8fc6ff82
final polish before release candidate
...
- Fix issue that prevented web ui from starting if
ROOT/databases/invokeai.db not found.
- Rebuild front end
2023-07-26 10:59:23 -04:00
Brandon Rising
c16da75ac7
Merge branch 'main' into feat/onnx
2023-07-26 10:42:31 -04:00
Lincoln Stein
c7f883d22a
Merge branch 'main' into patch
2023-07-26 10:19:02 -04:00
Lincoln Stein
4bea846199
Merge branch 'main' into feat/safety-checker-node
2023-07-26 10:04:23 -04:00
Lincoln Stein
58c0bee325
improved error message for running configure
2023-07-26 08:30:01 -04:00
Lincoln Stein
b8f43f444a
implemented startup sanity checks on core models
2023-07-26 08:26:29 -04:00
Lincoln Stein
da76f6fee4
compress height needed by configure script
2023-07-26 08:00:19 -04:00
Lincoln Stein
3e206d4d6a
removed nsfw/watermark from invokeai.yaml
2023-07-26 06:53:35 -04:00
Lincoln Stein
85ad5ef204
refactored code; added watermark and nsfw facilities to app config route
2023-07-26 15:27:04 +10:00
Lincoln Stein
e32cd794f7
add safetychecker and watermark nodes
2023-07-26 15:26:45 +10:00
Lincoln Stein
dbc3d42afc
install all recommended models with --yes; don't alter starter model screen
2023-07-25 22:24:03 -04:00
Lincoln Stein
2db9b3b2ae
Merge branch 'main' into patch
2023-07-25 16:27:10 -04:00
Lincoln Stein
e43e198102
rework configure/install TUI to require less space
2023-07-25 11:25:26 -04:00
Lincoln Stein
2aefa921fe
fix "unknown model type" error when rebasing a model with API
...
- Add command-line model probing script for dev use
- Minor documentation tweak
2023-07-25 08:36:57 -04:00
Lincoln Stein
11e6ecc1bf
Merge branch 'main' into feat/controlnet-and-sdxl-convert
2023-07-25 08:05:17 -04:00
Lincoln Stein
fc4e104c61
tested on 3.11 and 3.10
2023-07-24 17:13:32 -04:00
blessedcoolant
d6bf6513ef
Merge branch 'main' into fix-types-2
2023-07-24 20:01:48 +12:00
camenduru
cbb90cbdbb
Download all model types.
2023-07-24 10:59:59 +03:00
blessedcoolant
0cf7a10c5c
fix: Other lora missing type
2023-07-24 18:58:24 +12:00
Alexandre Macabies
0beec08d38
Add missing import.
2023-07-23 16:40:05 +02:00
Lincoln Stein
f2a6f0cf21
SDXL & SDXL-refiner models convert correctly
2023-07-23 09:31:14 -04:00
Alexandre Macabies
07a90c0198
Fix incorrect use of a singleton list.
...
This was found through pylance type errors. Go types!
2023-07-23 15:28:05 +02:00
Lincoln Stein
5e59edfaf1
SDXL checkpoint models now convert and load; needs refactor
2023-07-23 00:00:31 -04:00
Lincoln Stein
b1d7c9b306
save text_encoder_2 config, not whole model
2023-07-22 21:33:40 -04:00
Lincoln Stein
5607794dbb
add support for controlnet & sdxl conversion - not fully working
2023-07-22 20:12:16 -04:00
Lincoln Stein
845d1524ad
warn, do not crash, when duplicate models encountered
2023-07-21 15:00:55 -04:00
Brandon Rising
78750042f5
Pass in dim overrides
2023-07-21 12:16:24 -04:00
psychedelicious
3f79812dc6
fix: mps attention fix for sd2
2023-07-21 09:22:37 -04:00
Lincoln Stein
5962d96f27
Merge branch 'main' into fix/long_tensors_mps
2023-07-20 23:24:47 -04:00
Lincoln Stein
9370572169
prettify startup messages
2023-07-20 22:45:35 -04:00
Sergey Borisov
e6d890888c
Replace SlicedAttnProcessor with patched to chunk memory consumption less then 4gb in each attention calculation pass
2023-07-21 04:08:49 +03:00
Lincoln Stein
85ef3f51e7
extra check for empty hftoken
2023-07-20 15:16:06 -04:00
Brandon Rising
ba1a934297
Fix Lora typings
2023-07-20 14:02:23 -04:00
Brandon Rising
4e90376d11
Allow passing in of precision, use available providers if none provided
2023-07-20 13:15:45 -04:00
Lincoln Stein
7deafa838b
merge with main
2023-07-20 11:45:54 -04:00
Lincoln Stein
b1a6ba552b
reinitialize models.yaml if corrupt or missing
2023-07-20 11:26:20 -04:00
Lincoln Stein
89a15f78dd
collapse all autoimport directories into a single folder
2023-07-20 09:01:49 -04:00
Lincoln Stein
cb29ac63a8
prevent crashes on quick install when hftoken not defined
2023-07-20 08:38:37 -04:00
user1
bab8b6d240
Removed diffusers_pipeline prepare_control_image() -- replaced with controlnet_utils.prepare_control_image()
...
Added resize_mode to ControlNetData class.
2023-07-20 00:41:49 -07:00
Lincoln Stein
12cae33dcd
fix inpaint model detection ( #3843 )
...
Co-authored-by: Lincoln Stein <lstein@gmail.com>
2023-07-20 12:57:14 +12:00
Brandon Rising
43b6a077fb
io binding seems to be massively resource intensive compared to session.run
2023-07-19 17:42:28 -04:00
Lincoln Stein
a1251c8e04
fix inpaint model detection
2023-07-19 13:30:00 -04:00
Lincoln Stein
8439e30798
Merge branch 'main' into release/invokeai-3-0-beta
2023-07-19 12:09:32 -04:00
Lincoln Stein
9c3a556813
Merge branch 'main' into fix/transformers_4_31_0
2023-07-19 09:35:52 -04:00
Lincoln Stein
0b6ef7eb7d
make the convert VAE available to model manager for use in UI
2023-07-19 09:05:24 -04:00
Brandon Rising
e8299d0abb
Comment out erroniously removed del statement, comment out opt tests
2023-07-18 23:23:34 -04:00
Sergey Borisov
2e7fc055c4
Support both pre and post 4.31.0 transformers
2023-07-19 06:15:17 +03:00
Brandon Rising
f4e52fafac
Fix as part of merging main in
2023-07-18 23:05:33 -04:00
Lincoln Stein
0f7e329e76
restore access token-saving code
2023-07-18 22:58:56 -04:00
Brandon Rising
ee7b36cea5
Merge branch 'main' into onnx-testing
2023-07-18 22:56:41 -04:00
Lincoln Stein
a690cca5b5
make convert work with both 4.30.2 and 4.31.0
2023-07-18 22:18:13 -04:00
Brandon Rising
e201ad2f51
Switch to io_binding for run, testing different session options
2023-07-18 21:54:54 -04:00
Sergey Borisov
0aa7193d3b
Load text_model.embeddings.position_ids outsude state_dict
2023-07-19 04:18:43 +03:00
Lincoln Stein
2fbf245c3d
Merge branch 'main' into release/invokeai-3-0-beta
...
-- this adds the upscaling support
2023-07-18 21:17:15 -04:00
Lincoln Stein
39c14eb2ac
fix pretrained model download to work with xl
2023-07-18 21:10:33 -04:00
Lincoln Stein
893e199677
Merge branch 'main' into feat/ui/upscale
2023-07-18 19:18:55 -04:00
blessedcoolant
186e98da5e
Merge branch 'main' into fix/mem_cleanup
2023-07-19 10:10:32 +12:00
Eugene Brodsky
dea9a5da7a
Avoid crash if unable to modify the model config file ( #3824 )
...
* fix whitespace; remove invisible characters
* log error and proceed if unable to modify the model config
2023-07-18 16:33:19 -04:00
Sergey Borisov
bda0000acd
Cleanup vram after models offloading, tweak to cleanup local variable references on ram offload
2023-07-18 23:21:18 +03:00
Brandon Rising
35d5ef9118
Emit step completions
2023-07-18 12:35:07 -04:00
StAlKeR7779
889b77d3d6
Merge branch 'main' into save_vram
2023-07-18 16:55:48 +03:00
Sergey Borisov
bc11296a5e
Disable lazy offloading on disabled vram cache, move resulted tensors to cpu(to not stack vram tensors in cache), fix - text encoder not freed(detach)
2023-07-18 16:20:25 +03:00
psychedelicious
42c440c73f
Merge branch 'main' into feat/ui/upscale
2023-07-18 22:08:02 +10:00
Lincoln Stein
9c3c393b84
merge with main
2023-07-18 07:00:55 -04:00
psychedelicious
56098f370c
feat(nodes): add RealESRGAN_x2plus.pth
, update upscale nodes
...
- add `RealESRGAN_x2plus.pth` model to installer
- add `RealESRGAN_x2plus.pth` to `realesrgan` node
- rename `RealESRGAN` to `ESRGAN` in nodes
- make `scale_factor` optional in `img_scale` node
2023-07-18 14:55:18 +10:00
Lincoln Stein
1353bf98b3
add specific exception for model probe failures
2023-07-17 23:08:39 -04:00
Lincoln Stein
025cda3815
fix 424 error on model import
2023-07-17 22:21:11 -04:00
blessedcoolant
13da881953
Merge branch 'main' into sdxl-support
2023-07-18 13:34:07 +12:00
blessedcoolant
ec3c15ead0
Merge branch 'main' into mm-ui
2023-07-18 12:58:57 +12:00
Sergey Borisov
0fce35c54c
Cleanup, fix variable name, fix controlnet for sequential and cross attention guidance
2023-07-17 23:53:50 +03:00
Brandon Rising
bcce70fca6
Testing different session opts, added timings for testing
2023-07-17 16:27:33 -04:00
Sergey Borisov
1c680a7147
Fix - encoder_attention_mask not passed before to unet, even if passed it will broke sequential guidance run, so rewrite logic
2023-07-17 23:13:37 +03:00
Lincoln Stein
0ea8d3c30c
prevent crash on rename operation on models in models directory
2023-07-17 07:50:06 -04:00