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