Mary Hipp
d87cce9174
Merge branch 'maryhipp/trigger-phrases-main' of https://github.com/invoke-ai/InvokeAI into maryhipp/trigger-phrases-main
2024-03-04 14:56:55 -05:00
Mary Hipp
6ae33f2a21
make trigger phrases a list of options and add lora name as description to appear in dropdown
2024-03-04 14:56:37 -05:00
maryhipp
7541ec5dd1
ruff
2024-03-04 12:18:09 -05:00
Mary Hipp
5284ba1812
fix type error
2024-03-04 12:14:16 -05:00
Mary Hipp
ff3067476e
check if lora is enabled before adding trigger phrases
2024-03-04 12:10:58 -05:00
Mary Hipp
641eefa4a1
use a listener to recalculate trigger phrases when model or lora list changes
2024-03-04 12:08:41 -05:00
Mary Hipp
62f6c0a7fa
only show trigger phrase settings on main and lora
2024-03-04 12:08:23 -05:00
Mary Hipp
79a9567119
Merge remote-tracking branch 'origin/main' into maryhipp/trigger-phrases-main
2024-03-04 09:46:02 -05:00
Mary Hipp Rogers
8b34f5298c
Default model settings ( #5850 )
...
* UI in MM to create trigger phrases
* add scheduler and vaePrecision to config
* UI for configuring default settings for models'
* hook MM default model settings up to API
* add button to set default settings in parameters
* pull out trigger phrases
* back-end for default settings
* lint
* remove log;
gi
* ruff
* ruff format
---------
Co-authored-by: Mary Hipp <maryhipp@Marys-MacBook-Air.local>
2024-03-04 09:39:03 -05:00
Brandon Rising
893bcd16fc
Next: Allow in place local installs of models
2024-03-04 23:11:41 +11:00
Ryan Dick
f6028a4c61
Log a stack trace for invocation errors.
2024-03-04 23:01:56 +11:00
Hosted Weblate
264aee3ffa
translationBot(ui): update translation files
...
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/
Translation: InvokeAI/Web UI
2024-03-04 21:39:46 +11:00
Riccardo Giovanetti
4deb60f365
translationBot(ui): update translation (Italian)
...
Currently translated at 98.0% (1442 of 1470 strings)
Co-authored-by: Riccardo Giovanetti <riccardo.giovanetti@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/it/
Translation: InvokeAI/Web UI
2024-03-04 21:39:46 +11:00
B N
f2d5fb176f
translationBot(ui): update translation (German)
...
Currently translated at 80.4% (1183 of 1470 strings)
Co-authored-by: B N <berndnieschalk@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/de/
Translation: InvokeAI/Web UI
2024-03-04 21:39:46 +11:00
Mary Hipp
94005b5501
add button to navigate to model manager if tab is enabled
2024-03-03 19:50:50 -05:00
Mary Hipp
02dc1a8780
consolidate tabs for main model and concepts in generation panel
2024-03-03 19:50:50 -05:00
Wubbbi
ef958568ac
Update Transformers 4.37.2 -> 4.38.2
2024-03-03 19:41:33 -05:00
dunkeroni
48e323d887
docs: added both create mask nodes to defaultNodes
2024-03-03 12:58:47 -05:00
dunkeroni
735857479d
fix(canvas): use corrected mask for pasteback
2024-03-03 12:58:47 -05:00
psychedelicious
2f372d9b18
tests(mm): update tests to reflect using UUID for key
2024-03-03 14:32:14 +11:00
psychedelicious
554d175792
feat(mm): improved model hash class
...
- Use memory view for hashlib algorithms (closer to python 3.11's filehash API in hashlib)
- Remove `sha1_fast` (realized it doesn't even hash the whole file, it just does the first block)
- Add support for custom file filters
- Update docstrings
- Update tests
2024-03-03 14:32:14 +11:00
psychedelicious
ae99428883
fix(mm): use UUIDv4 for key
...
This changes the functionality of this PR to only use the updated hashing for model hashes with a UUID for the key.
2024-03-03 14:32:14 +11:00
psychedelicious
863ce00712
tests(mm): add tests for ModelHash
2024-03-03 14:32:14 +11:00
psychedelicious
86982f3059
feat(mm): make ModelHash instantiatable, taking an algorithm as arg
2024-03-03 14:32:14 +11:00
psychedelicious
ec8ed530a7
feat(mm): modularize ModelHash to facilitate testing
2024-03-03 14:32:14 +11:00
psychedelicious
982076d7d7
feat(mm): add hashing algos to ModelHash
...
- Some algos are slow, so it is now just called ModelHash
- Added all hashlib algos, plus BLAKE3 and the fast (but incorrect) SHA1 algo
2024-03-03 14:32:14 +11:00
psychedelicious
2e4672f931
feat(mm): make hash.py a script for testing
2024-03-03 14:32:14 +11:00
psychedelicious
908e915a71
feat(mm): use blake3 for hashing
2024-03-03 14:32:14 +11:00
Lincoln Stein
a72056e0df
make model key assignment deterministic
...
- When installing, model keys are now calculated from the model contents.
- .safetensors, .ckpt and other single file models are hashed with sha1
- The contents of diffusers directories are hashed using imohash (faster)
fixup yaml->sql db migration script to assign deterministic key
- this commit also detects and assigns the correct image encoder for
ip adapter models.
2024-03-03 14:32:14 +11:00
Ryan Dick
d8d7ddf43a
Remove attention map saving ( #5845 )
...
## What type of PR is this? (check all applicable)
- [x] Refactor
- [ ] Feature
- [ ] Bug Fix
- [ ] Optimization
- [ ] Documentation Update
- [ ] Community Node Submission
## Have you discussed this change with the InvokeAI team?
- [x] Yes
- [ ] No, because
## Description
Attention map saving was a feature that existed a long time ago in
Invoke (>1 year ago). This PR strips out a bunch of dead code that still
remains from that feature and is polluting our diffusion implementation.
This change should not have any functional effect on the app.
## QA Instructions, Screenshots, Recordings
I did a quick smoke test of SD and SDXL image generation. All of the
deleted code was unused, so the risk should be relatively low.
## Merge Plan
- [x] Change target branch to `main` before merging.
## Added/updated tests?
- [ ] Yes
- [x] No: This PR just deletes a bunch of unused code.
2024-03-02 11:15:25 -05:00
Mary Hipp
393b194059
lint fix
2024-03-02 08:35:51 -05:00
Mary Hipp
e0a03f8fd7
cleanup
2024-03-02 08:35:51 -05:00
Mary Hipp
948ac0a1b5
adapt embedding popover to work for trigger phrases also
2024-03-02 08:35:51 -05:00
maryhipp
600b4c6a90
what have i done
2024-03-02 08:35:51 -05:00
maryhipp
6fff7de2ab
cleanup
2024-03-02 08:35:51 -05:00
maryhipp
a13dce18c7
fix merge
2024-03-02 08:35:51 -05:00
Mary Hipp
8e633d02be
UI in MM to create trigger phrases
2024-03-02 08:35:51 -05:00
Ryan Dick
cc45007dc4
Remove unused code for attention map saving.
2024-03-02 08:25:41 -05:00
Ryan Dick
73bec56c59
Delete unused functions from shared_invokeai_diffusion.py.
2024-03-02 08:25:41 -05:00
psychedelicious
f8b54930f0
docs: update RELEASE.md
2024-03-02 08:23:49 -05:00
psychedelicious
51cc9f9466
ci: add comments to workflows
2024-03-02 08:23:49 -05:00
psychedelicious
d2ad465e96
ci: rename test matrix
...
Now python version: platform, e.g. `py3.10: linux-cpu`
This displays better in GH actions.
2024-03-02 08:23:49 -05:00
psychedelicious
09037b7cd4
ci: add conditionals for jobs based on dispatch/call
2024-03-02 08:23:49 -05:00
psychedelicious
b2a850b5ea
ci: rename jobs, remove extraneous needs in release
2024-03-02 08:23:49 -05:00
psychedelicious
3ba5c2b0b4
ci: split build job
2024-03-02 08:23:49 -05:00
psychedelicious
06fc6ccfe5
ci: workflow & job names
2024-03-02 08:23:49 -05:00
psychedelicious
0c6b0cfdab
ci: tidy pr labeler labels
2024-03-02 08:23:49 -05:00
psychedelicious
eef3373799
ci: fix workflows
...
Do not split up "on change" and "do the thing". Less convoluted, no catch-22 with required checks for PRs.
2024-03-02 08:23:49 -05:00
Ryan Dick
6935830f99
Remove unused constructor declared with typo in name: __int__.
2024-03-01 15:12:03 -05:00
Ryan Dick
7651eeea8d
Merge sequential conditioning and cac conditioning logic to eliminate a bunch of duplication.
2024-03-01 15:12:03 -05:00