psychedelicious
8d300bddd0
feat(ui): alias existing type for UpdateLoRAModelResponse
2023-07-28 11:38:52 +10:00
Lincoln Stein
aa2c94be9e
make LoRAs editable
2023-07-28 11:38:52 +10:00
Lincoln Stein
4c79350300
persist LoRA model info in models.yaml
2023-07-28 11:38:52 +10:00
Alexandre Macabies
10e1d623c3
Add LoRAs to the model manager.
2023-07-28 11:38:52 +10:00
ZachNagengast
aa1f827271
Fix unet_info location, can have no device prop
2023-07-27 14:47:09 -07:00
ZachNagengast
6edeb4e072
Pass device to set_timestep to avoid float64 error
2023-07-27 12:52:18 -07:00
Lincoln Stein
4a30773d09
Merge branch 'main' into feat/unify-logging
2023-07-27 15:25:56 -04:00
Brandon Rising
1ea9ba84f5
Release session if applying ti or lora
2023-07-27 15:20:38 -04:00
Lincoln Stein
64bd11541a
Merge branch 'main' into feat/unify-logging
2023-07-27 15:20:07 -04:00
Lincoln Stein
0d8f9cbe55
resolved conflicts with main
2023-07-27 15:11:25 -04:00
Lincoln Stein
fd75a1dd10
reformat with black
2023-07-27 15:01:00 -04:00
Brandon Rising
bfdc8c80f3
Testing caching onnx sessions
2023-07-27 14:13:29 -04:00
blessedcoolant
3bb81bedbd
Merge branch 'main' into unify-prompt
2023-07-28 05:36:04 +12:00
Mary Hipp Rogers
e191f6d4b2
prevent resize error ( #4031 )
...
* add upper bound for minWidth to prevent crash with cypress
* add fallback so UI doesnt crash when backend isnt running
---------
Co-authored-by: Mary Hipp <maryhipp@Marys-MacBook-Air.local>
2023-07-27 17:30:31 +00:00
blessedcoolant
b8b46aec09
Revert "fix: Lint Errors"
...
This reverts commit f057d5c85b
.
2023-07-28 04:34:41 +12:00
psychedelicious
4d2b87ea01
fix(ui): fix types for controlnet models
...
`ControlNetModelConfig` was split into `ControlNetModelCheckpointConfig` and `ControlNetModelDiffusersConfig`, need to update the UI types
2023-07-28 04:34:29 +12:00
Lincoln Stein
8023a23cec
beat uvicorn access log into submission
2023-07-27 12:05:17 -04:00
Lincoln Stein
e4c0102b3c
unified uvicorn access log entries too
2023-07-27 11:59:29 -04:00
Lincoln Stein
c4a2808a4b
use same logging infrastructure for uvicorn and backend
2023-07-27 11:24:07 -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
blessedcoolant
611f31c057
fix: Adjust embedding button on PositivePrompt for new changes
2023-07-28 03:07:50 +12:00
blessedcoolant
b60adc31d0
feat: Unify Prompt Area Design Between SDXL and Regular Models
2023-07-28 03:07:50 +12:00
blessedcoolant
a98ed3a5ba
fix: TextArea Resizer styling when disabled
2023-07-28 03:06:31 +12:00
blessedcoolant
f057d5c85b
fix: Lint Errors
2023-07-28 03:06:31 +12:00
Martin Kristiansen
218b6d0546
Apply black
2023-07-27 10:54:01 -04:00
Brandon Rising
a491e326c5
This is no longer needed
2023-07-27 10:52:36 -04:00
Brandon Rising
f7bb4c3f05
Remove more files no longer needed in main
2023-07-27 10:49:43 -04:00
Brandon Rising
33245b37ad
Removed things no longer needed in main
2023-07-27 10:23:55 -04:00
Brandon Rising
81d8fb8762
Removed things no longer needed in main
2023-07-27 10:14:55 -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
d2a46b4308
Fix dist and schema after merge
2023-07-27 09:55:28 -04:00
Brandon Rising
eb1ba8d74b
Merge branch 'main' into feat/onnx
2023-07-27 09:54:30 -04:00
Brandon Rising
4ebde013ea
Allow deleting onnx models in model manager ui
2023-07-27 09:50:20 -04:00
Brandon Rising
024f92f9a9
Add onnx models to the model manager UI
2023-07-27 09:37:37 -04:00
psychedelicious
6f54fe9003
fix(ui): fix types for controlnet models
...
`ControlNetModelConfig` was split into `ControlNetModelCheckpointConfig` and `ControlNetModelDiffusersConfig`, need to update the UI types
2023-07-27 15:46:50 +10:00
Lincoln Stein
be00a837cc
hotfix to remove duplicate key in INITIAL_MODELS
2023-07-27 00:38:18 -04:00
Lincoln Stein
dcb85b0097
rebuild frontend; bump version
2023-07-27 00:37:23 -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
3e441f773f
Documentation updates for SDXL license terms, invisible watermark ( #4012 )
...
## What type of PR is this? (check all applicable)
- [ ] Refactor
- [ ] Feature
- [ ] Bug Fix
- [ ] Optimization
- [X ] Documentation Update
- [ ] Community Node Submission
## Have you discussed this change with the InvokeAI team?
- [ ] Yes
- [X ] No, because they trust me
## Have you updated all relevant documentation?
- [ X] Yes
- [ ] No
## Description
* Added the RAIL++ license for SDXL
* Updated configure script with URLs for both the original RAIL-M and
RAIL++ licenses
* Added invisible watermark documentation and renamed doc file
* Updated documentation for installation
* Updated documentation on settings in invokeai.yaml
2023-07-26 23:11:58 -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
b8376a4932
Merge branch 'main' into fix/reduce-configure-vertical
2023-07-26 22:16:38 -04:00
psychedelicious
4bfbdb0d97
chore(ui): lint
2023-07-27 11:58:59 +10:00
psychedelicious
049e666412
fix(ui): revise metadata edges in linear graphs
...
- always add metadata to l2i nodes
- no metadata handling for inpaint, removed
2023-07-27 09:43:45 +10: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
Brandon Rising
4d732e06de
Remove onnx models from img2img and unified canvas
2023-07-26 16:30:02 -04:00
blessedcoolant
c90c4a32ee
Merge branch 'main' into metadata-fix
2023-07-27 08:08:11 +12:00
Brandon Rising
f26a423e95
Fix merge issue
2023-07-26 15:32:28 -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
blessedcoolant
7053347559
fix: Metadata Not Being Saved
2023-07-27 07:09:51 +12:00
Lincoln Stein
bf1f6619df
fix conversion for sd1 and sd2 models
2023-07-26 15:02:32 -04:00
Lincoln Stein
6bdcc32414
rebuild frontend for rc1 release (again)
2023-07-26 13:36:42 -04:00
Lincoln Stein
4f39c81dec
Merge branch 'main' into release/invokeai-3-0-1
2023-07-26 13:33:15 -04:00
blessedcoolant
3376968cbb
fix: Prompt Drawer Unpinned not having SDXL UI
2023-07-26 13:30:43 -04:00
blessedcoolant
0420d75d2b
fix: Improve Styling of SDXL Prompt Area
2023-07-26 13:30:43 -04:00
blessedcoolant
3bd9c27a79
feat: Add SDXL Style Prompt Concat Toggle
2023-07-26 13:30:43 -04:00
blessedcoolant
b6522cf2cf
fix: SDXL - Concat Prompt and Style for Style Prompt
2023-07-26 13:30:43 -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
Mary Hipp
f86d0d1b69
hide localization toggle
2023-07-26 10:55:38 -04:00
Brandon Rising
c16da75ac7
Merge branch 'main' into feat/onnx
2023-07-26 10:42:31 -04:00
Lincoln Stein
575ebaeb75
Merge PR #3944
2023-07-26 10:25:59 -04:00
Lincoln Stein
c7f883d22a
Merge branch 'main' into patch
2023-07-26 10:19:02 -04:00
Lincoln Stein
58ff5d3f5b
Merge branch 'main' into release/invokeai-3-0-1
...
- this includes the final set of PRs going into 3.0.1
2023-07-26 10:17:32 -04:00
Lincoln Stein
f060e321eb
NSFW checker and watermark nodes ( #3923 )
...
## What type of PR is this? (check all applicable)
- [ ] Refactor
- [ X] Feature
- [ ] Bug Fix
- [ ] Optimization
- [ ] Documentation Update
- [ ] Community Node Submission
## Have you discussed this change with the InvokeAI team?
- [ X] Yes
- [ ] No, because:
## Have you updated all relevant documentation?
- [X ] Yes
- [] No
## Description
This PR adds NSFW checker and invisible watermark fields. The NSFW
checker takes an image input and produces an image output. If NSFW
content is detected, the output image will be blurred and a "caution"
icon pasted into its upper left corner. A boolean `active` field
controls whether the checker is active. If turned off it simply returns
a copy of the image.
The invisible watermark node adds an invisible text to the image,
defaulting to "InvokeAI". To decode the watermark use the
`invisible-watermark` command, which is part of the
`invisible-watermark` library:
```
$ invisible-watermark -v -a decode -t bytes -m dwtDct -l 64 ./bluebird-watermark.png
decode time ms: 14.129877090454102
InvokeAI
```
Note that the `-l` (length) argument is mandatory. It is set to 64 here
because the watermark `InvokeAI` is 8 bytes/64 bits long. The length
must match in order for the watermark to be decoded correctly.
Both nodes are now incorporated into the linear Text2Image and
Image2Image UIs, including the canvas. They are not implemented for
inpaint currently.
The nodes can be disabled with configuration options:
```
invisible_watermark: false
nsfw_checker: false
```
or at launch time with `--no-invisible_watermark` and
`--no-nsfw_checker`.
2023-07-26 10:14:10 -04:00
psychedelicious
dc8c3d8073
feat(ui): tweak menu style, increase icon size
...
feat(ui) use `as` for menuitem links
I had requested this be done with the chakra `Link` component, but actually using `as` is correct according to the docs. For other components, you are supposed to use `Link` but looks like `MenuItem` has this built in.
Fixed in all places where we use it.
Also:
- fix github icon
- give menu hamburger button padding
- add menu motion props so it animates the same as other menus
feat(ui): restore ColorModeButton
@maryhipp
chore(ui): lint
feat(ui): remove colormodebutton again
sry
2023-07-27 00:12:23 +10:00
psychedelicious
819136c345
chore(ui): bump chakra versions
...
exposes more menu theming config
2023-07-27 00:12:23 +10:00
blessedcoolant
989b68c772
fix: Remove menu tooltip and fix incorrect issues page link
2023-07-27 00:12:23 +10:00
blessedcoolant
a6347a1d3c
revert: Translation strings
...
These needs to be done through weblate. Only en.json needs to updated via the repo
2023-07-27 00:12:23 +10:00
blessedcoolant
a00d1e87e4
fix: Update Links to Links from Menu Items
2023-07-27 00:12:23 +10:00
blessedcoolant
c7d24081e2
fix: Scheduler list in Settings not displaying labels
2023-07-27 00:12:23 +10:00
blessedcoolant
17900e5140
fix: Fix Settings dropdown menu icons being too small
2023-07-27 00:12:23 +10:00
Josh Corbett
6fa42cb10c
feat: ✨ consolidated app nav to settings & dropdown
2023-07-27 00:12:23 +10:00
Lincoln Stein
4bea846199
Merge branch 'main' into feat/safety-checker-node
2023-07-26 10:04:23 -04:00
Lincoln Stein
bf0587da5f
set defaults for watermark and NSFW checker to FALSE
2023-07-26 09:09:46 -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
c4f064bbf3
Merge branch 'main' into feat/controlnet-and-sdxl-convert
2023-07-26 07:30:22 -04:00
Lincoln Stein
3e206d4d6a
removed nsfw/watermark from invokeai.yaml
2023-07-26 06:53:35 -04:00
Lincoln Stein
ce7fa96dbc
Merge branch 'main' into feat/safety-checker-node
2023-07-26 06:39:46 -04:00
mickr777
36455f6cac
Merge branch 'main' into nodepromptsize
2023-07-26 18:54:54 +10:00
psychedelicious
30c3b7a6fc
fix(ui): fix invoke button being disabled
2023-07-26 18:40:17 +10:00
mickr777
2d0f932737
Lint Code
2023-07-26 18:35:04 +10:00
blessedcoolant
9e9dce44b4
fix: Embeddings not being sorted alphabetically
2023-07-26 20:34:14 +12:00
blessedcoolant
6fd8543e69
fix: LoRA's not being sorted alphabetically
2023-07-26 20:33:59 +12:00
psychedelicious
db48f3230b
feat(ui): add nsfw & watermark to linear ui
...
- add `addNSFWCheckerToGraph` and `addWatermarkerToGraph` functions
- use them in all linear graph creation
- add state & toggles to settings modal to enable these
- trigger queries for app config on socket connect
- disable the nsfw/watermark booleans if we get the app config and they are not available
2023-07-26 18:20:20 +10:00
blessedcoolant
397604a094
feat: Allow LoRA weights to be more than sliders via input
...
Found some LoRA's that need it.
2023-07-26 19:20:42 +12:00
blessedcoolant
f5139b174a
fix(ui): Rename Aspect Ratio labels to their aspect ratios
2023-07-26 18:56:52 +12:00
blessedcoolant
050e5091db
feat: Enable the Conversion button for SDXL Models
2023-07-26 17:32:50 +12:00
Lincoln Stein
2c5b539d3a
esrgan and its models are now nested in app config route
2023-07-26 15:27:04 +10: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
5beb11f4e2
tweaks in response to psychedelicious review of PR
2023-07-26 15:27:04 +10:00
Lincoln Stein
844d37c642
rebuild schema
2023-07-26 15:27:04 +10:00
Lincoln Stein
bd43751323
update linear graphs to perform safety checking and watermarking
2023-07-26 15:27:04 +10:00
Lincoln Stein
e32cd794f7
add safetychecker and watermark nodes
2023-07-26 15:26:45 +10:00
mickr777
761fc4beb8
Temp fix for is intermediate switch for l2i
2023-07-26 15:17:59 +10:00
psychedelicious
676051edb9
fix(ui): fix missing args for model queries
2023-07-26 14:56:51 +10:00
blessedcoolant
de65b82569
chore: Fix lint errors
2023-07-26 16:51:58 +12:00
blessedcoolant
934f9afd7e
feat(ui): Do not show SDXL Models in Canvas
2023-07-26 14:46:38 +10:00
psychedelicious
1c01a31ee8
feat(ui): setActiveTab only works with tab names
2023-07-26 14:46:38 +10:00
psychedelicious
c5389b3298
fix(ui): fix refiner steps math again
2023-07-26 14:46:38 +10:00
psychedelicious
fdbab5ffa9
feat(ui): hide sync models button if feature is disabled
2023-07-26 14:46:38 +10:00
psychedelicious
a6e544ebd5
fix(ui): fix refiner steps calculation for edge case of start = 1
2023-07-26 14:46:38 +10:00
psychedelicious
75b0507434
feat(nodes): change denoising start/end min/max to 0/1
2023-07-26 14:46:38 +10:00
blessedcoolant
59c2556e6b
feat: Move SDXL Image Denoising to own component
2023-07-26 14:46:38 +10:00
blessedcoolant
4fe889bbf8
fix: Possible fix to image to image / refiner setting sync
...
The main goal is to avoid noisy output no matter what the slider values are.
2023-07-26 14:46:38 +10:00
psychedelicious
cbcd416b70
fix(ui): fix refiner missing from model manager
...
Rolled back the earlier split of the refiner model query.
Now, when you use `useGetMainModelsQuery()`, you must provide it an array of base model types.
They are provided as constants for simplicity:
- ALL_BASE_MODELS
- NON_REFINER_BASE_MODELS
- REFINER_BASE_MODELS
Opted to just use args for the hook instead of wrapping the hook in another hook, we can tidy this up later if desired.
2023-07-26 14:46:38 +10:00
psychedelicious
6fa244a343
feat(ui): add vae precision select
2023-07-26 14:46:38 +10:00
psychedelicious
e5a660930c
feat(ui): add zod schemas for precision parameters
2023-07-26 14:46:38 +10:00
psychedelicious
61291ea105
feat: sdxl metadata
...
- update `CoreMetadata` class & `MetadataAccumulator` with fields for SDXL-specific metadata
- update the linear UI graphs to populate this metadata
2023-07-26 14:46:38 +10:00
psychedelicious
840205496a
feat(nodes): fix model load events on sdxl nodes
...
they need the `context` to be provided to emit socket events
2023-07-26 14:46:38 +10:00
psychedelicious
016797c890
feat(ui): add vaePrecision setting
...
no UI element for it yet
2023-07-26 14:46:38 +10:00
psychedelicious
00e69d5d12
feat(ui): adjust seed param styling
2023-07-26 14:46:38 +10:00
psychedelicious
8e90f9024d
feat(ui): remove isRefinerAvailable
state, update refiner node
...
We can derive `isRefinerAvailable` from the query result (eg are there any refiner models installed). This is a piece of server state, so by using the list models response directly, we can avoid needing to manually keep the client in sync with the server.
Created a `useIsRefinerAvailable()` hook to return this boolean wherever it is needed.
Also updated the main models & refiner models endpoints to only return the appropriate models. Now we don't need to filter the data on these endpoints.
2023-07-26 14:46:38 +10:00
psychedelicious
751c4407e4
feat(ui): add node type to invocation started
2023-07-26 14:46:38 +10:00
blessedcoolant
6c46304eb8
fix: Replug Image To Latents VAE back in the Refiner graph for img2img
2023-07-26 14:46:38 +10:00
blessedcoolant
0eb31c5710
fix: Cyclic push in the graph
2023-07-26 14:46:38 +10:00
blessedcoolant
6295e56d96
feat: Add SDXL Refiner to Linear UI
2023-07-26 14:46:38 +10:00
blessedcoolant
5202610160
feat: Move SDXL Refiner to own route & set appropriate disabled statuses
2023-07-26 14:46:38 +10:00
blessedcoolant
8d1b8179af
feat: Create UI for SDXL Refiner Options
2023-07-26 14:46:38 +10:00
blessedcoolant
3bdb059eb7
wip: SDXL Refiner UI Data
2023-07-26 14:46:38 +10:00
blessedcoolant
b0ebd148fa
feat: Add Style Prompts to Linear UI
2023-07-26 14:46:38 +10:00
blessedcoolant
9f94d0e52a
feat: Create SDXL Slice
2023-07-26 14:46:38 +10:00
blessedcoolant
9c180da58a
feat: Add SDXL Image To Image to Linear UI
2023-07-26 14:46:38 +10:00
blessedcoolant
57d833035d
feat: Add SDXL Base To Linear Text To Image
2023-07-26 14:46:38 +10:00
Lincoln Stein
c145681488
bump version number; add SDXL-1.0 to installer
2023-07-26 00:17:00 -04:00
Lincoln Stein
032e9c8165
Merge branch 'main' into patch
2023-07-25 22:24:36 -04:00
Lincoln Stein
dbc3d42afc
install all recommended models with --yes; don't alter starter model screen
2023-07-25 22:24:03 -04:00
Mary Hipp
7f5a89f567
add option to disable model syncing in UI
2023-07-26 11:18:38 +10: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
7ea477abef
Merge branch 'main' into feat/canvas-generation-mode
2023-07-24 20:34:25 +12:00
psychedelicious
61fa960a18
feat(ui): make generation mode calculation more granular
2023-07-24 18:16:15 +10:00
blessedcoolant
1969afd038
Merge branch 'main' into feat/fix-soft-locks
2023-07-24 20:12:10 +12: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
9c59083406
Merge branch 'main' into fix-types-1
2023-07-24 19:52:46 +12:00