Lincoln Stein
5a6cefb0ea
add backslash to end of incomplete windows paths
2023-08-06 12:34:35 -04:00
Lincoln Stein
1a6f5f0860
use backslash on Windows systems for autoadded delimiter
2023-08-06 12:29:31 -04:00
Kevin Turner
5bfd6cb66f
Merge remote-tracking branch 'origin/main' into refactor/model_manager_instantiate
...
# Conflicts:
# invokeai/backend/model_management/model_manager.py
2023-08-05 22:02:28 -07:00
Kevin Turner
59caff7ff0
refactor(diffusers_pipeline): remove unused img2img wrappers 🚮
...
invokeai.app no longer needs this as a single method, as it builds on latents2latents instead.
2023-08-05 21:50:52 -07:00
Kevin Turner
6487e7d906
refactor(diffusers_pipeline): remove unused ModelGroup 🚮
...
orphaned since #3550 removed the LazilyLoadedModelGroup code, probably unused since ModelCache took over responsibility for sequential offload somewhere around #3335 .
2023-08-05 21:50:52 -07:00
Kevin Turner
77033eabd3
refactor(diffusers_pipeline): remove unused precision
🚮
2023-08-05 21:50:52 -07:00
Kevin Turner
b80abdd101
refactor(diffusers_pipeline): remove unused image_from_embeddings 🚮
2023-08-05 21:50:52 -07:00
Kevin Turner
006d782cc8
refactor(diffusers_pipeline): tidy imports 🚮
2023-08-05 21:50:52 -07:00
psychedelicious
d09dfc3e9b
fix(api): use db_location
instead of db_path_string
...
This may just be the SQLite memory sentinel value.
2023-08-06 14:09:04 +10:00
psychedelicious
66f524cae7
fix(mm): fix a lot of typing issues
...
Most fixes are just things being typed as `str` but having default values of `None`, but there are some minor logic changes.
2023-08-06 14:09:04 +10:00
psychedelicious
9ba50130a1
fix(api): fix db location types
...
The services all want strings instead of `Path`s; create variable for the string representation of the path provided by the config services.
2023-08-06 14:09:04 +10:00
psychedelicious
d4cf2d2666
fix(api): fix ApiDependencies.invoker
types
...
ApiDependencies.invoker` provides typing for the API's services layer. Marking it `Optional` results in all the routes seeing it as optional, which is not good.
Instead of marking it optional to satisfy the initial assignment to `None`, we can just skip the initial assignment. This preserves the IDE hinting in API layer and is types-legal.
2023-08-06 14:09:04 +10:00
Sergey Borisov
9aaf67c5b4
wip
2023-08-06 05:05:25 +03:00
psychedelicious
b8b589c150
fix(nodes): fix hsl nodes rebase conflict
2023-08-06 09:57:49 +10:00
Kent Keirsey
d93900a8de
Added HSL Nodes
2023-08-06 09:57:49 +10:00
Kevin Turner
80876bbbd1
Merge remote-tracking branch 'origin/refactor/model_manager_instantiate' into refactor/model_manager_instantiate
2023-08-05 15:25:05 -07:00
Kevin Turner
7a4ff4c089
Merge branch 'main' into refactor/model_manager_instantiate
2023-08-05 15:23:38 -07:00
Kevin Turner
44bf308192
test(model_management): add a couple tests for _get_model_path
2023-08-05 15:22:23 -07:00
Lincoln Stein
12e51c84ae
blackified
2023-08-05 14:26:16 -07:00
Lincoln Stein
0ccc3b509e
add techjedi's import script, with some filecompletion tweaks
2023-08-05 14:26:16 -07:00
Lincoln Stein
4043a4c21c
blackified
2023-08-05 12:44:58 -04:00
Lincoln Stein
83f75750a9
add techjedi's import script, with some filecompletion tweaks
2023-08-05 12:19:24 -04:00
Jonathan
dc96a3e79d
Fix random number generator
...
Passing in seed=0 is not equivalent to seed=None. The latter will get a new seed from entropy in the OS, and that's what we should be using.
2023-08-06 00:29:08 +10:00
Lincoln Stein
c076f1397e
rebuild frontend
2023-08-05 14:40:42 +10:00
Lincoln Stein
2568aafc0b
bump version number so that pip updates work
2023-08-05 14:40:42 +10:00
Kevin Turner
65ed224bfc
Merge branch 'main' into refactor/model_manager_instantiate
2023-08-04 21:34:38 -07:00
psychedelicious
b6e369c745
chore: black
2023-08-05 12:28:35 +10:00
gogurtenjoyer
ecabfc252b
devices.py - Update MPS FP16 check to account for upcoming MacOS Sonoma
...
float16 doesn't seem to work on MacOS Sonoma due to further changes with Metal. This'll default back to float32 for Sonoma users.
2023-08-05 12:28:35 +10:00
psychedelicious
da96a41103
Merge branch 'main' into feat/select-vram-in-config
2023-08-05 12:11:50 +10:00
psychedelicious
eb6c317f04
chore: black
2023-08-05 12:05:24 +10:00
psychedelicious
6d7223238f
fix: fix typo in message
2023-08-05 12:05:24 +10:00
Damian Stewart
8607d124c5
improve message about the consequences of the --ignore_missing_core_models flag
2023-08-05 12:05:24 +10:00
Damian Stewart
23497bf759
add --ignore_missing_core_models
CLI flag to bypass checking for missing core models
2023-08-05 12:05:24 +10:00
Kevin Turner
b10cf20eb1
Merge branch 'main' into refactor/model_manager_instantiate
...
# Conflicts:
# invokeai/backend/model_management/model_manager.py
2023-08-04 18:28:18 -07:00
StAlKeR7779
9bacd77a79
Merge branch 'main' into bugfix/fp16-models
2023-08-05 01:42:43 +03:00
Lincoln Stein
1b158f62c4
resolve vae overrides correctly
2023-08-04 18:24:47 -04:00
Lincoln Stein
6ad565d84c
folded in changes from 4099
2023-08-04 18:24:47 -04:00
Sergey Borisov
04229082d6
Provide ti name from model manager, not from ti itself
2023-08-04 18:24:47 -04:00
Sergey Borisov
f0613bb0ef
Fix merge conflict resolve - restore full/diff layer support
2023-08-04 19:53:27 +03:00
StAlKeR7779
0e9f92b868
Merge branch 'main' into feat/sdxl_lora
2023-08-04 19:22:13 +03:00
psychedelicious
7d0cc6ec3f
chore: black
2023-08-05 02:04:22 +10:00
Sergey Borisov
2f8b928486
Add support for diff/full lora layers
2023-08-05 02:04:22 +10:00
StAlKeR7779
0d3c27f46c
Fix typo
...
Co-authored-by: Ryan Dick <ryanjdick3@gmail.com>
2023-08-04 11:44:56 -04:00
Sergey Borisov
cff91f06d3
Add lora apply in sdxl l2l node
2023-08-04 11:44:56 -04:00
Lincoln Stein
1d5d187ba1
model probe detects sdxl lora models
2023-08-04 11:44:56 -04:00
Sergey Borisov
1ac14a1e43
add sdxl lora support
2023-08-04 11:44:56 -04:00
Mary Hipp
cfc3a20565
autoAddBoardId should always be defined
2023-08-04 22:19:11 +10:00
Lincoln Stein
f06fee4581
Merge branch 'main' into remove-onnx-model-check-from-pipeline-download
2023-08-03 22:02:05 -04:00
Lincoln Stein
0a0b7141af
Merge branch 'main' into feat/execution-stats
2023-08-03 19:49:00 -04:00
Lincoln Stein
1deca89fde
Merge branch 'main' into feat/select-vram-in-config
2023-08-03 19:27:58 -04:00
Lincoln Stein
446fb4a438
blackify
2023-08-03 19:24:23 -04:00
Lincoln Stein
ab5d938a1d
use variant instead of revision
2023-08-03 19:23:52 -04:00
Brandon
9942af756a
Merge branch 'main' into remove-onnx-model-check-from-pipeline-download
2023-08-03 10:10:51 -04:00
Lincoln Stein
06742faca7
Merge branch 'feat/execution-stats' of github.com:invoke-ai/InvokeAI into feat/execution-stats
2023-08-03 08:48:05 -04:00
Lincoln Stein
d2bddf7f91
tweak formatting to accommodate longer runtimes
2023-08-03 08:47:56 -04:00
Kevin Turner
91ebf9f76e
Merge branch 'main' into refactor/model_manager_instantiate
2023-08-02 19:01:21 -07:00
psychedelicious
bf94412d14
feat: add multi-select to gallery
...
multi-select actions include:
- drag to board to move all to that board
- right click to add all to board or delete all
backend changes:
- add routes for changing board for list of image names, deleting list of images
- change image-specific routes to `images/i/{image_name}` to not clobber other routes (like `images/upload`, `images/delete`)
- subclass pydantic `BaseModel` as `BaseModelExcludeNull`, which excludes null values when calling `dict()` on the model. this fixes inconsistent types related to JSON parsing null values into `null` instead of `undefined`
- remove `board_id` from `remove_image_from_board`
frontend changes:
- multi-selection stuff uses `ImageDTO[]` as payloads, for dnd and other mutations. this gives us access to image `board_id`s when hitting routes, and enables efficient cache updates.
- consolidate change board and delete image modals to handle single and multiples
- board totals are now re-fetched on mutation and not kept in sync manually - was way too tedious to do this
- fixed warning about nested `<p>` elements
- closes #4088 , need to handle case when `autoAddBoardId` is `"none"`
- add option to show gallery image delete button on every gallery image
frontend refactors/organisation:
- make typegen script js instead of ts
- enable `noUncheckedIndexedAccess` to help avoid bugs when indexing into arrays, many small changes needed to satisfy TS after this
- move all image-related endpoints into `endpoints/images.ts`, its a big file now, but this fixes a number of circular dependency issues that were otherwise felt impossible to resolve
2023-08-03 11:46:59 +10:00
Lincoln Stein
e080fd1e08
blackify
2023-08-03 11:25:20 +10:00
Lincoln Stein
eeef1e08f8
restore ability to convert merged inpaint .safetensors files
2023-08-03 11:25:20 +10:00
Mary Hipp
b3b94b5a8d
use correct prop
2023-08-03 11:01:21 +10:00
Mary Hipp
5c9787c145
add project-id header to requests
2023-08-03 11:01:21 +10:00
psychedelicious
cf72eba15c
Merge branch 'main' into feat/execution-stats
2023-08-03 10:53:25 +10:00
psychedelicious
a6f9396a30
fix(db): retrieve metadata even when no session_id
...
this was unnecessarily skipped if there was no `session_id`.
2023-08-03 10:43:44 +10:00
Kevin Turner
02d2cc758d
Merge branch 'main' into refactor/model_manager_instantiate
2023-08-02 17:11:23 -07:00
Damian Stewart
4e0949fa55
fix .swap() by reverting improperly merged @classmethod change
2023-08-03 10:00:43 +10:00
Kevin Brack
26ef5249b1
guard board switching in board context menu
2023-08-03 09:18:46 +10:00
Kevin Brack
87424be95d
block auto add board change during generation. Switch condition to isProcessing
2023-08-03 09:18:46 +10:00
Kevin Brack
366952f810
fix localization
2023-08-03 09:18:46 +10:00
Kevin Brack
450e95de59
auto change board waiting for isReady
2023-08-03 09:18:46 +10:00
Kevin Brack
0ba8a0ea6c
Board assignment changing on click
2023-08-03 09:18:46 +10:00
Lincoln Stein
f4981f26d5
Merge branch 'main' into bugfix/fp16-models
2023-08-02 19:17:55 -04:00
Lincoln Stein
921ccad04d
added stats service to the cli_app startup
2023-08-02 18:41:43 -04:00
Lincoln Stein
008362918e
Merge branch 'main' into feat/execution-stats
2023-08-02 18:15:51 -04:00
Lincoln Stein
8fc75a71ee
integrate correctly into app API and add features
...
- Create abstract base class InvocationStatsServiceBase
- Store InvocationStatsService in the InvocationServices object
- Collect and report stats on simultaneous graph execution
independently for each graph id
- Track VRAM usage for each node
- Handle cancellations and other exceptions gracefully
2023-08-02 18:10:52 -04:00
Brandon
82d259f43b
Merge branch 'main' into remove-onnx-model-check-from-pipeline-download
2023-08-02 16:35:46 -04:00
Lincoln Stein
ec48779080
blackify
2023-08-02 14:28:19 -04:00
Lincoln Stein
bc20fe4cb5
Merge branch 'main' into feat/select-vram-in-config
2023-08-02 14:27:17 -04:00
Lincoln Stein
5de42be4a6
reduce VRAM cache default; take max RAM from system
2023-08-02 14:27:13 -04:00
Lincoln Stein
0db1e97119
Merge branch 'main' into refactor/cleanup-root-detection
2023-08-02 09:46:46 -04:00
Lincoln Stein
29ac252501
blackify
2023-08-02 09:44:06 -04:00
Lincoln Stein
880727436c
fix default vram cache size calculation
2023-08-02 09:43:52 -04:00
Lincoln Stein
77c5c18542
add slider for VRAM cache
2023-08-02 09:11:24 -04:00
Brandon Rising
ed76250dba
Stop checking for unet/model.onnx when a model_index.json is detected
2023-08-02 07:21:21 -04:00
Lincoln Stein
4d22cafdad
Installer should download fp16 models if user has specified 'auto' in config
...
- Closes #4127
2023-08-01 22:06:27 -04:00
Kevin Turner
1f9e984b0d
Merge branch 'main' into refactor/model_manager_instantiate
2023-08-01 16:49:39 -07:00
Lincoln Stein
8a4e5f73aa
reset stats on exception
2023-08-01 19:39:42 -04:00
psychedelicious
4599575e65
fix(ui): use const
for wsProtocol
, lint
2023-08-02 09:26:20 +10:00
Zerdoumi
242d860a47
fix https/wss behind reverse proxy
2023-08-02 09:26:20 +10:00
Lincoln Stein
fd7b842419
add execution stat reporting after each invocation
2023-08-01 17:44:09 -04:00
Kevin Turner
5998509888
Merge branch 'main' into refactor/model_manager_instantiate
2023-08-01 11:09:43 -07:00
blessedcoolant
dcc274a2b9
feat: Make ModelListWrapper instead of rendering conditionally
2023-08-01 22:50:10 +10:00
blessedcoolant
f404669831
fix: Rename loading vars for consistency
2023-08-01 22:42:05 +10:00
blessedcoolant
ce687b28ef
fix: Model Manager Tab Issues
2023-08-01 22:41:32 +10:00
psychedelicious
7292d89108
Merge branch 'main' into refactor/cleanup-root-detection
2023-08-01 22:14:56 +10:00
psychedelicious
fb8f218901
fix(ui): post-onnx fixes
2023-08-01 07:59:01 -04:00
Lincoln Stein
df53b62048
get rid of dangling debug statements
2023-07-31 22:39:11 -04:00
Lincoln Stein
55d3f04476
additional refactoring
2023-07-31 22:36:11 -04:00
Lincoln Stein
72ebe2ce68
refactor root directory detection to be cleaner
2023-07-31 22:30:06 -04:00
Lincoln Stein
7cd8b2f207
Refactor root detection code
2023-07-31 21:15:44 -04:00
psychedelicious
52437205bb
chore(ui): lint
2023-08-01 08:54:03 +10:00
Mary Hipp
ceebb501a4
try named export
2023-08-01 08:54:03 +10:00
Mary Hipp
cbe874b964
add chakra as peer dep
2023-08-01 08:54:03 +10:00
Mary Hipp
e2e5918ee2
export theme nad move chakra to peer dep
2023-08-01 08:54:03 +10:00
Mary Hipp
1b131e328a
add optional projectId - unused so far
2023-08-01 08:54:03 +10:00
Kent Keirsey
746afcd235
Merge branch 'main' into feat/onnx
2023-07-31 16:56:34 -04:00
Brandon Rising
aeac557c41
Run python black, point out that onnx is an alpha feature in the installer
2023-07-31 16:47:48 -04:00
Brandon
af4fd328a6
Merge branch 'main' into feat/onnx
2023-07-31 16:45:12 -04:00
Lincoln Stein
c40c7424b6
Merge branch 'main' into fix-optional
2023-07-31 15:59:12 -04:00
Kevin Turner
bacdf985f1
doc(model_manager): docstrings
2023-07-31 09:16:32 -07:00
Kevin Turner
e3519052ae
Merge remote-tracking branch 'origin/main' into refactor/model_manager_instantiate
2023-07-31 08:46:09 -07:00
Brandon Rising
b0e84c6497
Add python black check to pre-commit
2023-07-31 11:42:08 -04:00
Brandon Rising
f784e8412c
Some cleanup after the merge
2023-07-31 11:23:43 -04:00
Brandon Rising
1bafbafdd3
Regen schema and rebuild frontend after merging main
2023-07-31 11:02:15 -04:00
Brandon Rising
f5ac73b091
Merge branch 'main' into feat/onnx
2023-07-31 10:58:40 -04:00
psychedelicious
2c07f54b6e
Merge branch 'main' into fix-optional
2023-07-31 16:31:01 +10:00
Lincoln Stein
f4ead5e07f
fix keyerror bug that was causing merge script to crash
2023-07-30 19:25:44 -04:00
Lincoln Stein
2164da8592
blackify
2023-07-30 16:25:06 -04:00
Kevin Turner
adfd1e52f4
refactor(model_manager): avoid copy/paste logic
2023-07-30 11:53:12 -07:00
Kevin Turner
0e48c98330
Merge remote-tracking branch 'origin/main' into refactor/model_manager_instantiate
...
# Conflicts:
# invokeai/backend/model_management/model_manager.py
2023-07-30 11:33:13 -07:00
Lincoln Stein
4121c261a0
fix missing models when INVOKEAI_ROOT="."
2023-07-30 13:37:18 -04:00
Lincoln Stein
99823d5039
more fixes to update and install
2023-07-30 11:57:06 -04:00
Lincoln Stein
83d3f2347e
fix "unrecognized arguments: --yes" bug on unattended upgrade
2023-07-30 11:07:06 -04:00
Alexandre Macabies
50e00feceb
Add missing Optional on a few nullable fields.
2023-07-30 16:25:12 +02:00
Lincoln Stein
adb85036e6
dependency tweaks to avoid installing/uninstalling pkgs
2023-07-30 10:17:04 -04:00
Lincoln Stein
7d7a9273ed
Merge branch 'main' of github.com:invoke-ai/InvokeAI
2023-07-30 09:19:14 -04:00
Lincoln Stein
f91d01eb38
Merge branch 'main' into bugfix/model-manager-rel-paths
2023-07-30 08:25:37 -04:00
Lincoln Stein
cafcd16657
Merge branch 'main' into install/tui-tweaks
2023-07-30 08:19:45 -04:00
Lincoln Stein
2537ff0280
Merge branch 'main' into bugfix/model-manager-rel-paths
2023-07-30 08:17:36 -04:00
Lincoln Stein
e20c4dc1e8
blackified
2023-07-30 08:17:10 -04:00
Lincoln Stein
ac84a9f915
reenable display of autoloaded models
2023-07-30 08:05:05 -04:00
Lincoln Stein
844578ab88
fix lora loading crash
2023-07-30 07:57:10 -04:00
Kevin Turner
ff1c40747e
lint: formatting
2023-07-29 20:02:31 -07:00
Kevin Turner
dbfd1bcb5e
Merge branch 'main' into refactor/model_manager_instantiate
2023-07-29 19:53:21 -07:00
Lincoln Stein
444390617f
rebuild front end
2023-07-29 22:00:16 -04:00
Lincoln Stein
6cb40d9d7b
bump version for hotfix 3.0.1post1
2023-07-29 21:58:57 -04:00
Lincoln Stein
43b1eb8e84
wording changes
2023-07-29 19:49:58 -04:00
Lincoln Stein
b10b07220e
blackify code
2023-07-29 19:20:20 -04:00
Lincoln Stein
73f3b7f84b
remove dangling comment
2023-07-29 17:32:33 -04:00
Lincoln Stein
bb18251fad
Merge branch 'bugfix/convert-script' of github.com:invoke-ai/InvokeAI into bugfix/convert-script
2023-07-29 17:31:02 -04:00
Lincoln Stein
348bee8981
blackified
2023-07-29 17:30:54 -04:00
Lincoln Stein
078b33bda2
Merge branch 'main' into bugfix/convert-script
2023-07-29 17:30:40 -04:00
Lincoln Stein
e82eb0b9fc
add correct optional annotation to precision arg
2023-07-29 17:30:21 -04:00
Lincoln Stein
ad976e5198
Merge branch 'main' into bugfix/model-manager-rel-paths
2023-07-29 17:27:16 -04:00
Lincoln Stein
1de783b1ce
fix mistake in indexing flat_ema_key
2023-07-29 17:20:26 -04:00
Lincoln Stein
3f9105be50
make convert script respect setting of use_ema in config file
2023-07-29 17:17:45 -04:00
Lincoln Stein
781322a647
installer respects INVOKEAI_ROOT for default root location
2023-07-29 16:16:44 -04:00
Lincoln Stein
2a2d988928
convert script handles more ckpt variants
2023-07-29 15:28:39 -04:00
Kevin Turner
ccceb32a85
lint: formatting
2023-07-29 11:50:04 -07:00
Lincoln Stein
72c519c6ad
fix incorrect key construction
2023-07-29 13:51:47 -04:00
Lincoln Stein
24b19166dd
further refactoring
2023-07-29 13:13:22 -04:00
Lincoln Stein
0fb7328022
blackify code
2023-07-29 13:00:43 -04:00
Lincoln Stein
99daa97978
more refactoring; fixed place where rel conversion missed
2023-07-29 13:00:07 -04:00
Kevin Turner
21617e60e1
Merge remote-tracking branch 'origin/main' into refactor/model_manager_instantiate
2023-07-29 08:21:26 -07:00
Lincoln Stein
982a568349
blackify pr
2023-07-29 10:47:55 -04:00
Lincoln Stein
d79d5a4ff7
modest refactoring
2023-07-29 10:45:26 -04:00
Lincoln Stein
9968ff2893
fix relative model paths to be against config.models_path, not root
2023-07-29 10:30:27 -04:00
blessedcoolant
6d82a1019a
fix: Black linting
2023-07-29 17:34:43 +12:00
blessedcoolant
6ed1bf7084
Merge branch 'main' into metadata-fix
2023-07-29 17:33:30 +12:00
Kevin Turner
86b8b69e88
internal(ModelManager): add instantiate method
2023-07-28 22:30:25 -07:00
Kevin Turner
bc9a5038fd
refactor(ModelManager): factor out get_model_path
2023-07-28 22:29:36 -07:00
blessedcoolant
bee678fdd1
fix: Prompt Node using incorrect output type
2023-07-29 17:12:25 +12:00
blessedcoolant
c5caf1e8fe
fix: SDXL Metadata not being retrieved
2023-07-29 17:03:19 +12:00
Kevin Turner
b163ae6a4d
refactor(ModelManager): factor out get_model_config
2023-07-28 21:30:20 -07:00
Kevin Turner
dca685ac25
refactor(ModelManager): refactor rescan-on-miss to exists() method
2023-07-28 21:11:00 -07:00
blessedcoolant
aae1670080
fix: Incorrect Prompt Node output type
2023-07-29 16:04:19 +12:00
Kevin Turner
e70bedba7d
refactor(ModelManager): factor out _get_implementation method
2023-07-28 21:03:27 -07:00
blessedcoolant
1e776d2523
chore: Regen types
2023-07-29 15:59:52 +12:00
blessedcoolant
8e06e6abbc
feat: Update 'style' string input to also display text area
2023-07-29 15:52:59 +12:00
blessedcoolant
8a0e1b6cfc
feat: Create Prompt Input Node
2023-07-29 15:52:37 +12:00
mickr777
2d9bc79ca4
Merge branch 'main' into nodepromptsize
2023-07-29 12:43:29 +10:00
mickr777
6886eb094d
Make more Simple
2023-07-29 12:40:17 +10:00
Brandon Rising
6ca0c38ee3
Merge branch 'main' into feat/onnx
2023-07-28 22:06:28 -04:00
Lincoln Stein
ac22652686
rebuild front end
2023-07-28 18:21:05 -04:00
Lincoln Stein
3e4420c1ae
bugfix: Float64 error for mps devices on set_timesteps ( #4040 )
...
## What type of PR is this? (check all applicable)
- [ ] Refactor
- [ ] Feature
- [x] Bug Fix
- [ ] Optimization
- [ ] Documentation Update
- [ ] Community Node Submission
## Have you discussed this change with the InvokeAI team?
- [ ] Yes
- [x] No, because: minor fix, let me know your thoughts
## Have you updated all relevant documentation?
- [x] Yes
- [ ] No
## Description
## Related Tickets & Documents
<!--
For pull requests that relate or close an issue, please include them
below.
For example having the text: "closes #1234 " would connect the current
pull
request to issue 1234. And when we merge the pull request, Github will
automatically close the issue.
-->
- Related Issue # https://github.com/invoke-ai/InvokeAI/issues/4017
- Closes #
## QA Instructions, Screenshots, Recordings
<!--
Please provide steps on how to test changes, any hardware or
software specifications as well as any other pertinent information.
-->
## Added/updated tests?
- [ ] Yes
- [x] No : Requires mps device
## [optional] Are there any post deployment tasks we need to perform?
Please test on an MPS (M1/M2) device.
Relevant code causing the error in #4017
01b6ec21fa/src/diffusers/schedulers/scheduling_euler_discrete.py (L263C3-L268C75)
```
self.sigmas = torch.from_numpy(sigmas).to(device=device)
if str(device).startswith("mps"):
# mps does not support float64
self.timesteps = torch.from_numpy(timesteps).to(device, dtype=torch.float32)
else:
self.timesteps = torch.from_numpy(timesteps).to(device=device)
```
2023-07-28 18:02:39 -04:00
Brandon Rising
390ce9f249
Fix onnx installer
2023-07-28 16:54:03 -04:00
Brandon Rising
8935ae0ea3
Fix issues caused by merge
2023-07-28 14:00:32 -04:00
ZachNagengast
31e5f4bb0e
Merge branch 'main' into set-timestep-mps-fix
2023-07-28 08:58:12 -07:00
ZachNagengast
2164674b01
Black format
2023-07-28 07:49:29 -07:00
blessedcoolant
8f2a646286
fix: Lint errors
2023-07-29 02:37:59 +12:00
blessedcoolant
5ff4dd26bb
fix: Concat Link Styling
2023-07-29 02:30:10 +12:00
Lincoln Stein
e342ca872f
fix to work on non-MPS systems
2023-07-28 10:27:49 -04:00
Brandon Rising
a2aa66f43a
Run Python black
2023-07-28 10:00:09 -04:00
Brandon Rising
da751da3dd
Merge branch 'main' into feat/onnx
2023-07-28 09:59:35 -04:00
Brandon Rising
2b7b3dd4ba
Run python black
2023-07-28 09:46:44 -04:00
psychedelicious
e4a2f56ad1
feat(ui): tweak link colors
...
- make the `SDXLConcatLink` icon match existing colors in light mode
- make the link toggle button accent color when active (its not super obvious but at least there is *some* visual difference for the button)
2023-07-28 19:57:05 +10:00
blessedcoolant
1df30f7260
feat: Pulse Animate SDXL Concat Link
2023-07-28 20:45:39 +12:00
blessedcoolant
14c4650801
fix: Lint Errors (returning possible null component)
2023-07-28 19:03:29 +12:00
blessedcoolant
f155b03eee
feat: New animation for Concat Link
2023-07-28 18:55:59 +12:00
ZachNagengast
ddaf753f7b
Merge branch 'set-timestep-mps-fix' of ssh://github.com/ZachNagengast/InvokeAI into set-timestep-mps-fix
2023-07-27 23:40:44 -07:00
ZachNagengast
e6d14c708c
Fix variable name
2023-07-27 23:40:23 -07:00
Millun Atluri
7f81a95b20
Merge branch 'main' into set-timestep-mps-fix
2023-07-28 16:12:07 +10:00
blessedcoolant
6a49eec606
feat: Add Concat Link Animation
...
Might remove the lines. Just pushing to save changes for now.
2023-07-28 15:01:40 +12:00
blessedcoolant
fd67b18c9a
Merge branch 'main' into unify-prompt
2023-07-28 14:48:13 +12:00
psychedelicious
9affdbbaad
chore: black
2023-07-28 11:38:52 +10:00
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